matrix expression function

Converts a string specification into a matrix.

Replaced by: hou.Matrix4, hou.Matrix3

All Usage Examples

Usage

matrix(pattern)

The string should start with a square bracket, followed by a series of rows (specified as vector patterns - see the vector function), followed by a trailing square bracket.

Examples

matrix("[[1,2,3][2,3,5][-3,2,-3]]")