0.5.12 (2021-12-31)
Added
hankelfunction: Hankel matrix.factorfunction: Prime factors.primesfunction: Prime numbers less than or equal to input value.isrowfunction: Determine whether input is row vector.iscolumnfunction: Determine whether input is column vector.
Fixed
-
#544: add
folderfieldname todiroutput. -
#541: common class between two elements for operators, horzcat and vertcat.
Compilation
-
Boost 1.78 support (default on Windows).
-
CMake 3.22.1 (on Windows).
0.5.11 (2021-11-26)
Added
hilbfunction: Hilbert matrix.invhilbfunction: Inverse of Hilbert matrix.condfunction: Condition number for inversion.rankfunction: Rank of matrix.ismatrixfunction: Determines whether input is matrix.squeezefunction: Removes dimensions of length 1.speyefunction: Sparse identity matrix.randpermfunction: Random permutation.catfunction: Concatenate arrays.SECURITY.mdfile as recommended by Github.
Fixed
vercat,horzcatreturns an empty array whose size is equal to the output size as when the inputs are nonempty.- #533:
findwith one lhs did not return expected result with complex. - #536:
test_websave_3failed randomly due to distant server.
0.5.10 (2021-10-30)
-
Polynomial functions:
poly: Polynomial with specified roots or characteristic polynomial.roots: Polynomial roots.polyval: Polynomial evaluation.polyvalm: Matrix polynomial evaluation.polyint: Polynomial integration.polyfit: Polynomial curve fitting.polyder: Polynomial differentiation.
-
pinv: Moore-Penrose pseudoinverse. -
#520:
inputnameget variable name of function input. -
#525: use
fast_floatlibrary to parse numbers . -
#528: Assignment in cell did not work in this case
[c{:}] = ind2sub (dv, i) -
#534:
diag(ones(0, 1), -1)did not return zero as result.
0.5.9 (2021-09-29)
-
leapyearfunction: determine leap year. -
meshgridfunction: Cartesian rectangular grid in 2-D or 3-D. -
sub2indfunction: linear index to matrix subscript values. -
ind2subfunction: matrix subscript values to linear index. -
#518:
isStringScalarchecks if input is string array with one element. -
#516:
ind = 2; ind(false)logical extraction on scalar should return empty matrix. -
#514:
C{3} = 4should create a cell with good dimensions. -
#512: Assign must not change left assign type when it is possible.
-
#509: horzcat vertcat generic support for class object.
-
#508: Change default seed for 'rand' with Mersenne Twister algo.
-
#506: Modernize windows installer style.
Compilation:
0.5.8 (2021-08-25)
Features:
-
test_rundisplays errors with file and line number. -
CTRL-C throws an error.
-
some warnings detected by LGTM or VS fixed.
-
allows .m file empty to be called.
-
#477: update files watcher algo.
-
#489: display builtin and associated overload.
-
#490: update default prompt.
Bug Fixes:
-
#480: publisher name updated for windows installer.
-
#483: extern modules no more build if boost not available.
-
#486:
inmemhelp was missing. -
#464: simplify macos build (catalina & BigSur support only).
-
#499: rename
getContentAsUnsignedInt64ScalartogetContentAsUnsignedInteger64Scalar. -
#495: some mtimes call failed.
0.5.7 (2021-07-24)
Features:
-
macros in memory reworked to support also MEX.
-
C MEX compatibility, load and build fully compatible with other softwares.
-
inmembuiltin returns names of functions, MEX-files in memory. -
mexextbuiltin returns binary MEX file-name extension. -
main function in .m no more require to be the first in file.
-
checks in the .m function that other local function names are not duplicated.
-
.m timestamp checked if
addpath(...,'-frozen')is not enabled. -
function_handle reworked to have an compatible behavior.
-
structbehavior withfunction_handle. -
clearreworked to support mex in memory. -
nargin,nargoutbehavior with mex updated. -
#474:
exist: extended to manage mex function. -
#449:
conv2: 2-D convolution andconv: Convolution and polynomial multiplication.
Bug Fixes:
- #468: A(':') = [] was not managed.
0.5.6 (2021-06-27)
BREAKING CHANGE:
Features:
-
function ... endfunctionandfunction ... endare equivalent (increase compatibility ;). -
file extension
.mis managed by Nelson.-
About compatibility: scripts and functions developed with Nelson should work with other tools managing .m files. The reciprocal is not necessarily true.
-
.mis default and alone file extension.
-
-
module skeleton updated to use to
.mextension (Please update your code) -
runbuiltin can also evaluate a macro function. -
macro functions also searched in current directory.
-
parser cleaned and generated with Bison 3.7.4
-
narginchkbuiltin: checks number of input arguments. -
nargoutchkbuiltin: checks number of outnput arguments. -
#448: data analysis module (Code refactoring).
Bug Fixes:
-
nmm('install', existing_module_directory)did not work as expected. -
#451: var() returns an unexpected error.
Compilation:
-
#455: M1 macOS apple native support. It works but some gui features can crash due to young Qt support on M1.
-
Update fmt library to 8.0.
0.5.5 (2021-05-24)
Features:
-
Validators functions available from Nelson and C++ API (part 2):
mustBeFile,mustBeNonempty,mustBeNonNan,mustBeNonZero,mustBeNonSparse,mustBeA,mustBeReal,mustBeInteger,mustBeNonmissing,mustBePositive,mustBeNonpositive,mustBeNonnegative,mustBeNegative,mustBeGreaterThan,mustBeGreaterThanOrEqual,mustBeLessThan,mustBeNumericOrLogical,mustBeText,mustBeNonzeroLengthText,mustBeMember,mustBeInRange.
-
test_runmanagesSEQUENTIAL TEST REQUIREDandNATIVE_ARCHITECTURE TEST REQUIREDtags. -
benchs are executed sequentialy (better bench results).
-
all,anybehavior with empty matrix updated. -
extends
allto manage over all elements. -
ismemberbuiltin: Array elements that are members of another array. -
#439: split elementary_functions module and creates operators modules.
Changed:
- comment symbol is '%'. others previous supported comment symbol removed.
Bug Fixes:
- #435:
maxNumCompThreadsdid not return number of threads but number of cores.
Compilation:
-
Move Windows build to GitHub CI. Appveyor is no more the principal build CI for Windows.
-
#441: Circle CI (ArchLinux build) fixed.
-
#357: Curl 7.76.1 on Windows.
0.5.4 (2021-04-24)
Features:
-
Validators functions available from Nelson and C++ API (part 1):
mustBeLogicalScalar,mustBeLogical,mustBeFloat,mustBeFinite,mustBeScalarOrEmpty,mustBeVector,mustBeValidVariableName,mustBeTextScalar,mustBeFolder,mustBeNumeric.
-
Functions using SIMD extensions:
ceil,round,fix,floor,abs,conj,exp,sqrt,log1p,log10,logcos,sin,tanatan2,acos,asin- addition, substraction, multiplication, division vectors.
-
systemallows to run shell command execution in parallel. -
test_runexecutes on parallel process. -
extends
assert_checkerrorto check also error identifier. -
isvector,isscalarsupport overload. -
isvarnamebuiltin: check if input is valid variable name. -
isdirmanages string array. -
timereturns current time as the number of seconds or nanoseconds since the epoch.
Bug Fixes:
0.5.3 (2021-03-24)
Features:
-
#373:
signbuiltin. -
#313:
atanhbuiltin: inverse hyperbolic tangent. -
MExceptioncomes default exception in Nelson. -
try, catchextended to manageMException. -
throw,throwAsCaller,rethrowfunctions added. -
errorextended to manage identifier. -
callstack reworks, available with
MException. -
for loop faster > x2.
-
assignment does not copy matrix.
-
reworks ArrayOfVector (internal).
-
C++ API nargincheck, nargoutcheck helpers added.
-
rename
mexceptiontoMException
Bug Fixes:
0.5.2 (2021-02-27)
Features:
-
triubuiltin: Upper triangular part of matrix. -
trilbuiltin: Lower triangular part of matrix. -
istriuchecks if matrix is upper triangular part of matrix. -
istril: checks if matrix is lower triangular part of matrix. -
isdiag: checks if matrix is diagonal.
Compilation:
-
MacOS build uses openBLAS. lapacke included in openBLAS. No more thirdparty repository required for MacOS build.
-
rename ArrayOf::getLength to ArrayOf::getElementCount method.
-
rework simple assignement.
-
add benchs about loop to identify existing bottleneck for next iteration.
-
rework loop to prepare next iteration.
0.5.1 (2021-01-30)
Features:
-
qt_versionbuiltin: returns the version number of Qt at run-time. -
qt_constantbuiltin: returns value of an Qt constant. -
#374:
num2strbuiltin: converts numbers to character array.
Bug Fixes:
-
#388: Windows x64 build failed (elementary_functions module was too big).
-
#385:
corrcoef,mean,var,covmoved in statistics module.
Compilation:
-
0.5 family (CHANGELOG)
-
Eigen 3.3.9 used.
-
libsndfile 1.0.31 on Windows.
-
libboost 1.75 on Windows.
-
fix cirle CI build.
-
#394: Upgrade socket.IO dependency to v3.0.
-
#367: add fftw_init_threads and fftw_plan_with_nthreads to MKL wrapper for FFTW.
-
#356: MKL OneAPI v2021 support.
-
#355: Qt6 support.
-
#317: uses fmtlib.