The Matrix
trait specifies the operations to be defined by three concrete
implemeting classes: MatrixN
, SparseMatrixN
and SymTriMatrix
.
The MatrixN
class stores and operates on Numeric Matrices of various sizes
and types.
The SparseMatrixN
class stores and operates on Numeric Matrices of various
sizes and types.
The SparseMatrixN
class stores and operates on Numeric Matrices of various
sizes and types. The element type may be any subtype of Numeric. Rather
than storing the matrix as a 2 dimensional array, it is stored as an array
of list-maps, which record all the non-zero values for each particular row,
along with their j-index.
The SymTriMatrixN
class stores and operates on symmetric tridiagonal matrices.
The SymTriMatrixN
class stores and operates on symmetric tridiagonal matrices.
The elements are of type of T. A matrix is stored as two vectors:
the diagonal vector and the sub-diagonal vector.
The VectorN
class stores and operates on Numeric Vectors of various sizes
and types.
The VectorN
class stores and operates on Numeric Vectors of various sizes
and types. The element type may be any subtype of Numeric. Some methods
only work for Fractional types. When/if Scala adds 'sqrt' and 'pow' to
Fractional types the following methods will be implemented: ~, ~=, normalizeU.
The Matrices
object provides convenience definitions for commonly used types of
matrices.
The Matrices
object provides convenience definitions for commonly used types of
matrices. For efficiency, non-generic versions of MatrixD
, MatrixC
and MatrixR
are provided in the linalgebra package.
The MatrixN
companion object provides operations for the MatrixN
class
that don't require 'this' (like static methods in Java).
The MatrixNTest
object tests the operations provided by MatrixN
class.
The SparseMatrices
object contains convenience definitions for commonly used
types of sparse matrices.
The SparseMatrixNTest
object is used to test the SparseMatrixN
class.
The SymTriMatrices
object contains convenience definitions for commonly used
types of symmetric tridiagonal matrices.
The SymTriMatrixNTest
object is used to test the SymTriMatrixN
class.
The VectorN
object is the companion object for VectorN
class.
The VectorNTest
object tests the operations provided by VectorN
class.
The Vectors
object contains convenience definitions for commonly used types of
vectors.
The Vectors
object contains convenience definitions for commonly used types of
vectors. For efficiency, non-generic versions of VectorD
, VectorC
and VectorR
are provided in the linalgebra package.
The
MatrixN
class stores and operates on Numeric Matrices of various sizes and types. The element type may be any subtype of Numeric.