MatrixD2

scalation.mathstat.MatrixD2
See theMatrixD2 companion object
class MatrixD2(val dim: Int, val dim2: Int, var v: Array[Array[Double]])

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

infix def add1(y: MatrixD2): MatrixD2

Add this matrix and matrix y (requires y to have at least the dimensions of this).

Add this matrix and matrix y (requires y to have at least the dimensions of this).

Value parameters

y

the other matrix

Attributes

infix def add2(y: MatrixD2): MatrixD2
infix def add3(y: MatrixD2): MatrixD2
def apply(i: Int, j: Int): Double
infix def mul1(y: MatrixD2): MatrixD2

Multiply this matrix by matrix y.

Multiply this matrix by matrix y.

Value parameters

y

the other matrix

Attributes

infix def mul2(y: MatrixD2): MatrixD2
infix def mul3(y: MatrixD2): MatrixD2
infix def mul4(y: MatrixD2): MatrixD2
infix def mul5(y: MatrixD2): MatrixD2
override def toString: String

Convert this matrix to a string.

Convert this matrix to a string.

Attributes

Definition Classes
Any

Transpose this matrix (columns <=> rows).

Transpose this matrix (columns <=> rows).

Attributes

def update(i: Int, j: Int, a: Double): Unit

Concrete fields

val dim: Int
val dim2: Int
val indices: Range
val indices2: Range
var v: Array[Array[Double]]