Data access
getColumn
Gets a Vector containing the values of the requested column of the matrix.
Arguments | Return Type |
---|---|
getColumn(column: integer)
|
Vector |
Utility methods
copy
Creates a copy of this matrix. Creating a copy will make a new Matrix with the same size and values, disconnected from the original Matrix. Editing the copy (through in-place operations) will not affect the original.
Arguments | Return Type |
---|---|
copy()
|
new Matrix |
set
Assigns the values from another vector of the same size to this vector, in place. To create a new instance, see copy.
Arguments | Return Type |
---|---|
set(Matrix other)
|
self Matrix |
reset
Sets this vector to the identity matrix of the same size.
Arguments | Return Type |
---|---|
reset()
|
self Matrix |