public class MutableAbsoluteTemperatureMatrix extends AbstractMutableDoubleMatrixAbs<AbsoluteTemperatureUnit,TemperatureUnit,AbsoluteTemperatureMatrix,TemperatureMatrix,MutableAbsoluteTemperatureMatrix,AbsoluteTemperature>
Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License.
$LastChangedDate: 2015-09-29 14:14:28 +0200 (Tue, 29 Sep 2015) $, @version $Revision: 73 $, by $Author: pknoppers $, initial
version Sep 5, 2015
data
Constructor and Description |
---|
MutableAbsoluteTemperatureMatrix(AbsoluteTemperature[][] values,
StorageType storageType)
Construct a new Absolute Mutable Double AbsoluteTemperatureMatrix.
|
MutableAbsoluteTemperatureMatrix(double[][] values,
AbsoluteTemperatureUnit unit,
StorageType storageType)
Construct a new Absolute Mutable Double AbsoluteTemperatureMatrix.
|
MutableAbsoluteTemperatureMatrix(DoubleMatrixData data,
AbsoluteTemperatureUnit unit)
Construct a new Absolute Mutable Double AbsoluteTemperatureMatrix.
|
Modifier and Type | Method and Description |
---|---|
protected MutableAbsoluteTemperatureMatrix |
instantiateMutableType(DoubleMatrixData dmd,
AbsoluteTemperatureUnit unit)
Construct a new Absolute Mutable DoubleMatrix of the right type.
|
protected AbsoluteTemperature |
instantiateScalar(double value,
AbsoluteTemperatureUnit unit)
Construct a new Absolute Immutable DoubleScalar of the right type.
|
protected AbsoluteTemperatureMatrix |
instantiateTypeAbs(DoubleMatrixData dmd,
AbsoluteTemperatureUnit unit)
Construct a new Absolute Immutable DoubleMatrix of the right type.
|
protected TemperatureMatrix |
instantiateTypeRel(DoubleMatrixData dmd,
TemperatureUnit unit)
Construct a new Relative Immutable DoubleMatrix of the right type.
|
MutableAbsoluteTemperatureMatrix |
toDense()
Create a dense version of this DoubleMatrix.
|
MutableAbsoluteTemperatureMatrix |
toSparse()
Create a sparse version of this DoubleMatrix.
|
assign, ceil, checkCopyOnWrite, copy, decrementBy, decrementBy, decrementBy, divideBy, floor, immutable, incrementBy, incrementBy, incrementBy, multiplyBy, multiplyBy, mutable, normalize, rint, round, set, setCopyOnWrite, setInUnit, setSI
checkUnit, ensureRectangularAndNonEmpty, get, minus, minus, plus
cardinality, checkIndex, checkSize, checkSize, columns, determinant, ensureRectangularAndNonEmpty, equals, getData, getInUnit, getInUnit, getSI, getStorageType, getValuesInUnit, getValuesInUnit, getValuesSI, hashCode, rows, toString, toString, toString, toString, zSum
expressAsSIUnit, expressAsSpecifiedUnit, getUnit, isAbsolute, isRelative, setDisplayUnit
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
DIV, MULT, POW
public MutableAbsoluteTemperatureMatrix(double[][] values, AbsoluteTemperatureUnit unit, StorageType storageType) throws ValueException
values
- double[][]; the values of the entries in the new Absolute Mutable Double AbsoluteTemperatureMatrixunit
- U; the unit of the new Absolute Mutable Double AbsoluteTemperatureMatrixstorageType
- the data type to use (e.g., DENSE or SPARSE)ValueException
- when values is nullpublic MutableAbsoluteTemperatureMatrix(AbsoluteTemperature[][] values, StorageType storageType) throws ValueException
values
- DoubleScalar.Rel<U>[][]; the values of the entries in the new Absolute Mutable Double
AbsoluteTemperatureMatrixstorageType
- the data type to use (e.g., DENSE or SPARSE)ValueException
- when values has zero entriesMutableAbsoluteTemperatureMatrix(DoubleMatrixData data, AbsoluteTemperatureUnit unit)
data
- an internal data objectunit
- the unitpublic final MutableAbsoluteTemperatureMatrix toDense()
public final MutableAbsoluteTemperatureMatrix toSparse()
protected final AbsoluteTemperatureMatrix instantiateTypeAbs(DoubleMatrixData dmd, AbsoluteTemperatureUnit unit)
instantiateTypeAbs
in class AbstractDoubleMatrixAbs<AbsoluteTemperatureUnit,TemperatureUnit,AbsoluteTemperatureMatrix,TemperatureMatrix,MutableAbsoluteTemperatureMatrix,AbsoluteTemperature>
dmd
- an internal data objectunit
- the unitprotected final TemperatureMatrix instantiateTypeRel(DoubleMatrixData dmd, TemperatureUnit unit)
instantiateTypeRel
in class AbstractDoubleMatrixAbs<AbsoluteTemperatureUnit,TemperatureUnit,AbsoluteTemperatureMatrix,TemperatureMatrix,MutableAbsoluteTemperatureMatrix,AbsoluteTemperature>
dmd
- an internal data objectunit
- the unitprotected final MutableAbsoluteTemperatureMatrix instantiateMutableType(DoubleMatrixData dmd, AbsoluteTemperatureUnit unit)
instantiateMutableType
in class AbstractDoubleMatrixAbs<AbsoluteTemperatureUnit,TemperatureUnit,AbsoluteTemperatureMatrix,TemperatureMatrix,MutableAbsoluteTemperatureMatrix,AbsoluteTemperature>
dmd
- an internal data objectunit
- the unitprotected final AbsoluteTemperature instantiateScalar(double value, AbsoluteTemperatureUnit unit)
instantiateScalar
in class AbstractDoubleMatrixAbs<AbsoluteTemperatureUnit,TemperatureUnit,AbsoluteTemperatureMatrix,TemperatureMatrix,MutableAbsoluteTemperatureMatrix,AbsoluteTemperature>
value
- the valueunit
- the unitCopyright © 2015–2018 Delft University of Technology. All rights reserved.