matrixUtil
vecxt.matrixUtil
object matrixUtil
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
matrixUtil.type
Members list
Type members
Classlikes
enum Horizontal
Attributes
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
enum Vertical
Attributes
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Extensions
Extensions
extension [A](m: Matrix[A])
Note that m.submatrix(::, i) will give back a zero-copy matrix with the correct strides.
Note that m.submatrix(::, i) will give back a zero-copy matrix with the correct strides.
It is probably more efficient
Attributes
inline def horzcat(m2: Matrix[A])(using inline boundsCheck: BoundsCheck, ct: ClassTag[A]): Matrix[A]
inline def mapColsToScalar[B](inline f: Array[A] => B)(using ClassTag[B], ClassTag[A])(using inline boundsCheck: BoundsCheck): Matrix[B]
There should be
There should be
Attributes
Returns a row of the matrix as an NArray.
Returns a row of the matrix as an NArray.
Note that this copies the data. m.submatrix(i, ::) returns a zero copy view.
Attributes
inline def vertcat(m2: Matrix[A])(using inline boundsCheck: BoundsCheck, ct: ClassTag[A]): Matrix[A]
In this article