Skip to content

Commit

Permalink
v0.7.11
Browse files Browse the repository at this point in the history
  • Loading branch information
Nelson-numerical-software committed Nov 29, 2023
1 parent 785b887 commit afeec59
Show file tree
Hide file tree
Showing 51 changed files with 70,241 additions and 17 deletions.
2 changes: 1 addition & 1 deletion en/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
![banner](banner_homepage.png)

### Nelson 0.7.10.0
### Nelson 0.7.11.0

This is an pre-release of Nelson.

Expand Down
35 changes: 23 additions & 12 deletions en/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,9 @@
- [rdivide](./operators/rdivide.md)
- [shortcutand](./operators/shortcutand.md)
- [shortcutor](./operators/shortcutor.md)
- [subsasgn](./operators/subsasgn.md)
- [subsindex](./operators/subsindex.md)
- [subsref](./operators/subsref.md)
- [mtimes](./operators/times.md)
- [transpose](./operators/transpose.md)
- [uminus](./operators/uminus.md)
Expand All @@ -353,6 +355,7 @@
- [circshift](./elementary_functions/circshift.md)
- [complex](./elementary_functions/complex.md)
- [conj](./elementary_functions/conj.md)
- [deal](./elementary_functions/deal.md)
- [dec2base](./elementary_functions/dec2base.md)
- [dec2bin](./elementary_functions/dec2bin.md)
- [dec2hex](./elementary_functions/dec2hex.md)
Expand Down Expand Up @@ -420,6 +423,7 @@
- [sqrt](./elementary_functions/sqrt.md)
- [squeeze](./elementary_functions/squeeze.md)
- [sub2ind](./elementary_functions/sub2ind.md)
- [substruct](./elementary_functions/substruct.md)
- [swapbytes](./elementary_functions/swapbytes.md)
- [toeplitz](./elementary_functions/toeplitz.md)
- [tril](./elementary_functions/tril.md)
Expand All @@ -441,18 +445,6 @@
- [sort](./data_analysis/sort.md)
- [sum](./data_analysis/sum.md)

- [special_functions](./special_functions/README.md)

- [betainc](./special_functions/betainc.md)
- [cross](./special_functions/cross.md)
- [dot](./special_functions/dot.md)
- [factor](./special_functions/factor.md)
- [gamma](./special_functions/gamma.md)
- [gcd](./special_functions/gcd.md)
- [interp1](./special_functions/interp1.md)
- [peaks](./special_functions/peaks.md)
- [primes](./special_functions/primes.md)

- [trigonometric_functions](./trigonometric_functions/README.md)

- [acos](./trigonometric_functions/acos.md)
Expand Down Expand Up @@ -592,6 +584,18 @@
- [slicot_tb01id](./slicot/slicot_tb01id.md)
- [slicot_tg01ad](./slicot/slicot_tg01ad.md)

- [special_functions](./special_functions/README.md)

- [betainc](./special_functions/betainc.md)
- [cross](./special_functions/cross.md)
- [dot](./special_functions/dot.md)
- [factor](./special_functions/factor.md)
- [gamma](./special_functions/gamma.md)
- [gcd](./special_functions/gcd.md)
- [interp1](./special_functions/interp1.md)
- [peaks](./special_functions/peaks.md)
- [primes](./special_functions/primes.md)

- [fftw](./fftw/README.md)

- [FFTW License](./fftw/About_FFTW_license.md)
Expand Down Expand Up @@ -799,6 +803,7 @@
- [autumn](./graphics/autumn.md)
- [axes](./graphics/axes.md)
- [axis](./graphics/axis.md)
- [bar](./graphics/bar.md)
- [bone](./graphics/bone.md)
- [cla](./graphics/cla.md)
- [clf](./graphics/clf.md)
Expand All @@ -813,12 +818,14 @@
- [cylinder](./graphics/cylinder.md)
- [drawnow](./graphics/drawnow.md)
- [figure](./graphics/figure.md)
- [fill](./graphics/fill.md)
- [gca](./graphics/gca.md)
- [gcf](./graphics/gcf.md)
- [gray](./graphics/gray.md)
- [grid](./graphics/grid.md)
- [groot](./graphics/groot.md)
- [hggroup](./graphics/hggroup.md)
- [hist](./graphics/hist.md)
- [hold](./graphics/hold.md)
- [hot](./graphics/hot.md)
- [image](./graphics/image.md)
Expand All @@ -840,6 +847,7 @@
- [parula](./graphics/parula.md)
- [patch](./graphics/patch.md)
- [pcolor](./graphics/pcolor.md)
- [pie](./graphics/pie.md)
- [pink](./graphics/pink.md)
- [plot](./graphics/plot.md)
- [plot3](./graphics/plot3.md)
Expand All @@ -848,11 +856,14 @@
- [rgbplot](./graphics/rgbplot.md)
- [ribbon](./graphics/ribbon.md)
- [saveas](./graphics/saveas.md)
- [scatter](./graphics/scatter.md)
- [semilogx](./graphics/semilogx.md)
- [semilogy](./graphics/semilogy.md)
- [sphere](./graphics/sphere.md)
- [spring](./graphics/spring.md)
- [spy](./graphics/spy.md)
- [stairs](./graphics/stairs.md)
- [stem](./graphics/stem.md)
- [subplot](./graphics/subplot.md)
- [summer](./graphics/summer.md)
- [surf](./graphics/surf.md)
Expand Down
35 changes: 35 additions & 0 deletions en/changelogs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,41 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## 0.7.11 (2023-11-29)

