Matrix

matr.Matrix
See theMatrix companion trait
object Matrix

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Matrix.type

Members list

Type members

Classlikes

trait Builder[R <: Int, C <: Int, T] extends Matrix[R, C, T]

A Builder is a "Matrix under construction" that itself forms a (mutable) Matrix. Utilizing Builder is the preferred way of creating new Matrices in Matrix operations.

A Builder is a "Matrix under construction" that itself forms a (mutable) Matrix. Utilizing Builder is the preferred way of creating new Matrices in Matrix operations.

Modules implementing the Matrix trait should also provide an implementation of this trait.

Invoking the same Builder instance multiple times is OK, but letting a Builder leave the local scope is not OK (it's mutable!).

Implementations of this trait must return zero for uninitialized element positions.

Attributes

Supertypes
trait Matrix[R, C, T]
class Object
trait Matchable
class Any
object Requirements

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type