Attributes
- Companion:
- object
- Source:
- Matrix.scala
- Graph
- Supertypes
Members list
Type members
Types
Attributes
- Source:
- Matrix.scala
Value members
Concrete methods
Multiply a matrix by a scalar, C = s*A
Attributes
- Source:
- Matrix.scala
Attributes
- Source:
- Matrix.scala
Attributes
- Source:
- Matrix.scala
Attributes
- Source:
- Matrix.scala
Attributes
- Source:
- Matrix.scala
Attributes
- Source:
- Matrix.scala
A = A + B
Get a single element.
Attributes
- Source:
- Matrix.scala
Get column dimension.
Make a one-dimensional column packed copy of the internal array.
Make a one-dimensional column packed copy of the internal array.
Attributes
- Returns:
Matrix elements packed in a one-dimensional array by columns.
- Source:
- Matrix.scala
Make a deep copy of a matrix
Copy the internal two-dimensional array.
Copy the internal two-dimensional array.
Attributes
- Returns:
Two-dimensional array copy of matrix elements.
- Source:
- Matrix.scala
Attributes
- Source:
- Matrix.scala
Get a submatrix.
Get a submatrix.
Attributes
- columnIndices
Array of column indices.
- r0
Initial row index
- Returns:
A(i0:i1,c(:))
- Throws:
- ArrayIndexOutOfBoundsException
Submatrix indices
- Source:
- Matrix.scala
Get a submatrix.
Get a submatrix.
Attributes
- c0
Initial column index
- c1
Final column index
- r
Array of row indices.
- Returns:
A(r(:),j0:j1)
- Throws:
- ArrayIndexOutOfBoundsException
Submatrix indices
- Source:
- Matrix.scala
One norm
Frobenius norm
Infinity norm
Get row dimension.
Make a one-dimensional row packed copy of the internal array.
Make a one-dimensional row packed copy of the internal array.
Attributes
- Returns:
Matrix elements packed in a one-dimensional array by rows.
- Source:
- Matrix.scala
Set a submatrix.
Set a submatrix.
Attributes
- M1
Row dimension of mtrx
- N1
Column dimension of mtrx
- ValueOf[M1]
Row dimension of mtrx
- ValueOf[N1]
Column dimension of mtrx
- c0
Initial column index
- mtrx
a metrix of lesser or equal dimension to this matrix
- r0
Initial row index
- Source:
- Matrix.scala
Set a submatrix.
Set a submatrix.
Attributes
- X
A(r(:),c(:))
- columnIndices
Array of column indices.
- rowIndices
Array of row indices.
- Throws:
- ArrayIndexOutOfBoundsException
Submatrix indices
- Source:
- Matrix.scala
Set a submatrix.
Set a submatrix.
Attributes
- X
A(r(:),j0:j1)
- c0
Initial column index
- c1
Final column index
- rowIndices
Array of row indices.
- Throws:
- ArrayIndexOutOfBoundsException
Submatrix indices
- Source:
- Matrix.scala
Set a submatrix.
Set a submatrix.
Attributes
- X
A(i0:i1,c(:))
- columnIndices
Array of column indices.
- r0
Initial row index
- r1
Final row index
- Throws:
- ArrayIndexOutOfBoundsException
Submatrix indices
- Source:
- Matrix.scala
Get a submatrix.
Get a submatrix.
Attributes
- M1
the number of rows
- N1
the number of columns
- c0
Initial column index
- r0
Initial row index
- Returns:
A(i0:i1,j0:j1)
- Throws:
- ArrayIndexOutOfBoundsException
Submatrix indices
- Source:
- Matrix.scala
Get a submatrix.
Get a submatrix.
Attributes
- columnIndices
Array of column indices.
- rowIndices
Array of row indices.
- Returns:
A(r(:),c(:))
- Throws:
- ArrayIndexOutOfBoundsException
Submatrix indices
- Source:
- Matrix.scala
A = A - B
Multiply a matrix by a scalar in place, A = s*A
Multiply a matrix by a scalar in place, A = s*A
Attributes
- s
scalar
- Returns:
replace A by s*A
- Source:
- Matrix.scala
Linear algebraic matrix multiplication, A * B
Linear algebraic matrix multiplication, A * B
Attributes
- b
another matrix
- Returns:
Matrix product, A * B
- Throws:
- IllegalArgumentException
Matrix inner dimensions must agree.
- Source:
- Matrix.scala
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns:
a string representation of the object.
- Definition Classes
- Any
- Source:
- Matrix.scala
Matrix trace.
Matrix transpose.
Unary minus
Concrete fields
Attributes
- Source:
- Matrix.scala
Attributes
- Source:
- Matrix.scala
Attributes
- Source:
- Matrix.scala
Attributes
- Source:
- Matrix.scala