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 ElectricalCharge |
MutableElectricalChargeMatrix.instantiateScalar(double value,
ElectricalChargeUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
protected ElectricalCharge |
ElectricalChargeMatrix.instantiateScalar(double value,
ElectricalChargeUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
Constructor and Description |
---|
ElectricalChargeMatrix(ElectricalCharge[][] values,
StorageType storageType)
Construct a new Relative Immutable Double ElectricalChargeMatrix.
|
MutableElectricalChargeMatrix(ElectricalCharge[][] values,
StorageType storageType)
Construct a new Relative Immutable Double ElectricalChargeMatrix.
|
Modifier and Type | Field and Description |
---|---|
static ElectricalCharge |
ElectricalCharge.NaN
constant with value NaN.
|
static ElectricalCharge |
ElectricalCharge.NEG_MAXVALUE
constant with value -MAX_VALUE.
|
static ElectricalCharge |
ElectricalCharge.NEGATIVE_INFINITY
constant with value NEGATIVE_INFINITY.
|
static ElectricalCharge |
ElectricalCharge.POS_MAXVALUE
constant with value MAX_VALUE.
|
static ElectricalCharge |
ElectricalCharge.POSITIVE_INFINITY
constant with value POSITIVE_INFINITY.
|
static ElectricalCharge |
ElectricalCharge.ZERO
constant with value zero.
|
Modifier and Type | Method and Description |
---|---|
static ElectricalCharge |
ElectricalCharge.createSI(double value)
Construct ElectricalCharge scalar.
|
ElectricalCharge |
ElectricalCharge.instantiateRel(double value,
ElectricalChargeUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
static ElectricalCharge |
ElectricalCharge.interpolate(ElectricalCharge zero,
ElectricalCharge one,
double ratio)
Interpolate between two values.
|
static ElectricalCharge |
ElectricalCharge.max(ElectricalCharge r1,
ElectricalCharge r2)
Return the maximum value of two relative scalars.
|
static ElectricalCharge |
ElectricalCharge.max(ElectricalCharge r1,
ElectricalCharge r2,
ElectricalCharge... rn)
Return the maximum value of more than two relative scalars.
|
static ElectricalCharge |
ElectricalCharge.min(ElectricalCharge r1,
ElectricalCharge r2)
Return the minimum value of two relative scalars.
|
static ElectricalCharge |
ElectricalCharge.min(ElectricalCharge r1,
ElectricalCharge r2,
ElectricalCharge... rn)
Return the minimum value of more than two relative scalars.
|
ElectricalCharge |
ElectricalCurrent.multiplyBy(Duration v)
Calculate the multiplication of ElectricalCurrent and Duration, which results in a ElectricalCharge scalar.
|
ElectricalCharge |
Dimensionless.multiplyBy(ElectricalCharge v)
Calculate the multiplication of Dimensionless and ElectricalCharge, which results in a ElectricalCharge scalar.
|
ElectricalCharge |
Duration.multiplyBy(ElectricalCurrent v)
Calculate the multiplication of Duration and ElectricalCurrent, which results in a ElectricalCharge scalar.
|
Modifier and Type | Method and Description |
---|---|
Dimensionless |
ElectricalCharge.divideBy(ElectricalCharge v)
Calculate the division of ElectricalCharge and ElectricalCharge, which results in a Dimensionless scalar.
|
static ElectricalCharge |
ElectricalCharge.interpolate(ElectricalCharge zero,
ElectricalCharge one,
double ratio)
Interpolate between two values.
|
static ElectricalCharge |
ElectricalCharge.max(ElectricalCharge r1,
ElectricalCharge r2)
Return the maximum value of two relative scalars.
|
static ElectricalCharge |
ElectricalCharge.max(ElectricalCharge r1,
ElectricalCharge r2,
ElectricalCharge... rn)
Return the maximum value of more than two relative scalars.
|
static ElectricalCharge |
ElectricalCharge.max(ElectricalCharge r1,
ElectricalCharge r2,
ElectricalCharge... rn)
Return the maximum value of more than two relative scalars.
|
static ElectricalCharge |
ElectricalCharge.min(ElectricalCharge r1,
ElectricalCharge r2)
Return the minimum value of two relative scalars.
|
static ElectricalCharge |
ElectricalCharge.min(ElectricalCharge r1,
ElectricalCharge r2,
ElectricalCharge... rn)
Return the minimum value of more than two relative scalars.
|
static ElectricalCharge |
ElectricalCharge.min(ElectricalCharge r1,
ElectricalCharge r2,
ElectricalCharge... rn)
Return the minimum value of more than two relative scalars.
|
ElectricalCharge |
Dimensionless.multiplyBy(ElectricalCharge v)
Calculate the multiplication of Dimensionless and ElectricalCharge, which results in a ElectricalCharge scalar.
|
Constructor and Description |
---|
ElectricalCharge(ElectricalCharge value)
Construct ElectricalCharge scalar.
|
Modifier and Type | Method and Description |
---|---|
protected ElectricalCharge |
MutableElectricalChargeVector.instantiateScalar(double value,
ElectricalChargeUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
protected ElectricalCharge |
ElectricalChargeVector.instantiateScalar(double value,
ElectricalChargeUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
ElectricalCharge[] |
MutableElectricalChargeVector.toArray()
Return an array of ElectricalCharge Scalars from this vector.
|
ElectricalCharge[] |
ElectricalChargeVector.toArray()
Return an array of ElectricalCharge Scalars from this vector.
|
Constructor and Description |
---|
ElectricalChargeVector(ElectricalCharge[] values,
StorageType storageType)
Construct a new Relative Immutable Double ElectricalChargeVector.
|
MutableElectricalChargeVector(ElectricalCharge[] values,
StorageType storageType)
Construct a new Relative Immutable Double ElectricalChargeVector.
|
Constructor and Description |
---|
ElectricalChargeVector(List<ElectricalCharge> values,
StorageType storageType)
Construct a new Relative Immutable Double ElectricalChargeVector.
|
ElectricalChargeVector(SortedMap<Integer,ElectricalCharge> values,
int length,
StorageType storageType)
Construct a new Relative Immutable Double ElectricalChargeVector.
|
MutableElectricalChargeVector(List<ElectricalCharge> values,
StorageType storageType)
Construct a new Relative Immutable Double ElectricalChargeVector.
|
MutableElectricalChargeVector(SortedMap<Integer,ElectricalCharge> values,
int length,
StorageType storageType)
Construct a new Relative Immutable Double ElectricalChargeVector.
|
Copyright © 2015–2019 Delft University of Technology. All rights reserved.