File: hat.cat

package info (click to toggle)
scilab 2.4-1
  • links: PTS
  • area: non-free
  • in suites: potato, slink
  • size: 55,196 kB
  • ctags: 38,019
  • sloc: ansic: 231,970; fortran: 148,976; tcl: 7,099; makefile: 4,585; sh: 2,978; csh: 154; cpp: 101; asm: 39; sed: 5
file content (30 lines) | stat: -rw-r--r-- 694 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

hat(1)                         Scilab Function                         hat(1)
NAME
  hat (^) - exponentiation

CALLING SEQUENCE
  A^b

DESCRIPTION
  Exponentiation of matrices or vectors by a constant vector.

  If A is a vector or a rectangular matrix the exponentiation is done
  element-wise, with the usual meaning.

  For square A matrices the exponentiation is done in the matrix sense.

  For boolean, polynomial and rational matrices, the exponent must be an
  integer

  Remark that 123.^b is interpreted as (123).^b. In such cases dot is part of
  the operator, not of the number.
EXAMPLES
  2^4
  [1 2;2 4]^(1+%i)
  s=poly(0,"s");
  [1 2 s]^4
  [s 1;1  s]^(-1)

SEE ALSO
  exp, inv