sbrt.kernel.math.algebra
Interface DoubleMatrixBuilder<R,C>
- Type Parameters:
R
- the row type.C
- the column type.
- All Superinterfaces:
- DoubleMatrix<R,C>, Matrix<R,C,java.lang.Double>, MatrixBuilder<R,C,java.lang.Double>
- All Known Subinterfaces:
- SmdMatrix<R,C>
- All Known Implementing Classes:
- AbstractMdMatrix, AbstractSmdMatrix, HashMatrix, RowOrTreeMatrix, TreeMatrix
public interface DoubleMatrixBuilder<R,C>
- extends MatrixBuilder<R,C,java.lang.Double>, DoubleMatrix<R,C>
This interface is used to represent mutable matrices whose
elements are strictly double precision numbers.
- Author:
- This interface was written and documented by
Jeremiah Wright while in the Wagner lab.
Method Summary |
<X extends R,Y extends C>
void |
|
setElement(X rowIndex,
Y columnIndex,
double value)
Sets the element at the provided row and column indices
to the provided double precision value. |
void |
setElements(DoubleMatrix<? extends R,? extends C> m)
Sets the corresponding elements of this matrix to
those of the provided matrix. |
setElements
void setElements(DoubleMatrix<? extends R,? extends C> m)
- Sets the corresponding elements of this matrix to
those of the provided matrix.
- Parameters:
m
- the matrix whose elements are to be copied
into this matrix.
setElement
<X extends R,Y extends C> void setElement(X rowIndex,
Y columnIndex,
double value)
- Sets the element at the provided row and column indices
to the provided double precision value.
- Type Parameters:
X
- a type extending the primary row type.Y
- a type extending the primary column type.- Parameters:
rowIndex
- the row index.columnIndex
- the column index.value
- the double precision element value.