Please note that the recommended version of Scilab is 2023.1.0. This page might be outdated.
See the recommended documentation of this function
Exponentiation of matrices or vectors by a constant vector.
A is a vector or a rectangular matrix the exponentiation is done
element-wise, with the usual meaning.
A matrix the exponentiation is done in the matrix sense.
For boolean, polynomial and rational matrices, the exponent must be an integer.
123.^b is interpreted as
(123).^b. In such
cases dot is part of the operator, not of the number.
For two real or complex numbers
x2 the value of
x1^x2 is the "principal value"
x1^x2 = exp(x2*log(x1)).
Exponentiation is right-associative in Scilab contrarily to Matlab® and Octave. For example 2^3^4 is equal to 2^(3^4) in Scilab but is equal to (2^3)^4 in Matlab® and Octave.
2^4 (-0.5)^(1/3) [1 2;2 4]^(1+%i) s=poly(0,"s"); [1 2 s]^4 [s 1;1 s]^(-1)
|Report an issue|
|<< global||Scilab keywords||insertion >>|