File: det.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 (32 lines) | stat: -rw-r--r-- 734 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
31
32

det(2)                         Scilab Function                         det(2)
NAME
  det  - determinant

CALLING SEQUENCE
  det(X)
  [e,m]=det(X)

PARAMETERS

  X    : real or complex square matrix, polynomial or rational matrix.

  m    : real or complex number, the determinant base 10 mantissae

  e    : integer, the determinant base 10 exponent
DESCRIPTION
  det(X) ( m*10^e is the determinant of the square matrix X.

  For polynomial matrix det(X) is equivalent to determ(X).

  For rational matrices det(X) is equivalent to detr(X).

EXAMPLE
  x=poly(0,'x');
  det([x,1+x;2-x,x^2])
  w=ssrand(2,2,4);roots(det(systmat(w))),trzeros(w)   //zeros of linear system
  A=rand(3,3);
  det(A), prod(spec(A))

SEE ALSO
  detr, determ