File: typeof.man

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 (62 lines) | stat: -rw-r--r-- 1,083 bytes parent folder | download | duplicates (2)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
.TH typeof G "April 1993" "Scilab Group" "Scilab Function"
.so ../sci.an
.SH NAME
typeof -  object type
.SH CALLING SEQUENCE
.nf
[t]=typeof(object)
.fi
.SH PARAMETERS
.TP 10
object 
: Scilab object
.TP 10
t
: string
.SH DESCRIPTION
\fVt=typeof(object)\fR returns one of the following strings:
.TP 
"constant"       
if object is a real or complex constant matrix
.TP 
"polynomial"  
if object is a polynomial matrix
.TP 
"function"       
if object is a function
.TP 
"string"   
if object is a matrix made of character strings
.TP 
"boolean"     
if object is a boolean matrix
.TP 
"list"        
if object is a list
.TP 
"rational"    
if object is a rational matrix (transfer matrix)
.TP 
"state-space" 
if object is a state-space model (see \fVsyslin\fR)
.TP 
"sparse"      
if object is a (real) sparse matrix.
.TP
"boolean sparse"
if object is a boolean sparse matrix.
.SH EXAMPLE
.nf
typeof(1)
typeof(poly(0,'x'))
typeof(1/poly(0,'x'))
typeof(%t)
w=sprand(100,100,0.001);
typeof(w)
typeof(w==w)
deff('y=f(x)','y=2*x');
typeof(f)
.fi
.SH SEE ALSO
type, strings,  syslin, poly