matrixUtil

vecxt.matrixUtil
object matrixUtil

Attributes

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

Members list

Type members

Classlikes

enum Horizontal

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
enum Vertical

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Extensions

Extensions

extension [A](m: Matrix[A])
inline def col(i: Int)(using ClassTag[A]): Array[A]
inline def diag(using ClassTag[A]): Array[A]
inline def diag(col: Col, startFrom: Vertical, direction: Horizontal)(using ClassTag[A]): Array[A]
inline def diag(row: Row, startFrom: Horizontal, direction: Vertical)(using ClassTag[A]): Array[A]
inline def mapCols(f: Array[A] => Array[A])(using ClassTag[A])(using inline boundsCheck: BoundsCheck): Matrix[A]
inline def mapColsToScalar(f: Array[A] => A)(using ClassTag[A])(using inline boundsCheck: BoundsCheck): Matrix[A]
def mapRows(f: Array[A] => Array[A])(using ClassTag[A])(using boundsCheck: BoundsCheck): Matrix[A]
inline def mapRowsToScalar(f: Array[A] => A)(using ClassTag[A])(using inline boundsCheck: BoundsCheck): Matrix[A]
inline def printMat(using ClassTag[A]): String
inline def row(i: Int)(using ClassTag[A]): Array[A]
inline def transpose(using ClassTag[A]): Matrix[A]