File: hat.cat

package info (click to toggle)
scilab 2.6-4
  • links: PTS
  • area: non-free
  • in suites: woody
  • size: 54,632 kB
  • ctags: 40,267
  • sloc: ansic: 267,851; fortran: 166,549; sh: 10,005; makefile: 4,119; tcl: 1,070; cpp: 233; csh: 143; asm: 135; perl: 130; java: 39
file content (29 lines) | stat: -rw-r--r-- 710 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
hat              Scilab Group              Scilab Function              hat
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