to_a() Instance Public methods Returns an array of arrays that describe the rows of the matrix.
to_s() Instance Public methods Overrides Object#to_s
tr() Instance Public methods Alias for: trace
trace() Instance Public methods Returns the trace (sum of diagonal elements) of the matrix. Matrix[[7,6], [3,9]].trace => 16 tr
transpose() Instance Public methods Returns the transpose of the matrix. Matrix[[1,2], [3,4], [5,6]] => 1 2 3 4 5 6 Matrix[[1,2], [3,4], [5,6]].transpose => 1 3 5 2 4 6 t
unitary?() Instance Public methods Returns true is this is a unitary matrix Raises an error if matrix is not square.
upper_triangular?() Instance Public methods Returns true is this is an upper triangular matrix.
zero?() Instance Public methods Returns true is this is a matrix with only zero elements
mdoc2man(i, o) Class Public methods
new() Class Public methods
Page 555 of 11844