Package | Description |
---|---|
org.djunits.value.vdouble.matrix |
Double Matrix storage and calculations with units, absolute/relative, sparse/dense.
|
org.djunits.value.vdouble.scalar |
Double Scalar storage and calculations with units, absolute/relative.
|
org.djunits.value.vdouble.vector |
Double Vector storage and calculations with units, absolute/relative, sparse/dense.
|
Modifier and Type | Method and Description |
---|---|
protected Power |
PowerMatrix.instantiateScalar(double value,
PowerUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
protected Power |
MutablePowerMatrix.instantiateScalar(double value,
PowerUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
Constructor and Description |
---|
MutablePowerMatrix(Power[][] values,
StorageType storageType)
Construct a new Relative Immutable Double PowerMatrix.
|
PowerMatrix(Power[][] values,
StorageType storageType)
Construct a new Relative Immutable Double PowerMatrix.
|
Modifier and Type | Field and Description |
---|---|
static Power |
Power.NaN
constant with value NaN.
|
static Power |
Power.NEG_MAXVALUE
constant with value -MAX_VALUE.
|
static Power |
Power.NEGATIVE_INFINITY
constant with value NEGATIVE_INFINITY.
|
static Power |
Power.POS_MAXVALUE
constant with value MAX_VALUE.
|
static Power |
Power.POSITIVE_INFINITY
constant with value POSITIVE_INFINITY.
|
static Power |
Power.ZERO
constant with value zero.
|
Modifier and Type | Method and Description |
---|---|
static Power |
Power.createSI(double value)
Construct Power scalar.
|
Power |
Torque.divideBy(Duration v)
Calculate the division of Torque and Duration, which results in a Power scalar.
|
Power |
Energy.divideBy(Duration v)
Calculate the division of Energy and Duration, which results in a Power scalar.
|
Power |
Power.instantiateRel(double value,
PowerUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
static Power |
Power.interpolate(Power zero,
Power one,
double ratio)
Interpolate between two values.
|
static Power |
Power.max(Power r1,
Power r2)
Return the maximum value of two relative scalars.
|
static Power |
Power.max(Power r1,
Power r2,
Power... rn)
Return the maximum value of more than two relative scalars.
|
static Power |
Power.min(Power r1,
Power r2)
Return the minimum value of two relative scalars.
|
static Power |
Power.min(Power r1,
Power r2,
Power... rn)
Return the minimum value of more than two relative scalars.
|
Power |
ElectricalPotential.multiplyBy(ElectricalCurrent v)
Calculate the multiplication of ElectricalPotential and ElectricalCurrent, which results in a Power scalar.
|
Power |
ElectricalCurrent.multiplyBy(ElectricalPotential v)
Calculate the multiplication of ElectricalCurrent and ElectricalPotential, which results in a Power scalar.
|
Power |
Frequency.multiplyBy(Energy v)
Calculate the multiplication of Frequency and Energy, which results in a Power scalar.
|
Power |
Speed.multiplyBy(Force v)
Calculate the multiplication of Speed and Force, which results in a Power scalar.
|
Power |
Torque.multiplyBy(Frequency v)
Calculate the multiplication of Torque and Frequency, which results in a Power scalar.
|
Power |
Energy.multiplyBy(Frequency v)
Calculate the multiplication of Energy and Frequency, which results in a Power scalar.
|
Power |
Dimensionless.multiplyBy(Power v)
Calculate the multiplication of Dimensionless and Power, which results in a Power scalar.
|
Power |
Force.multiplyBy(Speed v)
Calculate the multiplication of Force and Speed, which results in a Power scalar.
|
Modifier and Type | Method and Description |
---|---|
Duration |
Torque.divideBy(Power v)
Calculate the division of Torque and Power, which results in a Duration scalar.
|
Dimensionless |
Power.divideBy(Power v)
Calculate the division of Power and Power, which results in a Dimensionless scalar.
|
Duration |
Energy.divideBy(Power v)
Calculate the division of Energy and Power, which results in a Duration scalar.
|
static Power |
Power.interpolate(Power zero,
Power one,
double ratio)
Interpolate between two values.
|
static Power |
Power.max(Power r1,
Power r2)
Return the maximum value of two relative scalars.
|
static Power |
Power.max(Power r1,
Power r2,
Power... rn)
Return the maximum value of more than two relative scalars.
|
static Power |
Power.max(Power r1,
Power r2,
Power... rn)
Return the maximum value of more than two relative scalars.
|
static Power |
Power.min(Power r1,
Power r2)
Return the minimum value of two relative scalars.
|
static Power |
Power.min(Power r1,
Power r2,
Power... rn)
Return the minimum value of more than two relative scalars.
|
static Power |
Power.min(Power r1,
Power r2,
Power... rn)
Return the minimum value of more than two relative scalars.
|
Energy |
Duration.multiplyBy(Power v)
Calculate the multiplication of Duration and Power, which results in a Energy scalar.
|
Power |
Dimensionless.multiplyBy(Power v)
Calculate the multiplication of Dimensionless and Power, which results in a Power scalar.
|
Constructor and Description |
---|
Power(Power value)
Construct Power scalar.
|
Modifier and Type | Method and Description |
---|---|
protected Power |
PowerVector.instantiateScalar(double value,
PowerUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
protected Power |
MutablePowerVector.instantiateScalar(double value,
PowerUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
Power[] |
PowerVector.toArray()
Return an array of Power Scalars from this vector.
|
Power[] |
MutablePowerVector.toArray()
Return an array of Power Scalars from this vector.
|
Constructor and Description |
---|
MutablePowerVector(Power[] values,
StorageType storageType)
Construct a new Relative Immutable Double PowerVector.
|
PowerVector(Power[] values,
StorageType storageType)
Construct a new Relative Immutable Double PowerVector.
|
Constructor and Description |
---|
MutablePowerVector(List<Power> values,
StorageType storageType)
Construct a new Relative Immutable Double PowerVector.
|
MutablePowerVector(SortedMap<Integer,Power> values,
int length,
StorageType storageType)
Construct a new Relative Immutable Double PowerVector.
|
PowerVector(List<Power> values,
StorageType storageType)
Construct a new Relative Immutable Double PowerVector.
|
PowerVector(SortedMap<Integer,Power> values,
int length,
StorageType storageType)
Construct a new Relative Immutable Double PowerVector.
|
Copyright © 2015–2018 Delft University of Technology. All rights reserved.