Scilab Function

typeof - object type

Calling Sequence

[t]=typeof(object)

Parameters

Description

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

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

    See Also