Initialize the new PMC
Destroy the PMC and free all associated memory
In each of these cases, the specified Key PMC must have exactly two elements
to specify a location in the matrix. Attempting to retrieve a value outside the
boundaries of the matrix will throw an OUT_OF_BOUNDS exception.
Get a floating point value at the location specified by the key.
Get an integer value at the location specified by the key. This value is the
truncated integer representation of the floating point value at that location.
Get the string representation of the value at the specified location.
Get a Float PMC for the value at the specified location.
These VTABLEs treat the matrix, which is a contiguous region in memory, as a
linear array of values. The matrix data is stored by rows. These routines are
used for low-level access. Attempting to access a value
outside the bounds of the matrix will throw an OUT_OF_BOUNDS exception.
Get the number at the specified location.
Get an integer from the value at the specified location.
Get the string representation of the floating point value at the specified
location.
Get a Float PMC from the value at the specified location.
These VTABLEs insert new values into the matrix at a point specified by the
Key PMC. The Key PMC must have exactly two elements. If the matrix is not large
enough to accomodate the specified location, it will be grown with zero-padding
so that it is at least large enough to hold the specified point and all existing
data.
Set the value at the specified location to be the floating point value of the
PMC.
Set the value at the specified location.
Set the value at the specified location to the value represented by the string.
The string is converted to a floating point value using normal parsing rules.
Set the value at the specified location to the given integer.
These VTABLEs treat the matrix as a linear array in memory and allow fast
lookup based on the integer offset of values in the array. These are low-level
routines and are not intended for general use.
Unlike the PMC-keyed VTABLEs, these routines will not automatically grow the
matrix if an index is provided which is outside the boundaries of the matrix.
In that case, an OUT_OF_BOUNDS exception will be thrown.
Set the value at the specifed location as the floating-point value of the PMC.
Set the value at the specified location.
Set the value at the specified location.
Parse the string to obtain a floating point value, and set that at the specified
location.
Get a string representation of the matrix, suitable for printing to the console
Get a named attribute. The name can be one of “rows”, “cols”, or “size”.
Clone the matrix
Determine if two matrices are equal in size and composition.
Freeze the PMC for serialization to a string suitable for long-term storage in
a file.
Thaw a serialized PMC