[index] Algebra::MatrixAlgebraTriplet / Algebra::MatrixAlgebraQuint
(Class of Triplet of matrices)
This is the class of the matrix and the records of the right and left elementary diformations on it. There is a subclass of the quintet of matrices (Algebra::MatrixAlgebraQuint).
:new(matrix[, left[, right]])Creates the triplet object of matrix as the body, left as the record of the left(row) deformation and right as the record ofthe right(column) deformation.
bodyReturns the body.
leftReturns left as the record of the left(row) deformation.
rightReturns right as the record ofthe right(column) deformation.
to_aRetruns the array of [body, left, right].
to_arySame as to_a.
dupReturns the duplicate of self.
transposeReturns the transpose of self. Same as
[type.new(body.transpose, right.transpose, left.transpose].
replace(other)Replaces self to other.
displayDisplays self
[i, j]Returns the componetnt of (i, j).
rsizeReturns the row size.
csizeReturn the column size.
each_iIterates for the row index.
each_jIterates for the column index.
row!(i)Retunrs the i -th row.
sswap_r!(i, j)
swap_r!(i, j)
swap_c!(i, j)
multiply_r!(i, c)
multiply_c!(j, c)
divide_r!(i, c)
divide_c!(j, c)
mix_r!(i, j[, c])
mix_c!(i, j[, c])
left_eliminate!Refer Algebra::GauusianElimination.
(Class of Quintet of matrices)
This is the class of the matrix and the records of the right and left elementary diformations on it and the reverses of them. There is a superclass of the triplet of matrices (Algebra::MatrixAlgebraTriplet).