Releases: nelson-lang/nelson
v0.5.8
0.5.8 (2021-08-25)
Features:
-
test_run
displays 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:
inmem
help was missing. -
#464: simplify macos build (catalina & BigSur support only).
-
#499: rename
getContentAsUnsignedInt64Scalar
togetContentAsUnsignedInteger64Scalar
. -
#495: some mtimes call failed.
v0.5.7
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.
-
inmem
builtin returns names of functions, MEX-files in memory. -
mexext
builtin 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.
-
struct
behavior withfunction_handle
. -
clear
reworked to support mex in memory. -
nargin
,nargout
behavior 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.
v0.5.6
0.5.6 (2021-06-27)
BREAKING CHANGE:
Features:
-
function ... endfunction
andfunction ... end
are equivalent (increase compatibility ;). -
file extension
.m
is 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.
-
.m
is default and alone file extension.
-
-
module skeleton updated to use to
.m
extension (Please update your code) -
run
builtin can also evaluate a macro function. -
macro functions also searched in current directory.
-
parser cleaned and generated with Bison 3.7.4
-
narginchk
builtin: checks number of input arguments. -
nargoutchk
builtin: 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.
v0.5.5
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_run
managesSEQUENTIAL TEST REQUIRED
andNATIVE_ARCHITECTURE TEST REQUIRED
tags. -
benchs are executed sequentialy (better bench results).
-
all
,any
behavior with empty matrix updated. -
extends
all
to manage over all elements. -
ismember
builtin: 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:
maxNumCompThreads
did not return number of threads but number of cores.
Compilation:
v0.5.4
0.5.4 (2021-04-24)
Features:
-
Functions using SIMD extensions:
ceil
,round
,fix
,floor
,abs
,conj
,exp
,sqrt
,log1p
,log10
,log
cos
,sin
,tan
atan2
,acos
,asin
- addition, substraction, multiplication, division vectors.
-
Validators functions available from Nelson and C++ API (part 1):
mustBeLogicalScalar
,mustBeLogical
,mustBeFloat
,mustBeFinite
,mustBeScalarOrEmpty
,mustBeVector
,mustBeValidVariableName
,mustBeTextScalar
,mustBeFolder
,mustBeNumeric
.
-
system
allows to run shell command execution in parallel. -
test_run
executes on parallel process. -
extends
assert_checkerror
to check also error identifier. -
isvector
,isscalar
support overload. -
isvarname
builtin: check if input is valid variable name. -
isdir
manages string array. -
time
returns current time as the number of seconds or nanoseconds since the epoch.
Bug Fixes:
v0.5.3
0.5.3 (2021-03-24)
Features:
-
#373:
sign
builtin. -
#313:
atanh
builtin: inverse hyperbolic tangent. -
MException
comes default exception in Nelson. -
try, catch
extended to manageMException
. -
throw
,throwAsCaller
,rethrow
functions added. -
error
extended 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
mexception
toMException
Bug Fixes:
v0.5.2
0.5.2 (2021-02-27)
Features:
-
triu
builtin: Upper triangular part of matrix. -
tril
builtin: Lower triangular part of matrix. -
istriu
checks 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.
v0.5.1
0.5.1 (2021-01-30)
-
qt_version
builtin: returns the version number of Qt at run-time. -
qt_constant
builtin: returns value of an Qt constant. -
#374:
num2str
builtin: converts numbers to character array.
Bug Fixes:
-
#388: Windows x64 build failed (elementary_functions module was too big).
-
#385:
corrcoef
,mean
,var
,cov
moved 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.
v0.4.12
0.4.12 (2020-12-30)
-
eig
builtin: Eigenvalues and eigenvectors. -
det
builtin: Matrix determinant. -
gcd
builtin: Greatest common divisor. -
find
builtin: Find indices and values of nonzero elements. -
ishermitian
builtin: Checks if an matrix is hermitian or skew-hermitian. -
strcat
builtin: concatenate strings horizontally. -
append
builtin: combine strings horizontally. -
corrcoef
function: correlation coefficients. -
cov
function: covariance. -
var
builtin: variance. -
magic
function: magic square. -
mpower
builtin: matrix support added. -
fft
is faster: plan was not correctly cached. -
|
,&
,./
and.^
operators are faster. -
inv
is faster. -
extends
fullfile
compatibility with string type. -
extends
assert_isequal
,isequal
to manage missing type. -
extends
issymmetric
to manage boolean type.
Bug Fixes:
-
#364:
isinf
,isnan
,conj
,double
,single
,real
,imag
are faster. -
#361:
abs
is faster. -
#360:
ctranpose
andtranspose
are faster. -
#353:
N = i; N(1)
returned wrong value. -
#351: binary operators and empty matrix (behavior described in book of Carl de Boor in An Empty Exercise)
Compilation:
- Qt 5.15.2 on Windows (AppVeyor CI).
v0.4.11
0.4.11 (2020-11-24)
-
Nelson Engine API for C (compatible with MEX Engine 100%).
- engSetVisible,
- engGetVisible,
- engEvalString,
- engOutputBuffer.
-
sha256
builtin: get sha256 checksum of a file or a string. -
ipc
extended withminimize
argument. -
fullfile
builtin: build full file name from parts.
Bug Fixes:
-
#342: disable slicot on Macos CI.
-
#341: extend
ipc(pid, 'post', cmd, scope)
to manage scope destination. -
#314: Nelson crashs randomly at exit with Qt 5.15.0
Compilation:
- Qt 5.15.1 on Windows (AppVeyor CI).