Represents a matrix of any type in Kst. Some matrices are editable, while others are not.
Inherits: Object
Collection class: MatrixCollection
Matrix ( )
number columns - The new number of rows in the matrix. Should be >= 1.
number rows - The new number of columns in the matrix. Should be >= 1.
Throws: GeneralError - Throws this exception if the matrix is not editable.
Sets all values in the matrix to zero.
Throws: GeneralError - Throws this exception if the matrix is not editable.
number column - The column index of the matrix position to be read.
number row - The row index of the matrix position to be read.
Throws: GeneralError - Throws this exception if the indices are out of range.
number column - The column index of the matrix position to be set.
number row - The row index of the matrix position to be set.
number value - The value to set the specified matrix position to.
Throws: GeneralError - Throws this exception if the matrix is not editable or the indices are out of range.
Updates the statistical values associated with a matrix.
Throws: GeneralError - Throws this exception if the matrix is not editable.
True if the matrix is editable by the user. This should be checked before attempting to modify a matrix in any way.
Would you like to make a comment or contribute an update to this page?
Send feedback to the KDE Docs Team