### Added

- `hist` Histogram plot.
- `bar` Bar graph.
- `scatter` Scatter plot.
- `stem` Plot discrete sequence data.
- `stairs` Stairstep graph.
- `fill` 2-D patch.
- `pie` legacy pie chart.
- `subsref` Subscripted reference.
- `subsasgn` Redefine subscripted assignment.
- `substruct` Create structure argument for subsasgn or subsref.
- `deal` Distribute inputs to outputs.
- Intel compiler support.

### Changed

- axis limits recalculate with `hggroup`.
- `axes` forces focus on current axe.
- function_handle parenthese precedence.
- `patch` and `fill` manages `FaceAlpha`.
- visibility title and labels.
- object constructor must be in '@' directory and no more in parent directory (compatibility).
- `subsref`, `subsasgn` compatibility with `substruct`.
- To display a percent sign, you need to use a double percent sign (%%) in the format string (compatibility).
- French translation updated (100%, Thanks to weblate contributors)
- [#997](http://github.com/Nelson-numerical-software/nelson/issues/997) Macos BigSur Github CI support removed.
- Qt 6.6.1 on win64 CI build.

### Fixed

- `A = []; A(false) = zeros(3, 0)` did not return an empty matrix but an error.

## 0.7.10 (2023-10-27)

### Added
Expand Down
2 changes: 2 additions & 0 deletions en/elementary_functions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ elementary functions
- [circshift](circshift.md) - Circular shift
- [complex](complex.md) - Creates an complex number.
- [conj](conj.md) - Complex conjugate
- [deal](deal.md) - Distribute inputs to outputs.
- [dec2base](dec2base.md) - Convert decimal number to another base.
- [dec2bin](dec2bin.md) - Convert decimal number to base 2.
- [dec2hex](dec2hex.md) - Convert decimal number to base 16.
Expand Down Expand Up @@ -84,6 +85,7 @@ elementary functions
- [sqrt](sqrt.md) - Square root.
- [squeeze](squeeze.md) - Remove dimensions of length 1.
- [sub2ind](sub2ind.md) - Matrix subscript values to linear index
- [substruct](substruct.md) - Create structure argument for subsasgn or subsref
- [swapbytes](swapbytes.md) - Swap byte ordering.
- [toeplitz](toeplitz.md) - Toeplitz matrix
- [tril](tril.md) - Lower triangular part of matrix
Expand Down
2 changes: 2 additions & 0 deletions en/elementary_functions/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- [circshift](circshift.md)
- [complex](complex.md)
- [conj](conj.md)
- [deal](deal.md)
- [dec2base](dec2base.md)
- [dec2bin](dec2bin.md)
- [dec2hex](dec2hex.md)
Expand Down Expand Up @@ -77,6 +78,7 @@
- [sqrt](sqrt.md)
- [squeeze](squeeze.md)
- [sub2ind](sub2ind.md)
- [substruct](substruct.md)
- [swapbytes](swapbytes.md)
- [toeplitz](toeplitz.md)
- [tril](tril.md)
Expand Down
60 changes: 60 additions & 0 deletions en/elementary_functions/deal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# deal

Distribute inputs to outputs.

## Syntax

- [R1, ... , Rn] = deal(A1, ... , An)
- [R1, ... , Rn] = deal(A)

## Input argument

- A1, ... , An - variables

## Output argument

- R1, ... , Rn - variables

## Description

<p><b>deal</b> replicates the input parameters to the corresponding output parameters.</p>
<p>If a singular input parameter is provided, its value will be duplicated across all outputs.</p>

## Examples

```matlab
[A1, A2, A3] = deal(pi)
```

```matlab
S = [];
S.A = [];
S(2).A = [];
S(3).A = [];
A1 = 200;
A2 = 'fifo';
A3 = 1:11;
[S.A] = deal(A1, A2, A3)
```

```matlab
C = cell(1,3)
A1 = 200;
A2 = 'fifo';
A3 = 1:11;
[C{:}] = deal(A1, A2, A3)
```

## See also

[cell](../data_structures/cell.md), [struct](struc.html).

## History

| Version | Description |
| ------- | --------------- |
| 1.0.0 | initial version |

## Author

Allan CORNET
37 changes: 37 additions & 0 deletions en/elementary_functions/substruct.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# substruct

Create structure argument for subsasgn or subsref

## Syntax

- S = substruct(type1, subs1, type2, subs2, ...)

## Description

<p><b>S = substruct(type1, subs1, type2, subs2, ...)</b> generates a structure containing fields necessary for an overloaded <b>subsref</b> or <b>subsasgn</b> method.</p>
<p>Each type char vector is limited to '.', '()', or '{}'.</p>
<p>The associated subs argument should be a field name (for the '.' type) or a cell array containing index vectors (for the '()' or '{}' types).</p>

## Example

```matlab
S = struct('field1', 10, 'field2', 'Hello', 'field3', [1, 2, 3]);
% Create a substruct for accessing the 'field2'
s = substruct('.', 'field2');
% Use subsref to get the value of 'field2'
value = subsref(S, s);
```

## See also

[subsref](../operators/subsref.md), [subsasgn](../operators/subsasgn.md).

## History

| Version | Description |
| ------- | --------------- |
| 1.0.0 | initial version |

## Author

Allan CORNET
7 changes: 7 additions & 0 deletions en/graphics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ graphics functions
- [autumn](autumn.md) - Autumn colormap array.
- [axes](axes.md) - Create cartesian axes.
- [axis](axis.md) - Set axis limits and aspect ratios.
- [bar](bar.md) - Bar graph.
- [bone](bone.md) - Bone colormap array.
- [cla](cla.md) - Clear axes.
- [clf](clf.md) - Clear figure.
Expand All @@ -24,12 +25,14 @@ graphics functions
- [cylinder](cylinder.md) - Create cylinder.
- [drawnow](drawnow.md) - Update figures and process callbacks
- [figure](figure.md) - Creates an figure window.
- [fill](fill.md) - Create filled 2-D patches.
- [gca](gca.md) - get current axes graphics object.
- [gcf](gcf.md) - get current figure graphics object.
- [gray](gray.md) - Gray colormap array.
- [grid](grid.md) - Display or hide axes grid lines.
- [groot](groot.md) - graphic root object.
- [hggroup](hggroup.md) - Create group object.
- [hist](hist.md) - Histogram plot.
- [hold](hold.md) - Retain current plot when adding new plots.
- [hot](hot.md) - Hot colormap array.
- [image](image.md) - Display image from array.
Expand All @@ -51,6 +54,7 @@ graphics functions
- [parula](parula.md) - Parula colormap array.
- [patch](patch.md) - Create patches of colored polygons
- [pcolor](pcolor.md) - Pseudocolor plot.
- [pie](pie.md) - Legacy pie chart.
- [pink](pink.md) - Pink colormap array.
- [plot](plot.md) - Linear 2-D plot.
- [plot3](plot3.md) - 3-D line plot.
Expand All @@ -59,11 +63,14 @@ graphics functions
- [rgbplot](rgbplot.md) - Plot colormap.
- [ribbon](ribbon.md) - Ribbon plot.
- [saveas](saveas.md) - Save figure to specific file format.
- [scatter](scatter.md) - Scatter plot.
- [semilogx](semilogx.md) - Semilog plot (x-axis has log scale).
- [semilogy](semilogy.md) - Semilog plot (y-axis has log scale).
- [sphere](sphere.md) - Create sphere.
- [spring](spring.md) - Spring colormap array.
- [spy](spy.md) - Visualize sparsity pattern of matrix.
- [stairs](stairs.md) - Stairstep graph.
- [stem](stem.md) - Plot discrete sequence data.
- [subplot](subplot.md) - Create axes in tiled positions.
- [summer](summer.md) - Summer colormap array.
- [surf](surf.md) - surface plot.
Expand Down
7 changes: 7 additions & 0 deletions en/graphics/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
- [autumn](autumn.md)
- [axes](axes.md)
- [axis](axis.md)
- [bar](bar.md)
- [bone](bone.md)
- [cla](cla.md)
- [clf](clf.md)
Expand All @@ -17,12 +18,14 @@
- [cylinder](cylinder.md)
- [drawnow](drawnow.md)
- [figure](figure.md)
- [fill](fill.md)
- [gca](gca.md)
- [gcf](gcf.md)
- [gray](gray.md)
- [grid](grid.md)
- [groot](groot.md)
- [hggroup](hggroup.md)
- [hist](hist.md)
- [hold](hold.md)
- [hot](hot.md)
- [image](image.md)
Expand All @@ -44,6 +47,7 @@
- [parula](parula.md)
- [patch](patch.md)
- [pcolor](pcolor.md)
- [pie](pie.md)
- [pink](pink.md)
- [plot](plot.md)
- [plot3](plot3.md)
Expand All @@ -52,11 +56,14 @@
- [rgbplot](rgbplot.md)
- [ribbon](ribbon.md)
- [saveas](saveas.md)
- [scatter](scatter.md)
- [semilogx](semilogx.md)
- [semilogy](semilogy.md)
- [sphere](sphere.md)
- [spring](spring.md)
- [spy](spy.md)
- [stairs](stairs.md)
- [stem](stem.md)
- [subplot](subplot.md)
- [summer](summer.md)
- [surf](surf.md)
Expand Down
Loading

0 comments on commit afeec59

Please sign in to comment.