matrix

vecxt.matrix
object matrix

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
matrix.type

Members list

Type members

Classlikes

object Matrix

Attributes

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

Types

opaque type Matrix[A]

This is a matrix

This is a matrix

._1 is the Matrix[A] values, stored as a single contiguous array ._2 is the dimensions ._2._1 is the number of rows ._2._2 is the number of columns. You can access the raw array with the .raw method which inlines to the tuple call.

Storage is column major.

Attributes

Extensions

Extensions

extension [A](m: Matrix[A])
inline def raw: Array[A]
inline def shape: RowCol