Skip to content

Commit e239e25

Browse files
v0.5.5 help files
1 parent 3f635ea commit e239e25

100 files changed

Lines changed: 1473 additions & 558 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

en/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
![banner](banner_homepage.png)
22

3-
### Nelson 0.5.4.0
3+
### Nelson 0.5.5.0
44

55
This is an pre-release of Nelson.
66

en/SUMMARY.md

Lines changed: 57 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -123,25 +123,56 @@
123123
* [usermodulesdir](./modules_manager/usermodulesdir.md)
124124

125125

126+
* [operators](./operators/README.md)
127+
* [all](./operators/all.md)
128+
* [and](./operators/and.md)
129+
* [any](./operators/any.md)
130+
* [colon](./operators/colon.md)
131+
* [ctranspose](./operators/ctranspose.md)
132+
* [eq](./operators/eq.md)
133+
* [ge](./operators/ge.md)
134+
* [gt](./operators/gt.md)
135+
* [horzcat](./operators/horzcat.md)
136+
* [ismember](./operators/ismember.md)
137+
* [ldivide](./operators/ldivide.md)
138+
* [le](./operators/le.md)
139+
* [lt](./operators/lt.md)
140+
* [minus](./operators/minus.md)
141+
* [mldivide](./operators/mldivide.md)
142+
* [mpower](./operators/mpower.md)
143+
* [mrdivide](./operators/mrdivide.md)
144+
* [mtimes](./operators/mtimes.md)
145+
* [ne](./operators/ne.md)
146+
* [not](./operators/not.md)
147+
* [or](./operators/or.md)
148+
* [plus](./operators/plus.md)
149+
* [power](./operators/power.md)
150+
* [rdivide](./operators/rdivide.md)
151+
* [shortcutand](./operators/shortcutand.md)
152+
* [shortcutor](./operators/shortcutor.md)
153+
* [subsindex](./operators/subsindex.md)
154+
* [mtimes](./operators/times.md)
155+
* [transpose](./operators/transpose.md)
156+
* [uminus](./operators/uminus.md)
157+
* [uplus](./operators/uplus.md)
158+
* [vertcat](./operators/vertcat.md)
159+
160+
126161
* [elementary_functions](./elementary_functions/README.md)
127162
* [abs](./elementary_functions/abs.md)
128-
* [and](./elementary_functions/and.md)
129163
* [angle](./elementary_functions/angle.md)
130164
* [base2dec](./elementary_functions/base2dec.md)
131165
* [bin2dec](./elementary_functions/bin2dec.md)
132166
* [bin2num](./elementary_functions/bin2num.md)
133167
* [cast](./elementary_functions/cast.md)
134168
* [ceil](./elementary_functions/ceil.md)
135169
* [circshift](./elementary_functions/circshift.md)
136-
* [colon](./elementary_functions/colon.md)
137170
* [complex](./elementary_functions/complex.md)
138171
* [conj](./elementary_functions/conj.md)
139-
* [ctranspose](./elementary_functions/ctranspose.md)
140172
* [dec2base](./elementary_functions/dec2base.md)
141173
* [dec2bin](./elementary_functions/dec2bin.md)
142174
* [dec2hex](./elementary_functions/dec2hex.md)
143175
* [disp](./elementary_functions/disp.md)
144-
* [eq](./elementary_functions/eq.md)
145176
* [exp](./elementary_functions/exp.md)
146177
* [factorial](./elementary_functions/factorial.md)
147178
* [find](./elementary_functions/find.md)
@@ -151,10 +182,7 @@
151182
* [fliplr](./elementary_functions/fliplr.md)
152183
* [flipud](./elementary_functions/flipud.md)
153184
* [floor](./elementary_functions/floor.md)
154-
* [ge](./elementary_functions/ge.md)
155-
* [gt](./elementary_functions/gt.md)
156185
* [hex2dec](./elementary_functions/hex2dec.md)
157-
* [horzcat](./elementary_functions/horzcat.md)
158186
* [imag](./elementary_functions/imag.md)
159187
* [isapprox](./elementary_functions/isapprox.md)
160188
* [istriu](./elementary_functions/isdiag.md)
@@ -168,57 +196,36 @@
168196
* [istril](./elementary_functions/istril.md)
169197
* [istriu](./elementary_functions/istriu.md)
170198
* [isvector](./elementary_functions/isvector.md)
171-
* [ldivide](./elementary_functions/ldivide.md)
172-
* [le](./elementary_functions/le.md)
173199
* [length](./elementary_functions/length.md)
174200
* [linspace](./elementary_functions/linspace.md)
175201
* [log](./elementary_functions/log.md)
176202
* [log10](./elementary_functions/log10.md)
177203
* [log1p](./elementary_functions/log1p.md)
178204
* [log2](./elementary_functions/log2.md)
179205
* [logspace](./elementary_functions/logspace.md)
180-
* [lt](./elementary_functions/lt.md)
181206
* [magic](./elementary_functions/magic.md)
182207
* [max](./elementary_functions/max.md)
183208
* [min](./elementary_functions/min.md)
184209
* [minus](./elementary_functions/minus.md)
185-
* [mldivide](./elementary_functions/mldivide.md)
186210
* [mod](./elementary_functions/mod.md)
187-
* [mpower](./elementary_functions/mpower.md)
188-
* [mrdivide](./elementary_functions/mrdivide.md)
189-
* [mtimes](./elementary_functions/mtimes.md)
190211
* [ndims](./elementary_functions/ndims.md)
191-
* [ne](./elementary_functions/ne.md)
192212
* [norm](./elementary_functions/norm.md)
193-
* [not](./elementary_functions/not.md)
194213
* [num2bin](./elementary_functions/num2bin.md)
195214
* [numel](./elementary_functions/numel.md)
196-
* [or](./elementary_functions/or.md)
197-
* [plus](./elementary_functions/plus.md)
198-
* [power](./elementary_functions/power.md)
199215
* [prod](./elementary_functions/prod.md)
200-
* [rdivide](./elementary_functions/rdivide.md)
201216
* [real](./elementary_functions/real.md)
202217
* [rem](./elementary_functions/rem.md)
203218
* [repmat](./elementary_functions/repmat.md)
204219
* [reshape](./elementary_functions/reshape.md)
205220
* [round](./elementary_functions/round.md)
206-
* [shortcutand](./elementary_functions/shortcutand.md)
207-
* [shortcutor](./elementary_functions/shortcutor.md)
208221
* [sign](./elementary_functions/sign.md)
209222
* [size](./elementary_functions/size.md)
210223
* [sort](./elementary_functions/sort.md)
211224
* [sqrt](./elementary_functions/sqrt.md)
212-
* [subsindex](./elementary_functions/subsindex.md)
213225
* [sum](./elementary_functions/sum.md)
214226
* [swapbytes](./elementary_functions/swapbytes.md)
215-
* [mtimes](./elementary_functions/times.md)
216-
* [transpose](./elementary_functions/transpose.md)
217227
* [tril](./elementary_functions/tril.md)
218228
* [triu](./elementary_functions/triu.md)
219-
* [uminus](./elementary_functions/uminus.md)
220-
* [uplus](./elementary_functions/uplus.md)
221-
* [vertcat](./elementary_functions/vertcat.md)
222229

