the row index
the column index
the element with index i,j
the column index
the column vector with index j
the row index
the row vector with index i
Returns the product of this and v
.
Returns the product of this and v
.
the vector to be multiplied
this*v
Returns the product of this and b
.
Returns the product of this and b
.
the other matrix to be multiplied
this*b
Scales this matrix by s
.
Returns the sum of this and b
.
Returns the sum of this and b
.
the other matrix to be added
this+b
Returns the difference of this and b
.
Returns the difference of this and b
.
the other matrix to be subtracted
this-b
tuple of the lower row- and column-index bounds of the new matrix
a copy of this matrix with the specified lower row- and column-index bounds; all row vectors are shifted to this bound
the row index
the row vector with index i
the lower column-index bound of the new matrix
a copy of this matrix with the specified lower column-index bound; all row vectors are shifted to this bound
the lower row-index bound of the new matrix
a copy of this matrix with the specified lower row-index bound
Returns the vector of column sums of this matrix.
Returns the vector of column sums of this matrix.
the vector of column sums of this
the number of rows of this matrix
if this is a square matrix (regarding to the concrete index range)
if this matrix contains no elements other than scal0
Returns the vector of row sums of this matrix.
Returns the vector of row sums of this matrix.
the vector of row sums of this
(Changed in version 2.9.0) The behavior of scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
this matrix with a shortened index range stripped by leading and trailing zero-vector elements after shortening the vector elements itself (i.e., making concrete leading and trailing zeroes virtual in both dimensions)
2.1.0
(Changed in version 2.9.0) transpose
throws an IllegalArgumentException
if collections are not uniformly sized.
Returns the transpose of this matrix..
Returns identity.
Returns negative complement of this.
the requested index ranges in both dimensions (the actual index ranges will be the union of this argument and the existing ones)
this vector with widened index ranges extended by leading and
trailing zero-vector elements according to index.dim1
and then widening
the vector elements itself according to index.dim2
(i.e., in both
dimensions adding concrete leading and trailing zeroes that were virtual
before)
2.1.0
the number of columns of this matrix
Checks if this matrix is similar to the other one in terms of stripping by leading and trailing zero elements in both dimensions, respectively.
Checks if this matrix is similar to the other one in terms of stripping by leading and trailing zero elements in both dimensions, respectively.
true if both matrices have the same elements in equal index positions, disregarding the concrete index ranges; false otherwise
2.1.0
An immutable algebraic matrix consisting of
E
elements.The index range of a matrix in both dimensions spans the whole
Int
set. The concrete range is[(index.dim1.low,index.dim1.high),(index.dim2.low,index.dim2.high)]
; all values outside of the concrete range are treated as zero. AnIndexOutOfBoundsException
will never occur.