<< plus Scilab keywords quote >>

Scilab help >> Scilab > Scilab keywords > power

power

power operation (^,.^)

Calling Sequence

t=A^b
t=A**b
t=A.^b

Arguments

A,t

scalar, polynomial or rational matrix.

b

a scalar, a vector or a scalar matrix.

Description

Notes:

- For square matrices A^p is computed through successive matrices multiplications if p is a positive integer, and by diagonalization if not.

- ** and ^ operators are synonyms.

Examples

A=[1 2;3 4];
A^2.5,
A.^2.5
(1:10)^2
(1:10).^2

s=poly(0,'s')
s^(1:10)

See Also

<< plus Scilab keywords quote >>