223230

224231
* [special_functions](./special_functions/README.md)
@@ -334,8 +341,6 @@
334341

335342

336343
* [logical](./logical/README.md)
337-
* [all](./logical/all.md)
338-
* [any](./logical/any.md)
339344
* [false](./logical/false.md)
340345
* [logical](./logical/logical.md)
341346
* [true](./logical/true.md)
@@ -847,13 +852,35 @@
847852

848853

849854
* [validators](./validators/README.md)
855+
* [mustBeA](./validators/mustBeA.md)
856+
* [mustBeFile](./validators/mustBeFile.md)
850857
* [mustBeFinite](./validators/mustBeFinite.md)
851858
* [mustBeFloat](./validators/mustBeFloat.md)
852859
* [mustBeFolder](./validators/mustBeFolder.md)
860+
* [mustBeGreaterThan](./validators/mustBeGreaterThan.md)
861+
* [mustBeGreaterThanOrEqual](./validators/mustBeGreaterThanOrEqual.md)
862+
* [mustBeInRange](./validators/mustBeInRange.md)
863+
* [mustBeInteger](./validators/mustBeInteger.md)
864+
* [mustBeLessThan](./validators/mustBeLessThan.md)
865+
* [mustBeLessThanOrEqual](./validators/mustBeLessThanOrEqual.md)
853866
* [mustBeLogical](./validators/mustBeLogical.md)
854867
* [mustBeLogicalScalar](./validators/mustBeLogicalScalar.md)
868+
* [mustBeMember](./validators/mustBeMember.md)
869+
* [mustBeNonnegative](./validators/mustBeNegative.md)
870+
* [mustBeNonempty](./validators/mustBeNonempty.md)
871+
* [mustBeNonmissing](./validators/mustBeNonmissing.md)
872+
* [mustBeNonNan](./validators/mustBeNonNan.md)
873+
* [mustBeNonnegative](./validators/mustBeNonnegative.md)
874+
* [mustBeNonpositive](./validators/mustBeNonpositive.md)
875+
* [mustBeNonSparse](./validators/mustBeNonSparse.md)
876+
* [mustBeNonZero](./validators/mustBeNonZero.md)
877+
* [mustBeNonzeroLengthText](./validators/mustBeNonzeroLengthText.md)
855878
* [mustBeNumeric](./validators/mustBeNumeric.md)
879+
* [mustBeNumericOrLogical](./validators/mustBeNumericOrLogical.md)
880+
* [mustBePositive](./validators/mustBePositive.md)
881+
* [mustBeReal](./validators/mustBeReal.md)
856882
* [mustBeScalarOrEmpty](./validators/mustBeScalarOrEmpty.md)
883+
* [mustBeText](./validators/mustBeText.md)
857884
* [mustBeTextScalar](./validators/mustBeTextScalar.md)
858885
* [mustBeValidVariableName](./validators/mustBeValidVariableName.md)
859886
* [mustBeVector](./validators/mustBeVector.md)

