Contents Previous Next Subchapters

Determining The Base Column Index Of A Matrix
Syntax colbase(matrix)
See Also rowbase , base

Removed From Language
The colbase command was present in version 4 of O-Matrix but has been removed in version 5. If this command is used in version 5, an error message to this effect is displayed. The old documentation for the colbase command is included below to aid in converting programs that use this command to run under version 5.

Description
Returns the index corresponding to the first column of a matrix.

Example
     x = [1, 2, 3]
     base x(0, 2)
     colbase(x)
returns
     2