U
- Unitpublic static class DoubleMatrix.Abs.Dense<U extends Unit<U>> extends DoubleMatrix.Abs<U> implements DenseData
DoubleMatrix.Abs.Dense<U extends Unit<U>>, DoubleMatrix.Abs.Sparse<U extends Unit<U>>
DoubleMatrix.Abs<U extends Unit<U>>, DoubleMatrix.Rel<U extends Unit<U>>
Modifier | Constructor and Description |
---|---|
|
DoubleMatrix.Abs.Dense(double[][] values,
U unit)
Construct a new Absolute Dense Immutable DoubleMatrix.
|
protected |
DoubleMatrix.Abs.Dense(cern.colt.matrix.tdouble.DoubleMatrix2D values,
U unit)
For package internal use only.
|
|
DoubleMatrix.Abs.Dense(DoubleScalar.Abs<U>[][] values)
Construct a new Absolute Dense Immutable DoubleMatrix.
|
Modifier and Type | Method and Description |
---|---|
DoubleMatrix.Abs.Dense<U> |
copy()
Create a deep copy of this Value.
|
protected cern.colt.matrix.tdouble.DoubleMatrix2D |
createMatrix2D(int rows,
int columns)
Create storage for the data.
|
MutableDoubleMatrix.Abs.Dense<U> |
mutable()
Create a mutable version of this DoubleMatrix.
|
get
cardinality, checkIndex, checkNonEmpty, checkSize, checkSize, columns, deepCopyData, deepCopyOfData, denseToSparse, denseToSparse, det, equals, getInUnit, getInUnit, getMatrixSI, getSI, getValuesInUnit, getValuesInUnit, getValuesSI, hashCode, initialize, initialize, initialize, interpolate, interpolate, interpolate, interpolate, minus, minus, minus, minus, minus, minus, minus, minus, minus, plus, plus, plus, plus, plus, plus, rows, safeGet, safeSet, solve, sparseToDense, sparseToDense, times, times, times, times, times, times, times, times, times, times, toString, toString, toString, toString, zSum
expressAsSIUnit, expressAsSpecifiedUnit, getUnit, isAbsolute, isRelative
public DoubleMatrix.Abs.Dense(double[][] values, U unit) throws ValueException
values
- double[][]; the values of the entries in the new Absolute Dense Immutable DoubleMatrixunit
- U; the unit of the new Absolute Dense Immutable DoubleMatrixValueException
- when values is null, or is not rectangularpublic DoubleMatrix.Abs.Dense(DoubleScalar.Abs<U>[][] values) throws ValueException
values
- DoubleScalar.Abs<U>[][]; the values of the entries in the new Absolute Dense
Immutable DoubleMatrixValueException
- when values has zero entries, or is not rectangularprotected DoubleMatrix.Abs.Dense(cern.colt.matrix.tdouble.DoubleMatrix2D values, U unit)
values
- DoubleMatrix2D; the values of the entries in the new Absolute Dense Immutable DoubleMatrixunit
- U; the unit of the new Absolute Dense Immutable DoubleMatrixpublic final MutableDoubleMatrix.Abs.Dense<U> mutable()
mutable
in class DoubleMatrix<U extends Unit<U>>
protected final cern.colt.matrix.tdouble.DoubleMatrix2D createMatrix2D(int rows, int columns)
createMatrix2D
in class DoubleMatrix<U extends Unit<U>>
rows
- int; the number of rows in the matrixcolumns
- int; the number of columns in the matrixCopyright © 2014–2015 Delft University of Technology. All rights reserved.