en/changelogs/CHANGELOG.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,45 @@
1+
# 0.5.5 (2021-05-24)
2+
3+
## Features:
4+
5+
- Validators functions available from Nelson and C++ API (part 2):
6+
7+
- `mustBeFile`,
8+
- `mustBeNonempty`, `mustBeNonNan`, `mustBeNonZero`, `mustBeNonSparse`,
9+
- `mustBeA`, `mustBeReal`, `mustBeInteger`, `mustBeNonmissing`,
10+
- `mustBePositive`, `mustBeNonpositive`, `mustBeNonnegative`, `mustBeNegative`,
11+
- `mustBeGreaterThan`, `mustBeGreaterThanOrEqual`, `mustBeLessThan`,
12+
- `mustBeNumericOrLogical`, `mustBeText`, `mustBeNonzeroLengthText`,
13+
- `mustBeMember`, `mustBeInRange`.
14+
15+
- `test_run` manages `SEQUENTIAL TEST REQUIRED` and `NATIVE_ARCHITECTURE TEST REQUIRED` tags.
16+
17+
- benchs are executed sequentialy (better bench results).
18+
19+
- `all`, `any` behavior with empty matrix updated.
20+
21+
- extends `all` to manage over all elements.
22+
23+
- `ismember` builtin: Array elements that are members of another array.
24+
25+
- [#439](http://github.com/Nelson-numerical-software/nelson/issues/439): split elementary_functions module and creates operators modules.
26+
27+
## Changed:
28+
29+
- comment symbol is '%'. others previous supported comment symbol removed.
30+
31+
## Bug Fixes:
32+
33+
- [#435](http://github.com/Nelson-numerical-software/nelson/issues/435): `maxNumCompThreads` did not return number of threads but number of cores.
34+
35+
## Compilation:
36+
37+
- Move Windows build to GitHub CI. Appveyor is no more the principal build CI for Windows.
38+
39+
- [#441](http://github.com/Nelson-numerical-software/nelson/issues/441): Circle CI (ArchLinux build) fixed.
40+
41+
- [#357](http://github.com/Nelson-numerical-software/nelson/issues/357): Curl 7.76.1 on Windows.
42+
143
# 0.5.4 (2021-04-24)
244

345
## Features:

en/dynamic_link/dlcall.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ C or Fortran Foreign function call.
2929
```matlab
3030
lib = dlopen([modulepath(nelsonroot(),'dynamic_link','bin'), '/libnlsDynamic_link', getdynlibext()]);
3131
V = double([1 2;3 4]);
32-
// C prototype:
33-
// int dynlibTestMultiplyDoubleArrayWithReturn(double *x, int size)
32+
% C prototype:
33+
% int dynlibTestMultiplyDoubleArrayWithReturn(double *x, int size)
3434
f = dlsym(lib, 'dynlibTestMultiplyDoubleArrayWithReturn', 'int32', {'doublePtr', 'int32'});
3535
[r1, r2] = dlcall(f, V, int32(numel(V)))
3636
delete(f);

en/dynamic_link/dlsym.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ Loads a C/Fortran symbol for an dynamic library.
3131
```matlab
3232
lib = dlopen([modulepath(nelsonroot(),'dynamic_link','bin'), '/libnlsDynamic_link', getdynlibext()]);
3333
V = double([1 2;3 4]);
34-
// C prototype:
35-
// int dynlibTestMultiplyDoubleArrayWithReturn(double *x, int size)
34+
% C prototype:
35+
% int dynlibTestMultiplyDoubleArrayWithReturn(double *x, int size)
3636
f = dlsym(lib, 'dynlibTestMultiplyDoubleArrayWithReturn', 'int32', {'doublePtr', 'int32'});
3737
[r1, r2] = dlcall(f, V, int32(numel(V)))
3838
delete(f);

en/dynamic_link/libpointer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ lib = dlopen(path_ref);
4949
f = dlsym(lib, 'multiplicationDoubleByReference', 'libpointer', {'doublePtr'});
5050
[r1, r2] = dlcall(f, xPtr);
5151
r2
52-
// r1 is an libpointer of type '' (voidPointer) and it need to be change type and size.
52+
% r1 is an libpointer of type '' (voidPointer) and it need to be change type and size.
5353
r1.setdatatype('doublePtr');
5454
r1.reshape(1, 1);
5555
get(r1)

en/elementary_functions/README.md

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,19 @@ elementary functions
99

1010

1111
* [abs](abs.md) - Absolute value
12-
* [and](and.md) - logical 'AND' operator, &
1312
* [angle](angle.md) - Phase angle
1413
* [base2dec](base2dec.md) - Convert number in a base to decimal.
1514
* [bin2dec](bin2dec.md) - Convert number in base 2 to decimal.
1615
* [bin2num](bin2num.md) - Convert two's complement binary string to number.
1716
* [cast](cast.md) - Converts variable to a different data type
1817
* [ceil](ceil.md) - Round up
1918
* [circshift](circshift.md) - Circular shift
20-
* [colon](colon.md) - colon operator ':'.
2119
* [complex](complex.md) - Creates an complex number.
2220
* [conj](conj.md) - Complex conjugate
23-
* [ctranspose](ctranspose.md) - Returns complex conjugate transpose: ' operator.
2421
* [dec2base](dec2base.md) - Convert decimal number to another base.
2522
* [dec2bin](dec2bin.md) - Convert decimal number to base 2.
2623
* [dec2hex](dec2hex.md) - Convert decimal number to base 16.
2724
* [disp](disp.md) - Display a variable.
28-
* [eq](eq.md) - equality, == operator.
2925
* [exp](exp.md) - Exponential
3026
* [factorial](factorial.md) - Factorial function
3127
* [find](find.md) - Find Non-zero Elements
@@ -35,10 +31,7 @@ elementary functions
3531
* [fliplr](fliplr.md) - Flip order of elements left to right
3632
* [flipud](flipud.md) - Flip order of elements up to dow
3733
* [floor](floor.md) - Round down
38-
* [ge](ge.md) - greater than or equal, >= operator.
39-
* [gt](gt.md) - greater than, > operator.
4034
* [hex2dec](hex2dec.md) - Convert number in base 16 to decimal.
41-
* [horzcat](horzcat.md) - Horizontal concatenation.
4235
* [imag](imag.md) - Imaginary part of an complex number.
4336
* [isapprox](isapprox.md) - Return true if arguments are approximately equal, within the precision.
4437
* [istriu](isdiag.md) - Checks if matrix is diagonal.
@@ -52,57 +45,36 @@ elementary functions
5245
* [istril](istril.md) - Checks if matrix is lower triangular.
5346
* [istriu](istriu.md) - Checks if matrix is upper triangular.
5447
* [isvector](isvector.md) - Checks input is vector.
55-
* [ldivide](ldivide.md) - Left division, .\ operator.
56-
* [le](le.md) - less than or equal, ≤ operator.
5748
* [length](length.md) - Length of an object.
5849
* [linspace](linspace.md) - linearly spaced vector constructor.
5950
* [log](log.md) - Natural logarithm.
6051
* [log10](log10.md) - Common logarithm (base 10).
6152
* [log1p](log1p.md) - log(1 + x) accurately for small values of x.
6253
* [log2](log2.md) - dissect floating-point numbers into base 2 exponent and mantissa.
6354
* [logspace](logspace.md) - logarithmically spaced vector constructor.
64-
* [lt](lt.md) - less than, < operator.
6555
* [magic](magic.md) - Magic square
6656
* [max](max.md) - Maximum elements of an array.
6757
* [min](min.md) - Minimum elements of an array.
6858
* [minus](minus.md) - Subtraction, - operator
69-
* [mldivide](mldivide.md) - Matrix left division, \ operator.
7059
* [mod](mod.md) - Modulus after division.
71-
* [mpower](mpower.md) - Matrix power, ^ operator
72-
* [mrdivide](mrdivide.md) - Matrix right division, / operator.
73-
* [mtimes](mtimes.md) - Matrix multiplication, * operator
7460
* [ndims](ndims.md) - Number of dimensions of an array.
75-
* [ne](ne.md) - Inequality, ~= operator
7661
* [norm](norm.md) - Matrix and vector norms
77-
* [not](not.md) - not logical, ~ operator
7862
* [num2bin](num2bin.md) - Convert number to binary representation.
7963
* [numel](numel.md) - Number of elements.
80-
* [or](or.md) - logical 'OR' operator, |
81-
* [plus](plus.md) - Addition, + operator
82-
* [power](power.md) - Element wise power, .^ operator
8364
* [prod](prod.md) - Product of array elements.
84-
* [rdivide](rdivide.md) - Right division, ./ operator
8565
* [real](real.md) - Real part of an complex number.
8666
* [rem](rem.md) - Remainder after division.
8767
* [repmat](repmat.md) - Replicate and tile an array.
8868
* [reshape](reshape.md) - Reshapes a vector or a matrix to a different size matrix.
8969
* [round](round.md) - Round to nearest integer
90-
* [shortcutand](shortcutand.md) - Short circuit 'AND' operator, &&
91-
* [shortcutor](shortcutor.md) - Short circuit 'OR' operator, ||
9270
* [sign](sign.md) - Find the sign function of a number.
9371
* [size](size.md) - Size of an object.
9472
* [sort](sort.md) - Sort array elements by quick sort algorithm.
9573
* [sqrt](sqrt.md) - Square root.
96-
* [subsindex](subsindex.md) - Convert an object to an index vector.
9774
* [sum](sum.md) - Sum of array elements.
9875
* [swapbytes](swapbytes.md) - Swap byte ordering.
99-
* [mtimes](times.md) - Element wise multiplication, .* operator
100-
* [transpose](transpose.md) - Returns vector or matrix transpose: .' operator.
10176
* [tril](tril.md) - Lower triangular part of matrix
10277
* [triu](triu.md) - Upper triangular part of matrix
103-
* [uminus](uminus.md) - Unary minus, - operator
104-
* [uplus](uplus.md) - Unary plus, + operator
105-
* [vertcat](vertcat.md) - Vertical concatenation.
10678

10779

10880

0 commit comments

Comments
 (0)