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
type TupleOfInts[T <: Tuple] = T match { case EmptyTuple => true case Int *: tail => TupleOfInts[tail] case Any => false }

Extensions

Extensions

extension (d: Array[Double])
extension (m: Matrix)
inline def :@(b: Matrix)(using inline boundsCheck: BoundsCheck): Matrix
inline def col(i: Int): Array[Double]
inline def cols: Int
inline def elementAt[T <: Tuple](b: T)(using ev: TupleOfInts[T] =:= true): Double

Zero indexed element retrieval

Zero indexed element retrieval

Attributes

inline def raw: Array[Double]
inline def row(i: Int): Array[Double]
inline def rows: Int
inline def scale(d: Double): Unit
inline def shape: String
inline def transpose: Matrix