class
Matrix
ruby latest stable
- Superclass: Object
The Matrix class represents a mathematical matrix. It provides methods for creating matrices, operating on them arithmetically and algebraically, and determining their mathematical properties such as trace, rank, inverse, determinant, or eigensystem.
frozen_string_literal: false
frozen_string_literal: false
Included modules
- Enumerable
- ExceptionForMatrix
- Matrix::CoercionHelper
Constants
SELECTORS = {all: true, diagonal: true, off_diagonal: true, lower: true, strict_lower: true, strict_upper: true, upper: true}.freeze
Attributes
[R] column_count
[R] column_size
[R] rows
Files
- lib/matrix.rb
- lib/matrix/eigenvalue_decomposition.rb
- lib/matrix/lup_decomposition.rb