A generic Matrix class. Useful for working with 2D structures.
- Type parameters:
- A
The type of elements in the matrix. When
A
is a scala.Numeric type, a number of extension methods are made available which allow for basic mathematical matrix operations.
- Companion:
- object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Value members
Concrete methods
Returns the element at the given position (row, col)
Returns the element at the given position (row, col)
Returns true
if this matrix is equal to its own transpose.
Returns true
if this matrix is equal to its own transpose.