GNU Octave Manual Version 3 by John W. Eaton, David Bateman, Søren Hauberg Paperback (6"x9"), 568 pages ISBN 095461206X RRP £24.95 ($39.95) |
3 Data Types
All versions of Octave include a number of built-in data types, including real and complex scalars and matrices, character strings, a data structure type, and an array that can contain all data types.
It is also possible to define new specialized data types by writing a small amount of C++ code. On some systems, new data types can be loaded dynamically while Octave is running, so it is not necessary to recompile all of Octave just to add a new type.(2).
- Built-in Function: typeinfo (expr)
-
Return the type of the expression expr, as a string. If expr is omitted, return an array of strings containing all the currently installed data types.
ISBN 095461206X | GNU Octave Manual Version 3 | See the print edition |