power - Power operation (^,.^) (original) (raw)

Scilab 5.3.3

Please note that the recommended version of Scilab is 2026.0.1. This page might be outdated.
See the recommended documentation of this function

Scilab help >> Scilab > Scilab keywords > power

Calling Sequence

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