Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
parentheses
( ) left and right parenthesis
Syntax
(expression) [...]=func(e1,e2,...) [x1,x2,...]=(e1,e2,...) x(i,j) v(i) [...]=l(i)
Arguments
- x
matrix of any possible type
- v
row or column vector of any possible type
- l
list variable
- func
any function name
- e1,e2,...
any possible type expression
Description
Left and right parenthesis are used to
* specify evaluation order within expressions;
* form right-hand-side functions argument list. Within multiple rhs arguments must be separated by comma;
* select elements within vectors, matrices and lists. See help on extraction and insertion for more precisions;
[x1,x2,...]=(e1,e2,...)
is equivalent to first performing
%t_1 = e1, %t_2 = e2, ...
, and then
x1 = %t_1, x2 = %t_2, ...
, where the
variables %t_i, i = 1, 2, ...
are invisible to the user.
Examples
See also
- colon — (:) colon operator
- comma — (,) comma; instruction, argument separator
- brackets — Concatenation. Recipients of an assignment. Results of a function
- list — a Scilab object and a list definition function
- extraction — matrix and list entry extraction
- insertion — partial variable assignation or modification
Report an issue | ||
<< not | Scilab keywords | percent >> |