object Mat
- Alphabetic
- By Inheritance
- Mat
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply[T](values: Vec[T]*)(implicit arg0: ST[T]): Mat[T]
Factory method to create a Mat from a sequence of Vec.
Factory method to create a Mat from a sequence of Vec. Each inner Vec will become a column of the new Mat instance.
- T
Type of elements in array
- values
Sequence of Vec, each of which is to be a column
- def apply[T](values: Array[Vec[T]])(implicit arg0: ST[T]): Mat[T]
Factory method to create a Mat from an array of Vec.
Factory method to create a Mat from an array of Vec. Each inner Vec will become a column of the new Mat instance.
- T
Type of elements in Vec
- values
Array of Vec, each of which is to be a column
- def apply[T](values: Array[Array[T]])(implicit arg0: ST[T]): Mat[T]
Factory method to create a Mat from an array of arrays.
Factory method to create a Mat from an array of arrays. Each inner array will become a column of the new Mat instance.
- T
Type of elements in inner array
- values
Array of arrays, each of which is to be a column
- def apply[T](numRows: Int, numCols: Int)(implicit st: ST[T]): Mat[T]
Factory method to create an zero Mat (all zeros)
Factory method to create an zero Mat (all zeros)
- T
Type of elements in Mat
- numRows
Number of rows in Mat
- numCols
Number of cols in Mat
- def apply[T](rows: Int, cols: Int, vec: Vec[T])(implicit st: ST[T]): Mat[T]
- def apply[T](rows: Int, cols: Int, arr: Array[T])(implicit st: ST[T]): Mat[T]
Factory method to create a new Mat from raw materials
Factory method to create a new Mat from raw materials
- T
Type of data in array
- rows
Number of rows in Mat
- cols
Number of cols in Mat
- arr
A 1D array of backing data in row-major order
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def empty[T](implicit arg0: ST[T]): Mat[T]
Factory method to create an empty Mat
Factory method to create an empty Mat
- T
Type of Mat
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fromRows[T](rows: Vec[T]*)(implicit arg0: ST[T]): Mat[T]
Factory method to create a Mat from a sequence of Vec.
Factory method to create a Mat from a sequence of Vec. Each inner Vec will become a row of the new Mat instance.
- T
Type of elements in array
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def ident(n: Int): Mat[Double]
Factory method to create an identity matrix; ie with ones along the diagonal and zeros off-diagonal.
Factory method to create an identity matrix; ie with ones along the diagonal and zeros off-diagonal.
- n
The width of the square matrix
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()