Package | Description |
---|---|
org.opentrafficsim.core.unit |
Classes for the unit system.
|
org.opentrafficsim.core.value |
Base classes for unit-based 0-d (Scalar), 1-d (Vector) and 2-d (Matrix) values.
|
org.opentrafficsim.core.value.vdouble.matrix |
Double Matrix storage and calculations with units, absolute/relative, sparse/dense.
|
org.opentrafficsim.core.value.vdouble.scalar |
Double Scalar storage and calculations with units, absolute/relative.
|
org.opentrafficsim.core.value.vdouble.vector |
Double Vector storage and calculations with units, absolute/relative, sparse/dense.
|
org.opentrafficsim.core.value.vfloat.matrix |
Float Matrix storage and calculations with units, absolute/relative, sparse/dense.
|
org.opentrafficsim.core.value.vfloat.scalar |
Float Scalar storage and calculations with units, absolute/relative.
|
org.opentrafficsim.core.value.vfloat.vector |
Float Vector storage and calculations with units, absolute/relative, sparse/dense.
|
Modifier and Type | Class and Description |
---|---|
class |
OffsetUnit<U extends Unit<U>>
The OffsetUnit provides a unit where scales can have an offset, such as the temperature scale.
|
class |
Unit<U extends Unit<U>>
All units are internally stored relative to a standard unit with conversion factor.
|
Modifier and Type | Class and Description |
---|---|
class |
AccelerationUnit
Standard acceleration units based on distance and time.
|
class |
AnglePlaneUnit
Standard plane angle unit.
|
class |
AngleSlopeUnit
Standard slope angle unit.
|
class |
AngleSolidUnit
Standard solid angle unit.
|
class |
AreaUnit
AreaUnit defines a number of common units for areas.
|
class |
DensityUnit
Standard density units based on mass and length.
|
class |
ElectricalChargeUnit
Units for electrical charge.
|
class |
ElectricalCurrentUnit
Standard units for electrical current.
|
class |
ElectricalPotentialUnit
The units of electrical potential (voltage).
|
class |
ElectricalResistanceUnit
The units of electrical resistance.
|
class |
EnergyUnit
The units of energy.
|
class |
FlowMassUnit
The mass flow rate is the mass of a substance which passes through a given surface per unit of time (wikipedia).
|
class |
FlowVolumeUnit
The volume flow rate is the volume of fluid which passes through a given surface per unit of time (wikipedia).
|
class |
ForceUnit
The units of force.
|
class |
FrequencyUnit
Standard frequency units based on time.
|
class |
LengthUnit
Standard length units.
|
class |
LinearDensityUnit
Objects per unit of distance.
|
class |
MassUnit
Standard mass units.
|
class |
OffsetUnit<U extends Unit<U>>
The OffsetUnit provides a unit where scales can have an offset, such as the temperature scale.
|
class |
PowerUnit
The units of power.
|
class |
PressureUnit
The units of pressure.
|
class |
SIUnit
Helper class to create arbitrary SI units.
|
class |
SpeedUnit
According to Wikipedia: Speed describes only how fast an object
is moving, whereas velocity gives both how fast and in what direction the object is moving.
|
class |
TemperatureUnit
Temperature units.
|
class |
TimeUnit
Standard time units.
|
class |
TorqueUnit
The units of torque (moment of force).
|
class |
VolumeUnit
VolumeUnit defines a number of common units for volumes.
|
Modifier and Type | Method and Description |
---|---|
static <V extends Unit<V>> |
Unit.getUnits(Class<V> unitClass)
Return a set of defined units for a given unit type.
|
Modifier and Type | Method and Description |
---|---|
Set<Unit<U>> |
Unit.getAllUnitsOfThisType()
Return a copy of the set of all defined units for this unit type.
|
static Set<Unit<?>> |
Unit.lookupOrCreateUnitWithSICoefficients(String normalizedSICoefficientsString) |
static Set<Unit<?>> |
Unit.lookupUnitWithSICoefficients(String normalizedSICoefficientsString) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractValue<U extends Unit<U>>
AbstractValue is a class to help construct Matrix, Complex, and Vector but it does not extend java.lang.Number.
|
class |
Scalar<U extends Unit<U>>
Basics of the Scalar type
|
interface |
Value<U extends Unit<U>>
Value is a static interface that forces implementation of a few unit- and value-related methods.
|
Modifier and Type | Method and Description |
---|---|
static double |
ValueUtil.expressAsSIUnit(double value,
Unit<?> unit)
Convert a value in a given unit into the equivalent in the standard SI unit.
|
static double |
ValueUtil.expressAsUnit(double siValue,
Unit<?> targetUnit)
Convert a value from the standard SI unit into a compatible unit.
|
Modifier and Type | Class and Description |
---|---|
class |
DoubleMatrix<U extends Unit<U>>
Immutable DoubleMatrix.
|
static class |
DoubleMatrix.Abs<U extends Unit<U>> |
static class |
DoubleMatrix.Abs.Dense<U extends Unit<U>> |
static class |
DoubleMatrix.Abs.Sparse<U extends Unit<U>> |
static class |
DoubleMatrix.Rel<U extends Unit<U>> |
static class |
DoubleMatrix.Rel.Dense<U extends Unit<U>> |
static class |
DoubleMatrix.Rel.Sparse<U extends Unit<U>> |
class |
MutableDoubleMatrix<U extends Unit<U>>
MutableDoubleMatrix.
|
static class |
MutableDoubleMatrix.Abs<U extends Unit<U>> |
static class |
MutableDoubleMatrix.Abs.Dense<U extends Unit<U>> |
static class |
MutableDoubleMatrix.Abs.Sparse<U extends Unit<U>> |
static class |
MutableDoubleMatrix.Rel<U extends Unit<U>> |
static class |
MutableDoubleMatrix.Rel.Dense<U extends Unit<U>> |
static class |
MutableDoubleMatrix.Rel.Sparse<U extends Unit<U>> |
interface |
ReadOnlyDoubleMatrixFunctions<U extends Unit<U>>
Methods that operate on DoubleMatrix but do not modify the contents of the DoubleMatrix.
|
interface |
WriteDoubleMatrixFunctions<U extends Unit<U>>
Methods that modify the data stored in a DoubleMatrix.
|
Modifier and Type | Method and Description |
---|---|
protected static <U extends Unit<U>> |
DoubleMatrix.checkNonEmpty(DoubleScalar<U>[][] dsArray)
Check that a provided array can be used to create some descendant of a DoubleMatrix.
|
static <U extends Unit<U>> |
DoubleMatrix.denseToSparse(DoubleMatrix.Abs.Dense<U> in)
Create a Sparse version of a Dense DoubleMatrix.
|
static <U extends Unit<U>> |
DoubleMatrix.denseToSparse(DoubleMatrix.Rel.Dense<U> in)
Create a Sparse version of a Dense DoubleMatrix.
|
static <U extends Unit<U>> |
DoubleMatrix.interpolate(DoubleMatrix.Abs.Dense<U> zero,
DoubleMatrix.Abs.Dense<U> one,
double ratio)
Interpolate between or extrapolate over two values.
|
static <U extends Unit<U>> |
DoubleMatrix.interpolate(DoubleMatrix.Abs.Sparse<U> zero,
DoubleMatrix.Abs.Sparse<U> one,
double ratio)
Interpolate between or extrapolate over two values.
|
static <U extends Unit<U>> |
DoubleMatrix.interpolate(DoubleMatrix.Rel.Dense<U> zero,
DoubleMatrix.Rel.Dense<U> one,
double ratio)
Interpolate between or extrapolate over two values.
|
static <U extends Unit<U>> |
DoubleMatrix.interpolate(DoubleMatrix.Rel.Sparse<U> zero,
DoubleMatrix.Rel.Sparse<U> one,
double ratio)
Interpolate between or extrapolate over two values.
|
static <U extends Unit<U>> |
DoubleMatrix.minus(DoubleMatrix.Abs.Dense<U> left,
DoubleMatrix.Abs<U> right)
Subtract two DoubleMatrices value by value and store the result in a new MutableDoubleMatrix.Rel.Dense<U>.
|
static <U extends Unit<U>> |
DoubleMatrix.minus(DoubleMatrix.Abs.Dense<U> left,
DoubleMatrix.Rel<U> right)
Subtract two DoubleMatrices value by value and store the result in a new MutableDoubleMatrix.Abs.Dense<U>.
|
static <U extends Unit<U>> |
DoubleMatrix.minus(DoubleMatrix.Abs.Sparse<U> left,
DoubleMatrix.Abs.Dense<U> right)
Subtract two DoubleMatrices value by value and store the result in a new MutableDoubleMatrix.Rel.Dense<U>.
|
static <U extends Unit<U>> |
DoubleMatrix.minus(DoubleMatrix.Abs.Sparse<U> left,
DoubleMatrix.Abs.Sparse<U> right)
Subtract two DoubleMatrices value by value and store the result in a new MutableDoubleMatrix.Rel.Sparse<U>.
|
static <U extends Unit<U>> |
DoubleMatrix.minus(DoubleMatrix.Abs.Sparse<U> left,
DoubleMatrix.Rel.Dense<U> right)
Subtract two DoubleMatrices value by value and store the result in a new MutableDoubleMatrix.Abs.Dense<U>.
|
static <U extends Unit<U>> |
DoubleMatrix.minus(DoubleMatrix.Abs.Sparse<U> left,
DoubleMatrix.Rel.Sparse<U> right)
Subtract two DoubleMatrices value by value and store the result in a new MutableDoubleMatrix.Abs.Sparse<U>.
|
static <U extends Unit<U>> |
DoubleMatrix.minus(DoubleMatrix.Rel.Dense<U> left,
DoubleMatrix.Rel<U> right)
Subtract two DoubleMatrices value by value and store the result in a new MutableDoubleMatrix.Rel.Dense<U>.
|
static <U extends Unit<U>> |
DoubleMatrix.minus(DoubleMatrix.Rel.Sparse<U> left,
DoubleMatrix.Rel.Dense<U> right)
Subtract two DoubleMatrices value by value and store the result in a new MutableDoubleMatrix.Rel.Dense<U>.
|
static <U extends Unit<U>> |
DoubleMatrix.minus(DoubleMatrix.Rel.Sparse<U> left,
DoubleMatrix.Rel.Sparse<U> right)
Subtract two DoubleMatrices value by value and store the result in a new MutableDoubleMatrix.Rel.Sparse<U>.
|
static <U extends Unit<U>> |
DoubleMatrix.plus(DoubleMatrix.Abs.Dense<U> left,
DoubleMatrix.Rel<U> right)
Add two DoubleMatrices value by value and store the result in a new MutableDoubleMatrix.Abs.Dense<U>.
|
static <U extends Unit<U>> |
DoubleMatrix.plus(DoubleMatrix.Abs.Sparse<U> left,
DoubleMatrix.Rel.Dense<U> right)
Add two DoubleMatrices value by value and store the result in a new MutableDoubleMatrix.Abs.Dense<U>.
|
static <U extends Unit<U>> |
DoubleMatrix.plus(DoubleMatrix.Abs.Sparse<U> left,
DoubleMatrix.Rel.Sparse<U> right)
Add two DoubleMatrices value by value and store the result in a new MutableDoubleMatrix.Abs.Sparse<U>.
|
static <U extends Unit<U>> |
DoubleMatrix.plus(DoubleMatrix.Rel.Dense<U> left,
DoubleMatrix.Rel<U> right)
Add two DoubleMatrices value by value and store the result in a new MutableDoubleMatrix.Rel.Dense<U>.
|
static <U extends Unit<U>> |
DoubleMatrix.plus(DoubleMatrix.Rel.Sparse<U> left,
DoubleMatrix.Rel.Dense<U> right)
Add two DoubleMatrices value by value and store the result in a new MutableDoubleMatrix.Rel.Dense<U>.
|
static <U extends Unit<U>> |
DoubleMatrix.plus(DoubleMatrix.Rel.Sparse<U> left,
DoubleMatrix.Rel.Sparse<U> right)
Add two DoubleMatrices value by value and store the result in a new MutableDoubleMatrix.Rel.Sparse<U>.
|
static <U extends Unit<U>> |
DoubleMatrix.sparseToDense(DoubleMatrix.Abs.Sparse<U> in)
Create a Dense version of a Sparse DoubleMatrix.
|
static <U extends Unit<U>> |
DoubleMatrix.sparseToDense(DoubleMatrix.Rel.Sparse<U> in)
Create a Dense version of a Sparse DoubleMatrix.
|
static <U extends Unit<U>> |
DoubleMatrix.times(DoubleMatrix.Abs.Dense<U> left,
double[][] right)
Multiply the values in a DoubleMatrix and a double array value by value and store the result in a new
MutableDoubleMatrix.Abs.Dense<U>.
|
static <U extends Unit<U>> |
DoubleMatrix.times(DoubleMatrix.Abs.Sparse<U> left,
double[][] right)
Multiply the values in a DoubleMatrix and a double array value by value and store the result in a new
MutableDoubleMatrix.Abs.Sparse<U>.
|
static <U extends Unit<U>> |
DoubleMatrix.times(DoubleMatrix.Rel.Dense<U> left,
double[][] right)
Multiply the values in a DoubleMatrix and a double array value by value and store the result in a new
MutableDoubleMatrix.Rel.Dense<U>.
|
static <U extends Unit<U>> |
DoubleMatrix.times(DoubleMatrix.Rel.Sparse<U> left,
double[][] right)
Multiply the values in a DoubleMatrix and a double array value by value and store the result in a new
MutableDoubleMatrix.Rel.Sparse<U>.
|
Modifier and Type | Class and Description |
---|---|
class |
DistContinuousDoubleScalar<U extends Unit<U>>
Copyright (c) 2013-2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
static class |
DistContinuousDoubleScalar.Abs<U extends Unit<U>>
Absolute value.
|
static class |
DistContinuousDoubleScalar.Rel<U extends Unit<U>>
Relative value.
|
class |
DistDiscreteDoubleScalar<U extends Unit<U>>
Copyright (c) 2013-2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
static class |
DistDiscreteDoubleScalar.Abs<U extends Unit<U>>
Absolute value.
|
static class |
DistDiscreteDoubleScalar.Rel<U extends Unit<U>>
Relative value.
|
class |
DoubleScalar<U extends Unit<U>>
Immutable DoubleScalar.
|
static class |
DoubleScalar.Abs<U extends Unit<U>> |
static class |
DoubleScalar.Rel<U extends Unit<U>> |
class |
MutableDoubleScalar<U extends Unit<U>>
MutableDoubleScalar.
|
static class |
MutableDoubleScalar.Abs<U extends Unit<U>> |
static class |
MutableDoubleScalar.Rel<U extends Unit<U>> |
Modifier and Type | Method and Description |
---|---|
static <U extends Unit<U>> |
DoubleScalar.interpolate(DoubleScalar.Abs<U> zero,
DoubleScalar.Abs<U> one,
double ratio)
Interpolate between or extrapolate over two values.
|
static <U extends Unit<U>> |
DoubleScalar.interpolate(DoubleScalar.Rel<U> zero,
DoubleScalar.Rel<U> one,
double ratio)
Interpolate between or extrapolate over two values.
|
static <U extends Unit<U>> |
DoubleScalar.minus(DoubleScalar.Abs<U> valueAbs1,
DoubleScalar.Abs<U> valueAbs2)
Subtract two absolute values.
|
static <U extends Unit<U>> |
DoubleScalar.minus(DoubleScalar.Abs<U> left,
DoubleScalar.Rel<U> right)
Subtract a Relative value from an absolute value.
|
static <U extends Unit<U>> |
DoubleScalar.minus(DoubleScalar.Rel<U> left,
DoubleScalar.Rel<U> right)
Subtract a relative value from a relative value.
|
static <U extends Unit<U>> |
DoubleScalar.plus(DoubleScalar.Abs<U> left,
DoubleScalar.Rel<U> right)
Add a Relative value to an Absolute value.
|
static <U extends Unit<U>> |
DoubleScalar.plus(DoubleScalar.Rel<U> left,
DoubleScalar.Rel<U> right)
Add a Relative value to a Relative value.
|
Modifier and Type | Class and Description |
---|---|
class |
DoubleVector<U extends Unit<U>>
Immutable DoubleVector.
|
static class |
DoubleVector.Abs<U extends Unit<U>> |
static class |
DoubleVector.Abs.Dense<U extends Unit<U>> |
static class |
DoubleVector.Abs.Sparse<U extends Unit<U>> |
static class |
DoubleVector.Rel<U extends Unit<U>> |
static class |
DoubleVector.Rel.Dense<U extends Unit<U>> |
static class |
DoubleVector.Rel.Sparse<U extends Unit<U>> |
class |
MutableDoubleVector<U extends Unit<U>>
MutableDoubleVector.
|
static class |
MutableDoubleVector.Abs<U extends Unit<U>> |
static class |
MutableDoubleVector.Abs.Dense<U extends Unit<U>> |
static class |
MutableDoubleVector.Abs.Sparse<U extends Unit<U>> |
static class |
MutableDoubleVector.Rel<U extends Unit<U>> |
static class |
MutableDoubleVector.Rel.Dense<U extends Unit<U>> |
static class |
MutableDoubleVector.Rel.Sparse<U extends Unit<U>> |
interface |
ReadOnlyDoubleVectorFunctions<U extends Unit<U>>
Methods that operate on DoubleVector but do not modify the contents of the DoubleVector.
|
interface |
WriteDoubleVectorFunctions<U extends Unit<U>>
Methods that modify the data stored in a DoubleVector.
|
Modifier and Type | Method and Description |
---|---|
protected static <U extends Unit<U>> |
DoubleVector.checkNonEmpty(DoubleScalar<U>[] dsArray)
Check that a provided array can be used to create some descendant of a DoubleVector.
|
static <U extends Unit<U>> |
DoubleVector.denseToSparse(DoubleVector.Abs.Dense<U> in)
Create a Sparse version of a Dense DoubleVector.
|
static <U extends Unit<U>> |
DoubleVector.denseToSparse(DoubleVector.Rel.Dense<U> in)
Create a Sparse version of a Dense DoubleVector.
|
static <U extends Unit<U>> |
DoubleVector.interpolate(DoubleVector.Abs.Dense<U> zero,
DoubleVector.Abs.Dense<U> one,
double ratio)
Interpolate between or extrapolate over two values.
|
static <U extends Unit<U>> |
DoubleVector.interpolate(DoubleVector.Abs.Sparse<U> zero,
DoubleVector.Abs.Sparse<U> one,
double ratio)
Interpolate between or extrapolate over two values.
|
static <U extends Unit<U>> |
DoubleVector.interpolate(DoubleVector.Rel.Dense<U> zero,
DoubleVector.Rel.Dense<U> one,
double ratio)
Interpolate between or extrapolate over two values.
|
static <U extends Unit<U>> |
DoubleVector.interpolate(DoubleVector.Rel.Sparse<U> zero,
DoubleVector.Rel.Sparse<U> one,
double ratio)
Interpolate between or extrapolate over two values.
|
static <U extends Unit<U>> |
DoubleVector.minus(DoubleVector.Abs.Dense<U> left,
DoubleVector.Abs<U> right)
Subtract two DoubleVectors value by value and store the result in a new MutableDoubleVector.Rel.Dense<U>.
|
static <U extends Unit<U>> |
DoubleVector.minus(DoubleVector.Abs.Dense<U> left,
DoubleVector.Rel<U> right)
Subtract two DoubleVectors value by value and store the result in a new MutableDoubleVector.Abs.Dense<U>.
|
static <U extends Unit<U>> |
DoubleVector.minus(DoubleVector.Abs.Sparse<U> left,
DoubleVector.Abs.Dense<U> right)
Subtract two DoubleVectors value by value and store the result in a new MutableDoubleVector.Rel.Dense<U>.
|
static <U extends Unit<U>> |
DoubleVector.minus(DoubleVector.Abs.Sparse<U> left,
DoubleVector.Abs.Sparse<U> right)
Subtract two DoubleVectors value by value and store the result in a new MutableDoubleVector.Rel.Sparse<U>.
|
static <U extends Unit<U>> |
DoubleVector.minus(DoubleVector.Abs.Sparse<U> left,
DoubleVector.Rel.Dense<U> right)
Subtract two DoubleVectors value by value and store the result in a new MutableDoubleVector.Abs.Dense<U>.
|
static <U extends Unit<U>> |
DoubleVector.minus(DoubleVector.Abs.Sparse<U> left,
DoubleVector.Rel.Sparse<U> right)
Subtract two DoubleVectors value by value and store the result in a new MutableDoubleVector.Abs.Sparse<U>.
|
static <U extends Unit<U>> |
DoubleVector.minus(DoubleVector.Rel.Dense<U> left,
DoubleVector.Rel<U> right)
Subtract two DoubleVectors value by value and store the result in a new MutableDoubleVector.Rel.Dense<U>.
|
static <U extends Unit<U>> |
DoubleVector.minus(DoubleVector.Rel.Sparse<U> left,
DoubleVector.Rel.Dense<U> right)
Subtract two DoubleVectors value by value and store the result in a new MutableDoubleVector.Rel.Dense<U>.
|
static <U extends Unit<U>> |
DoubleVector.minus(DoubleVector.Rel.Sparse<U> left,
DoubleVector.Rel.Sparse<U> right)
Subtract two DoubleVectors value by value and store the result in a new MutableDoubleVector.Rel.Sparse<U>.
|
static <U extends Unit<U>> |
DoubleVector.plus(DoubleVector.Abs.Dense<U> left,
DoubleVector.Rel<U> right)
Add two DoubleVectors value by value and store the result in a new MutableDoubleVector.Abs.Dense<U>.
|
static <U extends Unit<U>> |
DoubleVector.plus(DoubleVector.Abs.Sparse<U> left,
DoubleVector.Rel.Dense<U> right)
Add two DoubleVectors value by value and store the result in a new MutableDoubleVector.Abs.Dense<U>.
|
static <U extends Unit<U>> |
DoubleVector.plus(DoubleVector.Abs.Sparse<U> left,
DoubleVector.Rel.Sparse<U> right)
Add two DoubleVectors value by value and store the result in a new MutableDoubleVector.Abs.Sparse<U>.
|
static <U extends Unit<U>> |
DoubleVector.plus(DoubleVector.Rel.Dense<U> left,
DoubleVector.Rel<U> right)
Add two DoubleVectors value by value and store the result in a new MutableDoubleVector.Rel.Dense<U>.
|
static <U extends Unit<U>> |
DoubleVector.plus(DoubleVector.Rel.Sparse<U> left,
DoubleVector.Rel.Dense<U> right)
Add two DoubleVectors value by value and store the result in a new MutableDoubleVector.Rel.Dense<U>.
|
static <U extends Unit<U>> |
DoubleVector.plus(DoubleVector.Rel.Sparse<U> left,
DoubleVector.Rel.Sparse<U> right)
Add two DoubleVectors value by value and store the result in a new MutableDoubleVector.Rel.Sparse<U>.
|
static <U extends Unit<U>> |
DoubleVector.sparseToDense(DoubleVector.Abs.Sparse<U> in)
Create a Dense version of a Sparse DoubleVector.
|
static <U extends Unit<U>> |
DoubleVector.sparseToDense(DoubleVector.Rel.Sparse<U> in)
Create a Dense version of a Sparse DoubleVector.
|
static <U extends Unit<U>> |
DoubleVector.times(DoubleVector.Abs.Dense<U> left,
double[] right)
Multiply the values in a DoubleVector and a double array value by value and store the result in a new
MutableDoubleVector.Abs.Dense<U>.
|
static <U extends Unit<U>> |
DoubleVector.times(DoubleVector.Abs.Sparse<U> left,
double[] right)
Multiply the values in a DoubleVector and a double array value by value and store the result in a new
MutableDoubleVector.Abs.Sparse<U>.
|
static <U extends Unit<U>> |
DoubleVector.times(DoubleVector.Rel.Dense<U> left,
double[] right)
Multiply the values in a DoubleVector and a double array value by value and store the result in a new
MutableDoubleVector.Rel.Dense<U>.
|
static <U extends Unit<U>> |
DoubleVector.times(DoubleVector.Rel.Sparse<U> left,
double[] right)
Multiply the values in a DoubleVector and a double array value by value and store the result in a new
MutableDoubleVector.Rel.Sparse<U>.
|
Modifier and Type | Class and Description |
---|---|
class |
FloatMatrix<U extends Unit<U>>
Immutable FloatMatrix.
|
static class |
FloatMatrix.Abs<U extends Unit<U>> |
static class |
FloatMatrix.Abs.Dense<U extends Unit<U>> |
static class |
FloatMatrix.Abs.Sparse<U extends Unit<U>> |
static class |
FloatMatrix.Rel<U extends Unit<U>> |
static class |
FloatMatrix.Rel.Dense<U extends Unit<U>> |
static class |
FloatMatrix.Rel.Sparse<U extends Unit<U>> |
class |
MutableFloatMatrix<U extends Unit<U>>
MutableFloatMatrix.
|
static class |
MutableFloatMatrix.Abs<U extends Unit<U>> |
static class |
MutableFloatMatrix.Abs.Dense<U extends Unit<U>> |
static class |
MutableFloatMatrix.Abs.Sparse<U extends Unit<U>> |
static class |
MutableFloatMatrix.Rel<U extends Unit<U>> |
static class |
MutableFloatMatrix.Rel.Dense<U extends Unit<U>> |
static class |
MutableFloatMatrix.Rel.Sparse<U extends Unit<U>> |
interface |
ReadOnlyFloatMatrixFunctions<U extends Unit<U>>
Methods that operate on FloatMatrix but do not modify the contents of the FloatMatrix.
|
interface |
WriteFloatMatrixFunctions<U extends Unit<U>>
Methods that modify the data stored in a FloatMatrix.
|
Modifier and Type | Method and Description |
---|---|
protected static <U extends Unit<U>> |
FloatMatrix.checkNonEmpty(FloatScalar<U>[][] fsArray)
Check that a provided array can be used to create some descendant of a FloatMatrix.
|
static <U extends Unit<U>> |
FloatMatrix.denseToSparse(FloatMatrix.Abs.Dense<U> in)
Create a Sparse version of a Dense FloatMatrix.
|
static <U extends Unit<U>> |
FloatMatrix.denseToSparse(FloatMatrix.Rel.Dense<U> in)
Create a Sparse version of a Dense FloatMatrix.
|
static <U extends Unit<U>> |
FloatMatrix.interpolate(FloatMatrix.Abs.Dense<U> zero,
FloatMatrix.Abs.Dense<U> one,
float ratio)
Interpolate between or extrapolate over two values.
|
static <U extends Unit<U>> |
FloatMatrix.interpolate(FloatMatrix.Abs.Sparse<U> zero,
FloatMatrix.Abs.Sparse<U> one,
float ratio)
Interpolate between or extrapolate over two values.
|
static <U extends Unit<U>> |
FloatMatrix.interpolate(FloatMatrix.Rel.Dense<U> zero,
FloatMatrix.Rel.Dense<U> one,
float ratio)
Interpolate between or extrapolate over two values.
|
static <U extends Unit<U>> |
FloatMatrix.interpolate(FloatMatrix.Rel.Sparse<U> zero,
FloatMatrix.Rel.Sparse<U> one,
float ratio)
Interpolate between or extrapolate over two values.
|
static <U extends Unit<U>> |
FloatMatrix.minus(FloatMatrix.Abs.Dense<U> left,
FloatMatrix.Abs<U> right)
Subtract two FloatMatrices value by value and store the result in a new MutableFloatMatrix.Rel.Dense<U>.
|
static <U extends Unit<U>> |
FloatMatrix.minus(FloatMatrix.Abs.Dense<U> left,
FloatMatrix.Rel<U> right)
Subtract two FloatMatrices value by value and store the result in a new MutableFloatMatrix.Abs.Dense<U>.
|
static <U extends Unit<U>> |
FloatMatrix.minus(FloatMatrix.Abs.Sparse<U> left,
FloatMatrix.Abs.Dense<U> right)
Subtract two FloatMatrices value by value and store the result in a new MutableFloatMatrix.Rel.Dense<U>.
|
static <U extends Unit<U>> |
FloatMatrix.minus(FloatMatrix.Abs.Sparse<U> left,
FloatMatrix.Abs.Sparse<U> right)
Subtract two FloatMatrices value by value and store the result in a new MutableFloatMatrix.Rel.Sparse<U>.
|
static <U extends Unit<U>> |
FloatMatrix.minus(FloatMatrix.Abs.Sparse<U> left,
FloatMatrix.Rel.Dense<U> right)
Subtract two FloatMatrices value by value and store the result in a new MutableFloatMatrix.Abs.Dense<U>.
|
static <U extends Unit<U>> |
FloatMatrix.minus(FloatMatrix.Abs.Sparse<U> left,
FloatMatrix.Rel.Sparse<U> right)
Subtract two FloatMatrices value by value and store the result in a new MutableFloatMatrix.Abs.Sparse<U>.
|
static <U extends Unit<U>> |
FloatMatrix.minus(FloatMatrix.Rel.Dense<U> left,
FloatMatrix.Rel<U> right)
Subtract two FloatMatrices value by value and store the result in a new MutableFloatMatrix.Rel.Dense<U>.
|
static <U extends Unit<U>> |
FloatMatrix.minus(FloatMatrix.Rel.Sparse<U> left,
FloatMatrix.Rel.Dense<U> right)
Subtract two FloatMatrices value by value and store the result in a new MutableFloatMatrix.Rel.Dense<U>.
|
static <U extends Unit<U>> |
FloatMatrix.minus(FloatMatrix.Rel.Sparse<U> left,
FloatMatrix.Rel.Sparse<U> right)
Subtract two FloatMatrices value by value and store the result in a new MutableFloatMatrix.Rel.Sparse<U>.
|
static <U extends Unit<U>> |
FloatMatrix.plus(FloatMatrix.Abs.Dense<U> left,
FloatMatrix.Rel<U> right)
Add two FloatMatrices value by value and store the result in a new MutableFloatMatrix.Abs.Dense<U>.
|
static <U extends Unit<U>> |
FloatMatrix.plus(FloatMatrix.Abs.Sparse<U> left,
FloatMatrix.Rel.Dense<U> right)
Add two FloatMatrices value by value and store the result in a new MutableFloatMatrix.Abs.Dense<U>.
|
static <U extends Unit<U>> |
FloatMatrix.plus(FloatMatrix.Abs.Sparse<U> left,
FloatMatrix.Rel.Sparse<U> right)
Add two FloatMatrices value by value and store the result in a new MutableFloatMatrix.Abs.Sparse<U>.
|
static <U extends Unit<U>> |
FloatMatrix.plus(FloatMatrix.Rel.Dense<U> left,
FloatMatrix.Rel<U> right)
Add two FloatMatrices value by value and store the result in a new MutableFloatMatrix.Rel.Dense<U>.
|
static <U extends Unit<U>> |
FloatMatrix.plus(FloatMatrix.Rel.Sparse<U> left,
FloatMatrix.Rel.Dense<U> right)
Add two FloatMatrices value by value and store the result in a new MutableFloatMatrix.Rel.Dense<U>.
|
static <U extends Unit<U>> |
FloatMatrix.plus(FloatMatrix.Rel.Sparse<U> left,
FloatMatrix.Rel.Sparse<U> right)
Add two FloatMatrices value by value and store the result in a new MutableFloatMatrix.Rel.Sparse<U>.
|
static <U extends Unit<U>> |
FloatMatrix.sparseToDense(FloatMatrix.Abs.Sparse<U> in)
Create a Dense version of a Sparse FloatMatrix.
|
static <U extends Unit<U>> |
FloatMatrix.sparseToDense(FloatMatrix.Rel.Sparse<U> in)
Create a Dense version of a Sparse FloatMatrix.
|
static <U extends Unit<U>> |
FloatMatrix.times(FloatMatrix.Abs.Dense<U> left,
float[][] right)
Multiply the values in a FloatMatrix and a float array value by value and store the result in a new
MutableFloatMatrix.Abs.Dense<U>.
|
static <U extends Unit<U>> |
FloatMatrix.times(FloatMatrix.Abs.Sparse<U> left,
float[][] right)
Multiply the values in a FloatMatrix and a float array value by value and store the result in a new
MutableFloatMatrix.Abs.Sparse<U>.
|
static <U extends Unit<U>> |
FloatMatrix.times(FloatMatrix.Rel.Dense<U> left,
float[][] right)
Multiply the values in a FloatMatrix and a float array value by value and store the result in a new
MutableFloatMatrix.Rel.Dense<U>.
|
static <U extends Unit<U>> |
FloatMatrix.times(FloatMatrix.Rel.Sparse<U> left,
float[][] right)
Multiply the values in a FloatMatrix and a float array value by value and store the result in a new
MutableFloatMatrix.Rel.Sparse<U>.
|
Modifier and Type | Class and Description |
---|---|
class |
DistContinuousFloatScalar<U extends Unit<U>>
Copyright (c) 2013-2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
static class |
DistContinuousFloatScalar.Abs<U extends Unit<U>>
Absolute value.
|
static class |
DistContinuousFloatScalar.Rel<U extends Unit<U>>
Relative value.
|
class |
DistDiscreteFloatScalar<U extends Unit<U>>
Copyright (c) 2013-2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
static class |
DistDiscreteFloatScalar.Abs<U extends Unit<U>>
Absolute value.
|
static class |
DistDiscreteFloatScalar.Rel<U extends Unit<U>>
Relative value.
|
class |
FloatScalar<U extends Unit<U>>
Immutable FloatScalar.
|
static class |
FloatScalar.Abs<U extends Unit<U>> |
static class |
FloatScalar.Rel<U extends Unit<U>> |
class |
MutableFloatScalar<U extends Unit<U>>
MutableFloatScalar.
|
static class |
MutableFloatScalar.Abs<U extends Unit<U>> |
static class |
MutableFloatScalar.Rel<U extends Unit<U>> |
Modifier and Type | Method and Description |
---|---|
static <U extends Unit<U>> |
FloatScalar.interpolate(FloatScalar.Abs<U> zero,
FloatScalar.Abs<U> one,
float ratio)
Interpolate between or extrapolate over two values.
|
static <U extends Unit<U>> |
FloatScalar.interpolate(FloatScalar.Rel<U> zero,
FloatScalar.Rel<U> one,
float ratio)
Interpolate between or extrapolate over two values.
|
static <U extends Unit<U>> |
FloatScalar.minus(FloatScalar.Abs<U> valueAbs1,
FloatScalar.Abs<U> valueAbs2)
Subtract two absolute values.
|
static <U extends Unit<U>> |
FloatScalar.minus(FloatScalar.Abs<U> left,
FloatScalar.Rel<U> right)
Subtract a Relative value from an absolute value.
|
static <U extends Unit<U>> |
FloatScalar.minus(FloatScalar.Rel<U> left,
FloatScalar.Rel<U> right)
Subtract a relative value from a relative value.
|
static <U extends Unit<U>> |
FloatScalar.plus(FloatScalar.Abs<U> left,
FloatScalar.Rel<U> right)
Add a Relative value to an Absolute value.
|
static <U extends Unit<U>> |
FloatScalar.plus(FloatScalar.Rel<U> left,
FloatScalar.Rel<U> right)
Add a Relative value to a Relative value.
|
Modifier and Type | Class and Description |
---|---|
class |
FloatVector<U extends Unit<U>>
Immutable FloatVector.
|
static class |
FloatVector.Abs<U extends Unit<U>> |
static class |
FloatVector.Abs.Dense<U extends Unit<U>> |
static class |
FloatVector.Abs.Sparse<U extends Unit<U>> |
static class |
FloatVector.Rel<U extends Unit<U>> |
static class |
FloatVector.Rel.Dense<U extends Unit<U>> |
static class |
FloatVector.Rel.Sparse<U extends Unit<U>> |
class |
MutableFloatVector<U extends Unit<U>>
MutableFloatVector.
|
static class |
MutableFloatVector.Abs<U extends Unit<U>> |
static class |
MutableFloatVector.Abs.Dense<U extends Unit<U>> |
static class |
MutableFloatVector.Abs.Sparse<U extends Unit<U>> |
static class |
MutableFloatVector.Rel<U extends Unit<U>> |
static class |
MutableFloatVector.Rel.Dense<U extends Unit<U>> |
static class |
MutableFloatVector.Rel.Sparse<U extends Unit<U>> |
interface |
ReadOnlyFloatVectorFunctions<U extends Unit<U>>
Methods that operate on FloatVector but do not modify the contents of the FloatVector.
|
interface |
WriteFloatVectorFunctions<U extends Unit<U>>
Methods that modify the data stored in a FloatVector.
|
Modifier and Type | Method and Description |
---|---|
protected static <U extends Unit<U>> |
FloatVector.checkNonEmpty(FloatScalar<U>[] fsArray)
Check that a provided array can be used to create some descendant of a FloatVector.
|
static <U extends Unit<U>> |
FloatVector.denseToSparse(FloatVector.Abs.Dense<U> in)
Create a Sparse version of a Dense FloatVector.
|
static <U extends Unit<U>> |
FloatVector.denseToSparse(FloatVector.Rel.Dense<U> in)
Create a Sparse version of a Dense FloatVector.
|
static <U extends Unit<U>> |
FloatVector.interpolate(FloatVector.Abs.Dense<U> zero,
FloatVector.Abs.Dense<U> one,
float ratio)
Interpolate between or extrapolate over two values.
|
static <U extends Unit<U>> |
FloatVector.interpolate(FloatVector.Abs.Sparse<U> zero,
FloatVector.Abs.Sparse<U> one,
float ratio)
Interpolate between or extrapolate over two values.
|
static <U extends Unit<U>> |
FloatVector.interpolate(FloatVector.Rel.Dense<U> zero,
FloatVector.Rel.Dense<U> one,
float ratio)
Interpolate between or extrapolate over two values.
|
static <U extends Unit<U>> |
FloatVector.interpolate(FloatVector.Rel.Sparse<U> zero,
FloatVector.Rel.Sparse<U> one,
float ratio)
Interpolate between or extrapolate over two values.
|
static <U extends Unit<U>> |
FloatVector.minus(FloatVector.Abs.Dense<U> left,
FloatVector.Abs<U> right)
Subtract two FloatVectors value by value and store the result in a new MutableFloatVector.Rel.Dense<U>.
|
static <U extends Unit<U>> |
FloatVector.minus(FloatVector.Abs.Dense<U> left,
FloatVector.Rel<U> right)
Subtract two FloatVectors value by value and store the result in a new MutableFloatVector.Abs.Dense<U>.
|
static <U extends Unit<U>> |
FloatVector.minus(FloatVector.Abs.Sparse<U> left,
FloatVector.Abs.Dense<U> right)
Subtract two FloatVectors value by value and store the result in a new MutableFloatVector.Rel.Dense<U>.
|
static <U extends Unit<U>> |
FloatVector.minus(FloatVector.Abs.Sparse<U> left,
FloatVector.Abs.Sparse<U> right)
Subtract two FloatVectors value by value and store the result in a new MutableFloatVector.Rel.Sparse<U>.
|
static <U extends Unit<U>> |
FloatVector.minus(FloatVector.Abs.Sparse<U> left,
FloatVector.Rel.Dense<U> right)
Subtract two FloatVectors value by value and store the result in a new MutableFloatVector.Abs.Dense<U>.
|
static <U extends Unit<U>> |
FloatVector.minus(FloatVector.Abs.Sparse<U> left,
FloatVector.Rel.Sparse<U> right)
Subtract two FloatVectors value by value and store the result in a new MutableFloatVector.Abs.Sparse<U>.
|
static <U extends Unit<U>> |
FloatVector.minus(FloatVector.Rel.Dense<U> left,
FloatVector.Rel<U> right)
Subtract two FloatVectors value by value and store the result in a new MutableFloatVector.Rel.Dense<U>.
|
static <U extends Unit<U>> |
FloatVector.minus(FloatVector.Rel.Sparse<U> left,
FloatVector.Rel.Dense<U> right)
Subtract two FloatVectors value by value and store the result in a new MutableFloatVector.Rel.Dense<U>.
|
static <U extends Unit<U>> |
FloatVector.minus(FloatVector.Rel.Sparse<U> left,
FloatVector.Rel.Sparse<U> right)
Subtract two FloatVectors value by value and store the result in a new MutableFloatVector.Rel.Sparse<U>.
|
static <U extends Unit<U>> |
FloatVector.plus(FloatVector.Abs.Dense<U> left,
FloatVector.Rel<U> right)
Add two FloatVectors value by value and store the result in a new MutableFloatVector.Abs.Dense<U>.
|
static <U extends Unit<U>> |
FloatVector.plus(FloatVector.Abs.Sparse<U> left,
FloatVector.Rel.Dense<U> right)
Add two FloatVectors value by value and store the result in a new MutableFloatVector.Abs.Dense<U>.
|
static <U extends Unit<U>> |
FloatVector.plus(FloatVector.Abs.Sparse<U> left,
FloatVector.Rel.Sparse<U> right)
Add two FloatVectors value by value and store the result in a new MutableFloatVector.Abs.Sparse<U>.
|
static <U extends Unit<U>> |
FloatVector.plus(FloatVector.Rel.Dense<U> left,
FloatVector.Rel<U> right)
Add two FloatVectors value by value and store the result in a new MutableFloatVector.Rel.Dense<U>.
|
static <U extends Unit<U>> |
FloatVector.plus(FloatVector.Rel.Sparse<U> left,
FloatVector.Rel.Dense<U> right)
Add two FloatVectors value by value and store the result in a new MutableFloatVector.Rel.Dense<U>.
|
static <U extends Unit<U>> |
FloatVector.plus(FloatVector.Rel.Sparse<U> left,
FloatVector.Rel.Sparse<U> right)
Add two FloatVectors value by value and store the result in a new MutableFloatVector.Rel.Sparse<U>.
|
static <U extends Unit<U>> |
FloatVector.sparseToDense(FloatVector.Abs.Sparse<U> in)
Create a Dense version of a Sparse FloatVector.
|
static <U extends Unit<U>> |
FloatVector.sparseToDense(FloatVector.Rel.Sparse<U> in)
Create a Dense version of a Sparse FloatVector.
|
static <U extends Unit<U>> |
FloatVector.times(FloatVector.Abs.Dense<U> left,
float[] right)
Multiply the values in a FloatVector and a float array value by value and store the result in a new
MutableFloatVector.Abs.Dense<U>.
|
static <U extends Unit<U>> |
FloatVector.times(FloatVector.Abs.Sparse<U> left,
float[] right)
Multiply the values in a FloatVector and a float array value by value and store the result in a new
MutableFloatVector.Abs.Sparse<U>.
|
static <U extends Unit<U>> |
FloatVector.times(FloatVector.Rel.Dense<U> left,
float[] right)
Multiply the values in a FloatVector and a float array value by value and store the result in a new
MutableFloatVector.Rel.Dense<U>.
|
static <U extends Unit<U>> |
FloatVector.times(FloatVector.Rel.Sparse<U> left,
float[] right)
Multiply the values in a FloatVector and a float array value by value and store the result in a new
MutableFloatVector.Rel.Sparse<U>.
|
Copyright © 2014–2015 Delft University of Technology. All rights reserved.