Matrix

Companion:
class
class Object
trait Matchable
class Any
Matrix.type

Value members

Concrete methods

def create[@specialized(Double, Int, Float, Long) V : Zero](rows: Int, cols: Int, data: Array[V]): Matrix[V]
def zeros[@specialized(Double, Int, Float, Long) V : Zero](rows: Int, cols: Int): Matrix[V]

Inherited methods

def apply[R, @specialized(Double, Int, Float, Long) V](rows: R*)(implicit rl: LiteralRow[R, V], man: ClassTag[V], zero: Zero[V]): Matrix[V]

Static constructor for a literal matrix.

Static constructor for a literal matrix.

Inherited from:
MatrixConstructors
def fill[@specialized(Double, Int, Float, Long) V : Zero](rows: Int, cols: Int)(v: => V): Matrix[V]
Inherited from:
MatrixConstructors
def ones[@specialized(Double, Int, Float, Long) V : Semiring](rows: Int, cols: Int): Matrix[V]

Creates a matrix of all ones.

Creates a matrix of all ones.

Inherited from:
MatrixConstructors
def rand[T : Zero](rows: Int, cols: Int, rand: Rand[T]): Matrix[T]
Inherited from:
MatrixConstructors
def tabulate[@specialized(Double, Int, Float, Long) V : Zero](rows: Int, cols: Int)(f: (Int, Int) => V): Matrix[V]
Inherited from:
MatrixConstructors