Scilab Function
Last update : 18/05/2014

typeof - object type

Calling Sequence

[t]=typeof(object)

Parameters

Description

t=typeof(object) returns one of the following strings:

if object is a real or complex constant matrix if object is a polynomial matrix if object is a function if object is a matrix made of character strings if object is a boolean matrix if object is a list if object is a rational matrix (transfer matrix) if object is a state-space model (see syslin) if object is a (real) sparse matrix. if object is a boolean sparse matrix. if object is a full maxplus matrix. if object is a sparse maxplus matrix.

Examples

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)
 

See Also

type,