matrix

vecxt.matrix
opaque 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

This is a matrix

This is a matrix

._1 is the matrix 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

Attributes

type RangeExtender = Range | Int | Array[Int] | ::.type

Extensions

Extensions

extension (m: Matrix)
inline def +(m2: Matrix)(using inline boundsCheck: BoundsCheck): Matrix
def apply(rowRange: RangeExtender, colRange: RangeExtender): Matrix
inline def apply(b: (Int, Int))(using inline boundsCheck: BoundsCheck): Double

element retrieval

element retrieval

Attributes

inline def cols: Int
inline def matmul(b: Matrix)(using inline boundsCheck: BoundsCheck): Matrix
inline def numel: Int
inline def raw: Array[Double]
inline def rows: Int
inline def tupleFromIdx(b: Int)(using inline boundsCheck: BoundsCheck): (Int, Int)
inline def update(loc: (Int, Int), value: Double)(using inline boundsCheck: BoundsCheck): Unit

element update

element update

Attributes