Uses of Class
org.djunits.value.ValueRuntimeException
Package
Description
Base value interfaces and classes, e.g. to distinguish between scalar, vector and matrix..
Double Matrix storage and calculations with units, absolute/relative, sparse/dense.
Interfaces, abstract classes and utilities for DoubleMatrix.
Internal data storage for the Matrix.
Interfaces, abstract classes and utilities for DoubleVector.
Internal data storage for the Vector.
Float Matrix storage and calculations with units, absolute/relative, sparse/dense.
Interfaces, abstract classes and utilities for FloatMatrix.
package-info.java.
Interfaces, abstract classes and utilities for FloatVector.
Internal storage for the FloatVector.
-
Uses of ValueRuntimeException in org.djunits.value.base
Modifier and TypeMethodDescriptionabstract V
Matrix.getDiagonal()
Retrieve the main diagonal of the matrix as a vector.abstract S[]
Matrix.getDiagonalScalars()
Retrieve the main diagonal of the matrix as an array of scalars. -
Uses of ValueRuntimeException in org.djunits.value.vdouble.matrix
ModifierConstructorDescriptionConstruct a new Relative Double SIMatrix with a unit for the float values that will also be used for the displayUnit.SIMatrix
(double[][] values, SIUnit unit, StorageType storageType) Construct a new Relative Double SIMatrix with a unit for the float values that will also be used for the displayUnit. -
Uses of ValueRuntimeException in org.djunits.value.vdouble.matrix.base
Modifier and TypeMethodDescriptionprotected final void
DoubleMatrix.checkSquare()
Check that the matrix is square.final double
DoubleMatrix.determinantSI()
Compute the determinant of the matrix, based on the SI values in the matrix.final <UT extends Unit<UT>,
ST extends DoubleScalar<UT, ST>, VT extends DoubleVector<UT, ST, VT>, MT extends DoubleMatrix<UT, ST, VT, MT> & Relative<UT, MT>>
SIMatrixDoubleMatrixRel.divide
(MT rel) Divide this Relative matrix by another Relative matrix.DoubleMatrix.getDiagonal()
S[]
DoubleMatrix.getDiagonalScalars()
double[]
DoubleMatrix.getDiagonalSI()
Retrieve the main diagonal of the matrix as an array of double.final RM
final RM
final <UT extends Unit<UT>,
ST extends DoubleScalar<UT, ST>, VT extends DoubleVector<UT, ST, VT>, MT extends DoubleMatrix<UT, ST, VT, MT> & Relative<UT, MT>>
SIMatrixDoubleMatrixRel.times
(MT rel) Multiply a Relative value with this Relative value for a matrix or matrix. -
Uses of ValueRuntimeException in org.djunits.value.vdouble.matrix.data
Modifier and TypeMethodDescription(package private) abstract DoubleMatrixData
DoubleMatrixData.assign
(DoubleFunction2 doubleFunction2, DoubleMatrixData right) Apply a binary operation on a cell by cell basis.protected static double[][]
DoubleMatrixData.checkRectangularAndNonNull
(double[][] values) Check that a 2D array of float is not null, not empty and not jagged; i.e. all rows have the same length.protected static <U extends Unit<U>,
S extends DoubleScalar<U, S>>
S[][]DoubleMatrixData.checkRectangularAndNonNull
(S[][] values) Check that a 2D array of float is not null, not empty and not jagged; i.e. all rows have the same length.protected void
DoubleMatrixData.checkSizes
(DoubleMatrixData other) Check the sizes of this data object and the other data object.final DoubleMatrixData
DoubleMatrixData.decrementBy
(DoubleMatrixData decrement) Subtract a matrix from this matrix on a cell-by-cell basis.abstract DoubleMatrixData
DoubleMatrixData.divide
(DoubleMatrixData right) Divide two matrices on a cell-by-cell basis.DoubleMatrixDataDense.divide
(DoubleMatrixData right) DoubleMatrixDataSparse.divide
(DoubleMatrixData right) final DoubleMatrixData
DoubleMatrixData.divideBy
(DoubleMatrixData right) Divide the values of a matrix by the values of another matrix on a cell-by-cell basis.final DoubleMatrixData
DoubleMatrixData.incrementBy
(DoubleMatrixData right) Add a matrix to this matrix on a cell-by-cell basis.static DoubleMatrixData
DoubleMatrixData.instantiate
(double[][] values, Scale scale, StorageType storageType) Instantiate a DoubleMatrixData with the right data type.static <U extends Unit<U>,
S extends DoubleScalar<U, S>>
DoubleMatrixDataDoubleMatrixData.instantiate
(Collection<DoubleSparseValue<U, S>> values, int rows, int cols, StorageType storageType) Instantiate a DoubleMatrixData with the right data type.static <U extends Unit<U>,
S extends DoubleScalar<U, S>>
DoubleMatrixDataDoubleMatrixData.instantiate
(S[][] values, StorageType storageType) Instantiate a DoubleMatrixData with the right data type.static DoubleMatrixDataSparse
DoubleMatrixDataSparse.instantiate
(double[][] valuesSI) Instantiate a DoubleMatrixDataSparse from an array.static DoubleMatrixDataSparse
DoubleMatrixDataSparse.instantiate
(double[][] values, Scale scale) Instantiate a DoubleMatrixDataSparse from an array.abstract DoubleMatrixData
DoubleMatrixData.minus
(DoubleMatrixData right) Subtract two matrices on a cell-by-cell basis.final DoubleMatrixData
DoubleMatrixData.multiplyBy
(DoubleMatrixData right) Multiply a matrix with the values of another matrix on a cell-by-cell basis.abstract DoubleMatrixData
DoubleMatrixData.plus
(DoubleMatrixData right) Add two matrices on a cell-by-cell basis.DoubleMatrixDataDense.plus
(DoubleMatrixData right) DoubleMatrixDataSparse.plus
(DoubleMatrixData right) abstract DoubleMatrixData
DoubleMatrixData.times
(DoubleMatrixData right) Multiply two matrices on a cell-by-cell basis.DoubleMatrixDataDense.times
(DoubleMatrixData right) DoubleMatrixDataSparse.times
(DoubleMatrixData right) ModifierConstructorDescriptionDoubleMatrixDataDense
(double[][] matrixSI) Create a matrix with dense data.DoubleMatrixDataDense
(double[] matrixSI, int rows, int cols) Create a matrix with dense data. -
Uses of ValueRuntimeException in org.djunits.value.vdouble.vector.base
Modifier and TypeMethodDescriptionprotected final void
DoubleVector.checkSize
(DoubleVector<?, ?, ?> other) Centralized size equality check.final <UT extends Unit<UT>,
ST extends DoubleScalarRel<UT, ST>, VT extends DoubleVectorRel<UT, ST, VT>>
SIVectorDoubleVectorRel.divide
(VT rel) Divide this Relative value by a Relative value for a vector or matrix.final RV
final RV
final <UT extends Unit<UT>,
ST extends DoubleScalarRel<UT, ST>, VT extends DoubleVectorRel<UT, ST, VT> & Relative<UT, VT>>
SIVectorDoubleVectorRel.times
(VT rel) Multiply a Relative value with this Relative value for a vector or matrix. -
Uses of ValueRuntimeException in org.djunits.value.vdouble.vector.data
Modifier and TypeMethodDescription(package private) abstract DoubleVectorData
DoubleVectorData.assign
(DoubleFunction2 doubleFunction2, DoubleVectorData right) Apply a binary operation on a cell by cell basis.protected void
DoubleVectorData.checkSizes
(DoubleVectorData other) Check the sizes of this data object and the other data object.final DoubleVectorData
DoubleVectorData.decrementBy
(DoubleVectorData right) Subtract a vector from this vector on a cell-by-cell basis.abstract DoubleVectorData
DoubleVectorData.divide
(DoubleVectorData right) Divide two vectors on a cell-by-cell basis.final DoubleVectorData
DoubleVectorDataSparse.divide
(DoubleVectorData right) final DoubleVectorData
DoubleVectorData.divideBy
(DoubleVectorData right) Divide the values of a vector by the values of another vector on a cell-by-cell basis.final DoubleVectorData
DoubleVectorData.incrementBy
(DoubleVectorData right) Add a vector to this vector on a cell-by-cell basis.abstract DoubleVectorData
DoubleVectorData.minus
(DoubleVectorData right) Subtract two vectors on a cell-by-cell basis.final DoubleVectorData
DoubleVectorData.multiplyBy
(DoubleVectorData right) Multiply a vector with the values of another vector on a cell-by-cell basis.abstract DoubleVectorData
DoubleVectorData.plus
(DoubleVectorData right) Add two vectors on a cell-by-cell basis.abstract DoubleVectorData
DoubleVectorData.times
(DoubleVectorData right) Multiply two vectors on a cell-by-cell basis. -
Uses of ValueRuntimeException in org.djunits.value.vfloat.matrix
ModifierConstructorDescriptionFloatSIMatrix
(float[][] values, SIUnit unit) Construct a new Relative FloatSIMatrix with a unit for the float values that will also be used for the displayUnit.FloatSIMatrix
(float[][] values, SIUnit unit, StorageType storageType) Construct a new Relative FloatSIMatrix with a unit for the float values that will also be used for the displayUnit. -
Uses of ValueRuntimeException in org.djunits.value.vfloat.matrix.base
Modifier and TypeMethodDescriptionprotected final void
FloatMatrix.checkSquare()
Check that the matrix is square.final float
FloatMatrix.determinantSI()
Compute the determinant of the matrix, based on the SI values.final <UT extends Unit<UT>,
ST extends FloatScalar<UT, ST>, VT extends FloatVector<UT, ST, VT>, MT extends FloatMatrix<UT, ST, VT, MT> & Relative<UT, MT>>
FloatSIMatrixFloatMatrixRel.divide
(MT rel) Divide this Relative matrix by another Relative matrix.FloatMatrix.getDiagonal()
S[]
FloatMatrix.getDiagonalScalars()
float[]
FloatMatrix.getDiagonalSI()
Retrieve the main diagonal of the matrix as an array of float.final RM
final RM
final <UT extends Unit<UT>,
ST extends FloatScalar<UT, ST>, VT extends FloatVector<UT, ST, VT>, MT extends FloatMatrix<UT, ST, VT, MT> & Relative<UT, MT>>
FloatSIMatrixFloatMatrixRel.times
(MT rel) Multiply a Relative value with this Relative value for a matrix or matrix. -
Uses of ValueRuntimeException in org.djunits.value.vfloat.matrix.data
Modifier and TypeMethodDescription(package private) abstract FloatMatrixData
FloatMatrixData.assign
(FloatFunction2 floatFunction, FloatMatrixData right) Apply a binary operation on a cell by cell basis.protected static float[][]
FloatMatrixData.checkRectangularAndNonNull
(float[][] values) Check that a 2D array of float is not null, not empty and not jagged; i.e. all rows have the same length.protected static <U extends Unit<U>,
S extends FloatScalar<U, S>>
S[][]FloatMatrixData.checkRectangularAndNonNull
(S[][] values) Check that a 2D array of float is not null, not empty and not jagged; i.e. all rows have the same length.protected void
FloatMatrixData.checkSizes
(FloatMatrixData other) Check the sizes of this data object and the other data object.final FloatMatrixData
FloatMatrixData.decrementBy
(FloatMatrixData decrement) Subtract a matrix from this matrix on a cell-by-cell basis.abstract FloatMatrixData
FloatMatrixData.divide
(FloatMatrixData right) Divide two matrices on a cell-by-cell basis.FloatMatrixDataDense.divide
(FloatMatrixData right) FloatMatrixDataSparse.divide
(FloatMatrixData right) final FloatMatrixData
FloatMatrixData.divideBy
(FloatMatrixData right) Divide the values of a matrix by the values of another matrix on a cell-by-cell basis.final FloatMatrixData
FloatMatrixData.incrementBy
(FloatMatrixData right) Add a matrix to this matrix on a cell-by-cell basis.static FloatMatrixData
FloatMatrixData.instantiate
(float[][] values, Scale scale, StorageType storageType) Instantiate a FloatMatrixData with the right data type.static <U extends Unit<U>,
S extends FloatScalar<U, S>>
FloatMatrixDataFloatMatrixData.instantiate
(S[][] values, StorageType storageType) Instantiate a FloatMatrixData with the right data type.static FloatMatrixDataSparse
FloatMatrixDataSparse.instantiate
(float[][] valuesSI) Instantiate a FloatMatrixDataSparse from an array.static FloatMatrixDataSparse
FloatMatrixDataSparse.instantiate
(float[][] values, Scale scale) Instantiate a FloatMatrixDataSparse from an array.abstract FloatMatrixData
FloatMatrixData.minus
(FloatMatrixData right) Subtract two matrices on a cell-by-cell basis.final FloatMatrixData
FloatMatrixData.multiplyBy
(FloatMatrixData right) Multiply a matrix with the values of another matrix on a cell-by-cell basis.abstract FloatMatrixData
FloatMatrixData.plus
(FloatMatrixData right) Add two matrices on a cell-by-cell basis.FloatMatrixDataDense.plus
(FloatMatrixData right) FloatMatrixDataSparse.plus
(FloatMatrixData right) abstract FloatMatrixData
FloatMatrixData.times
(FloatMatrixData right) Multiply two matrices on a cell-by-cell basis.FloatMatrixDataDense.times
(FloatMatrixData right) FloatMatrixDataSparse.times
(FloatMatrixData right) ModifierConstructorDescriptionFloatMatrixDataDense
(float[][] matrixSI) Create a matrix with dense data.FloatMatrixDataDense
(float[] matrixSI, int rows, int cols) Create a matrix with dense data. -
Uses of ValueRuntimeException in org.djunits.value.vfloat.vector.base
Modifier and TypeMethodDescriptionprotected final void
FloatVector.checkSize
(FloatVector<?, ?, ?> other) Centralized size equality check.final <UT extends Unit<UT>,
ST extends FloatScalarRel<UT, ST>, VT extends FloatVectorRel<UT, ST, VT> & Relative<UT, VT>>
FloatSIVectorFloatVectorRel.divide
(VT rel) Divide this Relative value by a Relative value for a vector or matrix.final RV
final RV
final <UT extends Unit<UT>,
ST extends FloatScalarRel<UT, ST>, VT extends FloatVectorRel<UT, ST, VT> & Relative<UT, VT>>
FloatSIVectorFloatVectorRel.times
(VT rel) Multiply a Relative value with this Relative value for a vector or matrix. -
Uses of ValueRuntimeException in org.djunits.value.vfloat.vector.data
Modifier and TypeMethodDescription(package private) abstract FloatVectorData
FloatVectorData.assign
(FloatFunction2 floatFunction2, FloatVectorData right) Apply a binary operation on a cell by cell basis.protected void
FloatVectorData.checkSizes
(FloatVectorData other) Check the sizes of this data object and the other data object.final FloatVectorData
FloatVectorData.decrementBy
(FloatVectorData right) Subtract a vector from this vector on a cell-by-cell basis.abstract FloatVectorData
FloatVectorData.divide
(FloatVectorData right) Divide two vectors on a cell-by-cell basis.final FloatVectorData
FloatVectorDataSparse.divide
(FloatVectorData right) final FloatVectorData
FloatVectorData.divideBy
(FloatVectorData right) Divide the values of a vector by the values of another vector on a cell-by-cell basis.final FloatVectorData
FloatVectorData.incrementBy
(FloatVectorData right) Add a vector to this vector on a cell-by-cell basis.abstract FloatVectorData
FloatVectorData.minus
(FloatVectorData right) Subtract two vectors on a cell-by-cell basis.final FloatVectorData
FloatVectorData.multiplyBy
(FloatVectorData right) Multiply a vector with the values of another vector on a cell-by-cell basis.abstract FloatVectorData
FloatVectorData.plus
(FloatVectorData right) Add two vectors on a cell-by-cell basis.abstract FloatVectorData
FloatVectorData.times
(FloatVectorData right) Multiply two vector on a cell-by-cell basis.