Manual, macro-processor: fix explanation for interaction between brackets and colon notation

Ref preprocessor#6

[skip ci]
time-shift
Sébastien Villemot 2019-07-03 17:44:36 +02:00
parent 5d00a4756b
commit febf248f17
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
1 changed files with 4 additions and 1 deletions

View File

@ -10360,7 +10360,10 @@ The following operators can be used on doubles:
integer array ``[1,2,3,4]``).
.. versionchanged:: 4.6
Before this change, you needed brackets around the arguments to the colon operator (e.g. ``[1:4]``)
Previously, putting brackets around the arguments to the colon
operator (e.g. ``[1:4]``) had now effect. Now, ``[1:4]`` will create
an array containing a single element, itself an array (i.e. it is
equivalent to ``[ [1, 2, 3, 4] ]``)
* Functions: ``max, min, mod, exp, log, log10, sin, cos, tan, asin, acos,
atan, sqrt, cbrt, sign, floor, ceil, trunc, erf, erfc, gamma, lgamma,
round, normpdf, normcdf``. NB ``ln`` can be used instead of ``log``