HDF5 high-level functions:
Nelson in the cloud:
addition, substration, mtimes, times, power with integers reworked.
integer cast optimized.
modernize/optimize C++ with LLVM tools.
string array type added:
A = ["Nelson" "manages"; "string" "array"]
deblank builtin: removes trailing whitespace from a cell of strings, a string array or a character vectors.
ismissing builtin: search missing values.
cellstr function: converts to cell array of character vectors.
operators ==, ~=, <, >, >=, <= reworked (Compatiblity Array Sizes increased).
==, ~=, isequal: speed optimization.
internal API C++ methods renamed:
#164: operators ==, ~=, <, >, >=, <= code factorized.
#159: addpath must return an warning and not an error for an non existing path.
#157: fix warnings detected by LGTM.com.
#156: Moves dbstack in ‘debugger’ module.
Overload and speed optimization:
power element-wise operator reworked (overloading and mixed types).
colon operator reworked (overloading and mixed types).
ndarray subclass no more exists. class merged with basic type (speed optimization).
isequalto builtin added (returns true if all arguments x1, x2, … , xn are equal i.e same type, same dimensions, same values or NaNs).
tanm, sinm builtin added.
strtrim builtin: removes leading and trailing whitespace from a cell of strings or a string.
cell & struct managed for complex transpose & transpose.
for, index column or matrix: behavior changed.
Warning: It is a breaking feature.
// Please replace:
A = [1:4]';
for i = A, x = i + 1, end
// by:
A = [1:4]';
for i = A(:)', x = i + 1, end
#133: Replaced uncommon term “trinary” by “ternary”.
#119: Execution of simple expression “1+2+3” was rather slow.
#115:code about single & double operators was factorized
#114: Move gamma function in a dedicated module “special_functions”.
error manager reworked.
‘dbstack’ builtin get current instruction calling tree.
#16: lastwarn builtin (Last recorded warning message).
#15: warning builtin was extended (state and identifier added).
#152: insertion did not return expected result for empty matrix.
#138: colon operator did not return expected for non scalar element.
sqrt builtin (Square root)
log builtin (Natural logarithm)
angle function (Phase angle)
atan2 builtin (four-quadrant inverse tangent)
exp builtin (exponential)
#142: clear(‘functionName’) clears all persistent variables of functionName function.
addition, substraction reworked (Compatiblity Array Sizes increased, code factorized).
&, |, &&, || operators reworked (Compatiblity Array Sizes increased).
havecompiler uses a persistent variable to speedup result.
Nelson provides a cross-platform command-line tool written in Nelson for compiling native addon modules for Nelson. It takes away the pain of dealing with the various differences in build platforms:
helper’s functions to build C/C++ code easily on Windows, Linux, MacOS X:
detect and configure C/C++ compilers on Windows, Linux, MacOS:
On Windows:
On Linux:
MacOS X:
havecompiler function: returns if a compiler is configured.
configuremingw function: select and configure Mingw-w64 compilers.
configuremsvc function: select and configure Microsoft compilers.
loadcompilerconf function: load compiler configuration
removecompilerconf function: remove compiler configuration
vswhere function: detects easily modern Microsoft compilers.
module skeleton updated to build an example with C++ function (cpp_sum).
sprintf, fprintf functions: format data into a string or a file.
add “<–C/C++ COMPILER REQUIRED–>” tag managed by test engine.
add “<–INDEX 64 BIT REQUIRED–>” tag managed by test engine.
norm function: matrix and vectors norms.
#128: code indented with clang-format (webkit coding style)
#139: fix(1e10) returned a wrong value.
#136: Corrected predecence of Colon “:” operator.
#134: Evaluation of Non-Scalar If-Condition Expression was not managed.
#116: fix display size of big sparse matrix.
#125: cosm function was slow.
#123: addpath stopped to work after repeatedly call to the same path.
#121: home key did not work in GUI terminal on prompt.
#118: add information in DEVELOPMENT.md about how to buid Boost on old Ubuntu versions.
#109: add missing horzcat, vertcat for all handle types.
Foreign Function Interface: call C/Fortran functions that are compiled into shared libraries.
#101: allows cell_vertcat_generic & cell_horzcat_generic.
#106: update slicot url references.
#104: mpiexec did not work on some linux.
‘strlength’: length of strings in an cell of strings.
‘strrep’ and ‘replace’ builtin : replace substring in a string.
export AUDIODEV=null disables audio module (used for Travis CI)
‘xmldoctomd’ : Converts xml Nelson help files to markdown format.
‘buildhelpmd’ : Build help of Nelson’s modules for GitBook.
see Nelson’s GitBook.
#98: jsonencode was slow with a big file (> 60 Mo).
#97: fileread was slow with a big file (> 60 Mo).
#93: playblocking updated to manage range.
#92: play updated to manage range.
#90: factorize handle objects methods.
pause: pause script execution.
keyboard: stop script execution and enter in debug mode.
Audio module:
JSON module:
#89: extends fileread behavior.
‘filewrite’ builtin allows to easily write to file a string array or a cell of strings.
‘newline’ function: returns newline character i.e char(10).
ndarraychar_disp was missing.
NIG slicot uses json files.
Regenerates help files index if database is empty or wrong (>= Qt 5.9)
#87: struct did not support sparse matrix.