public class MutableFloatDimensionlessMatrix extends AbstractMutableFloatMatrixRel<DimensionlessUnit,FloatDimensionlessMatrix,MutableFloatDimensionlessMatrix,FloatDimensionless> implements MathFunctionsDimensionless<MutableFloatDimensionlessMatrix>
Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
data
Constructor and Description |
---|
MutableFloatDimensionlessMatrix(float[][] values,
DimensionlessUnit unit,
StorageType storageType)
Construct a new Relative Immutable FloatDimensionlessMatrix.
|
MutableFloatDimensionlessMatrix(FloatDimensionless[][] values,
StorageType storageType)
Construct a new Relative Immutable FloatDimensionlessMatrix.
|
MutableFloatDimensionlessMatrix(FloatMatrixData data,
DimensionlessUnit unit) |
Modifier and Type | Method and Description |
---|---|
MutableFloatDimensionlessMatrix |
acos()
Set the value(s) to the arc cosine of the value(s); the resulting angle is in the range 0.0 through pi.
|
MutableFloatDimensionlessMatrix |
asin()
Set the value(s) to the arc sine of the value(s); the resulting angle is in the range -pi/2 through pi/2.
|
MutableFloatDimensionlessMatrix |
atan()
Set the value(s) to the arc tangent of the value(s); the resulting angle is in the range -pi/2 through pi/2.
|
MutableFloatDimensionlessMatrix |
cbrt()
Set the value(s) to the(ir) cube root.
|
MutableFloatDimensionlessMatrix |
cos()
Set the value(s) to the trigonometric cosine of the value(s).
|
MutableFloatDimensionlessMatrix |
cosh()
Set the value(s) to the hyperbolic cosine of the value(s).
|
MutableFloatDimensionlessMatrix |
exp()
Set the value(s) to Euler's number e raised to the power of the value(s).
|
MutableFloatDimensionlessMatrix |
expm1()
Set the value(s) to Euler's number e raised to the power of the value(s) minus 1 (e^x - 1).
|
protected MutableFloatDimensionlessMatrix |
instantiateMutableType(FloatMatrixData fmd,
DimensionlessUnit unit)
Construct a new Relative Mutable FloatMatrix of the right type.
|
protected FloatDimensionless |
instantiateScalar(float value,
DimensionlessUnit unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
protected FloatDimensionlessMatrix |
instantiateType(FloatMatrixData fmd,
DimensionlessUnit unit)
Construct a new Relative Immutable FloatMatrix of the right type.
|
MutableFloatDimensionlessMatrix |
inv()
Set the value(s) to the complement (1.0/x) of the value(s).
|
MutableFloatDimensionlessMatrix |
log()
Set the value(s) to the natural logarithm (base e) of the value(s).
|
MutableFloatDimensionlessMatrix |
log10()
Set the value(s) to the base 10 logarithm of the value(s).
|
MutableFloatDimensionlessMatrix |
log1p()
Set the value(s) to the natural logarithm of the sum of the value(s) and 1.
|
MutableFloatDimensionlessMatrix |
pow(double x)
Set the value(s) to the value(s) raised to the power of the argument.
|
MutableFloatDimensionlessMatrix |
signum()
Set the value(s) to the signum function of the value(s); zero if the argument is zero, 1.0 if the argument is greater
than zero, -1.0 if the argument is less than zero.
|
MutableFloatDimensionlessMatrix |
sin()
Set the value(s) to the trigonometric sine of the value(s).
|
MutableFloatDimensionlessMatrix |
sinh()
Set the value(s) to the hyperbolic sine of the value(s).
|
MutableFloatDimensionlessMatrix |
sqrt()
Set the value(s) to the correctly rounded positive square root of the value(s).
|
MutableFloatDimensionlessMatrix |
tan()
Set the value(s) to the trigonometric tangent of the value(s).
|
MutableFloatDimensionlessMatrix |
tanh()
Set the value(s) to the hyperbolic tangent of the value(s).
|
MutableFloatDimensionlessMatrix |
toDense()
Create a dense version of this FloatMatrix.
|
MutableFloatDimensionlessMatrix |
toSparse()
Create a sparse version of this FloatMatrix.
|
abs, assign, ceil, checkCopyOnWrite, copy, decrementBy, decrementBy, decrementBy, divideBy, divideBy, divideBy, floor, immutable, incrementBy, incrementBy, incrementBy, multiplyBy, multiplyBy, multiplyBy, mutable, neg, normalize, rint, round, set, setCopyOnWrite, setInUnit, setSI
checkUnit, divide, ensureRectangularAndNonEmpty, get, minus, plus, times
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
neg
DIV, MULT, POW
cardinality, columns, determinant, getInUnit, getInUnit, getSI, getValuesInUnit, getValuesInUnit, getValuesSI, rows, toString, toString, toString, toString, zSum
public MutableFloatDimensionlessMatrix(float[][] values, DimensionlessUnit unit, StorageType storageType) throws ValueException
values
- float[][]; the values of the entries in the new Relative Immutable FloatDimensionlessMatrixunit
- U; the unit of the new Relative Immutable FloatDimensionlessMatrixstorageType
- the data type to use (e.g., DENSE or SPARSE)ValueException
- when values is nullpublic MutableFloatDimensionlessMatrix(FloatDimensionless[][] values, StorageType storageType) throws ValueException
values
- FloatScalar.Rel<U>[][]; the values of the entries in the new Relative Immutable Float
FloatDimensionlessMatrixstorageType
- the data type to use (e.g., DENSE or SPARSE)ValueException
- when values has zero entriesMutableFloatDimensionlessMatrix(FloatMatrixData data, DimensionlessUnit unit)
data
- an internal data objectunit
- the unitpublic final MutableFloatDimensionlessMatrix toDense()
toDense
in interface FloatMatrixInterface<DimensionlessUnit>
public final MutableFloatDimensionlessMatrix toSparse()
toSparse
in interface FloatMatrixInterface<DimensionlessUnit>
protected final FloatDimensionlessMatrix instantiateType(FloatMatrixData fmd, DimensionlessUnit unit)
instantiateType
in class AbstractFloatMatrixRel<DimensionlessUnit,FloatDimensionlessMatrix,MutableFloatDimensionlessMatrix,FloatDimensionless>
fmd
- an internal data objectunit
- the unitprotected final MutableFloatDimensionlessMatrix instantiateMutableType(FloatMatrixData fmd, DimensionlessUnit unit)
instantiateMutableType
in class AbstractFloatMatrixRel<DimensionlessUnit,FloatDimensionlessMatrix,MutableFloatDimensionlessMatrix,FloatDimensionless>
fmd
- an internal data objectunit
- the unitprotected final FloatDimensionless instantiateScalar(float value, DimensionlessUnit unit)
instantiateScalar
in class AbstractFloatMatrixRel<DimensionlessUnit,FloatDimensionlessMatrix,MutableFloatDimensionlessMatrix,FloatDimensionless>
value
- the valueunit
- the unitpublic final MutableFloatDimensionlessMatrix acos()
acos
in interface MathFunctionsDimensionless<MutableFloatDimensionlessMatrix>
public final MutableFloatDimensionlessMatrix asin()
asin
in interface MathFunctionsDimensionless<MutableFloatDimensionlessMatrix>
public final MutableFloatDimensionlessMatrix atan()
atan
in interface MathFunctionsDimensionless<MutableFloatDimensionlessMatrix>
public final MutableFloatDimensionlessMatrix cbrt()
cbrt
in interface MathFunctionsDimensionless<MutableFloatDimensionlessMatrix>
public final MutableFloatDimensionlessMatrix cos()
cos
in interface MathFunctionsDimensionless<MutableFloatDimensionlessMatrix>
public final MutableFloatDimensionlessMatrix cosh()
cosh
in interface MathFunctionsDimensionless<MutableFloatDimensionlessMatrix>
public final MutableFloatDimensionlessMatrix exp()
exp
in interface MathFunctionsDimensionless<MutableFloatDimensionlessMatrix>
public final MutableFloatDimensionlessMatrix expm1()
expm1
in interface MathFunctionsDimensionless<MutableFloatDimensionlessMatrix>
public final MutableFloatDimensionlessMatrix log()
log
in interface MathFunctionsDimensionless<MutableFloatDimensionlessMatrix>
public final MutableFloatDimensionlessMatrix log10()
log10
in interface MathFunctionsDimensionless<MutableFloatDimensionlessMatrix>
public final MutableFloatDimensionlessMatrix log1p()
log1p
in interface MathFunctionsDimensionless<MutableFloatDimensionlessMatrix>
public final MutableFloatDimensionlessMatrix pow(double x)
pow
in interface MathFunctionsDimensionless<MutableFloatDimensionlessMatrix>
x
- double; the value to use as the powerpublic final MutableFloatDimensionlessMatrix signum()
signum
in interface MathFunctionsDimensionless<MutableFloatDimensionlessMatrix>
public final MutableFloatDimensionlessMatrix sin()
sin
in interface MathFunctionsDimensionless<MutableFloatDimensionlessMatrix>
public final MutableFloatDimensionlessMatrix sinh()
sinh
in interface MathFunctionsDimensionless<MutableFloatDimensionlessMatrix>
public final MutableFloatDimensionlessMatrix sqrt()
sqrt
in interface MathFunctionsDimensionless<MutableFloatDimensionlessMatrix>
public final MutableFloatDimensionlessMatrix tan()
tan
in interface MathFunctionsDimensionless<MutableFloatDimensionlessMatrix>
public final MutableFloatDimensionlessMatrix tanh()
tanh
in interface MathFunctionsDimensionless<MutableFloatDimensionlessMatrix>
public final MutableFloatDimensionlessMatrix inv()
inv
in interface MathFunctionsDimensionless<MutableFloatDimensionlessMatrix>
Copyright © 2015–2018 Delft University of Technology. All rights reserved.