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 S
Matrix.get
(int row, int column) Retrieve a value from the matrix.abstract S
Vector.get
(int index) Retrieve a value from the vector.abstract V
Matrix.getColumn
(int column) Retrieve a column from the matrix as a vector.abstract S[]
Matrix.getColumnScalars
(int column) Retrieve a column from the matrix as an array of scalars.abstract 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.abstract V
Matrix.getRow
(int row) Retrieve a row from the matrix as a vector.abstract S[]
Matrix.getRowScalars
(int row) Retrieve a row from 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.checkColumnIndex
(int col) Check that provided column index is valid.protected final void
DoubleMatrix.checkIndex
(int row, int col) Check that provided row and column indices are valid.protected final void
DoubleMatrix.checkRowIndex
(int row) Check that provided row index is valid.protected 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.get
(int row, int column) Retrieve a value from the matrix.DoubleMatrix.getColumn
(int column) Retrieve a column from the matrix as a vector.S[]
DoubleMatrix.getColumnScalars
(int col) Retrieve a column from the matrix as an array of scalars.double[]
DoubleMatrix.getColumnSI
(int column) Retrieve a column from the matrix as an array of double.DoubleMatrix.getDiagonal()
Retrieve the main diagonal of the matrix as a vector.S[]
DoubleMatrix.getDiagonalScalars()
Retrieve the main diagonal of the matrix as an array of scalars.double[]
DoubleMatrix.getDiagonalSI()
Retrieve the main diagonal of the matrix as an array of double.double
DoubleMatrix.getInUnit
(int row, int column) Retrieve the value stored at a specified row and column in the original unit.double
Retrieve the value stored at a specified row and column converted into a specified unit.DoubleMatrix.getRow
(int row) Retrieve a row from the matrix as a vector.S[]
DoubleMatrix.getRowScalars
(int row) Retrieve a row from the matrix as an array of scalars.double[]
DoubleMatrix.getRowSI
(int row) Retrieve a row from the matrix as an array of double.double
DoubleMatrix.getSI
(int row, int column) Retrieve the value stored at a specified row and column in the standard SI unit.Subtract an Absolute value from this Absolute value, resulting in a Relative value.Subtract a Relative value from this Absolute value.final RM
Subtract a Relative value from this Relative value.Add a Relative value to this Absolute value.final RM
Add a Relative value to this Relative value.void
Set the scalar value at the specified position.void
DoubleMatrix.setInUnit
(int row, int column, double valueInUnit) Set the value, specified in the (current) display unit, at the specified position.void
Set the value, specified in thevalueUnit
, at the specified position.void
DoubleMatrix.setSI
(int row, int column, double valueSI) Set the value, specified in the standard SI unit, at the specified position.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) Divide two matrices on a cell-by-cell basis.DoubleMatrixDataSparse.divide
(DoubleMatrixData right) Divide two matrices on a cell-by-cell basis.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) Add two matrices on a cell-by-cell basis.DoubleMatrixDataSparse.plus
(DoubleMatrixData right) Add two matrices on a cell-by-cell basis.abstract DoubleMatrixData
DoubleMatrixData.times
(DoubleMatrixData right) Multiply two matrices on a cell-by-cell basis.DoubleMatrixDataDense.times
(DoubleMatrixData right) Multiply two matrices on a cell-by-cell basis.DoubleMatrixDataSparse.times
(DoubleMatrixData right) Multiply two matrices on a cell-by-cell basis.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.checkIndex
(int index) Check that a provided index is valid.protected 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.DoubleVector.get
(int index) Retrieve a value from the vector.final double
DoubleVector.getInUnit
(int index) Retrieve the value stored at a specified position in the original unit.final double
Retrieve the value stored at a specified position converted into a specified unit.final double
DoubleVector.getSI
(int index) Retrieve the value stored at a specified position in the standard SI unit.Subtract an Absolute value from this Absolute value, resulting in a Relative value.Subtract a Relative value from this Absolute value.final RV
Subtract a Relative value from this Relative value.Add a Relative value to this Absolute value.final RV
Add a Relative value to this Relative value.void
Set the scalar value at the specified position.void
DoubleVector.setInUnit
(int index, double valueInUnit) Set the value, specified in the (current) display unit, at the specified position.void
Set the value, specified in thevalueUnit
, at the specified position.final void
DoubleVector.setSI
(int index, double valueSI) Set the value, specified in the standard SI unit, at the specified position.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) Divide two vectors on a cell-by-cell basis.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.static DoubleVectorData
DoubleVectorData.instantiate
(Map<Integer, ? extends Number> valueMap, int size, Scale scale, StorageType storageType) Instantiate a DoubleVectorData with the right data type.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.checkColumnIndex
(int col) Check that provided column index is valid.protected final void
FloatMatrix.checkIndex
(int row, int col) Check that provided row and column indices are valid.protected final void
FloatMatrix.checkRowIndex
(int row) Check that provided row index is valid.protected 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.get
(int row, int column) Retrieve a value from the matrix.FloatMatrix.getColumn
(int column) Retrieve a column from the matrix as a vector.S[]
FloatMatrix.getColumnScalars
(int col) Retrieve a column from the matrix as an array of scalars.float[]
FloatMatrix.getColumnSI
(int column) Retrieve a column from the matrix as an array of float.FloatMatrix.getDiagonal()
Retrieve the main diagonal of the matrix as a vector.S[]
FloatMatrix.getDiagonalScalars()
Retrieve the main diagonal of the matrix as an array of scalars.float[]
FloatMatrix.getDiagonalSI()
Retrieve the main diagonal of the matrix as an array of float.float
FloatMatrix.getInUnit
(int row, int column) Retrieve the value stored at a specified row and column in the original unit.float
Retrieve the value stored at a specified row and column converted into a specified unit.FloatMatrix.getRow
(int row) Retrieve a row from the matrix as a vector.S[]
FloatMatrix.getRowScalars
(int row) Retrieve a row from the matrix as an array of scalars.float[]
FloatMatrix.getRowSI
(int row) Retrieve a row from the matrix as an array of float.float
FloatMatrix.getSI
(int row, int column) Retrieve the value stored at a specified row and column in the standard SI unit.Subtract an Absolute value from this Absolute value, resulting in a Relative value.Subtract a Relative value from this Absolute value.final RM
Subtract a Relative value from this Relative value.Add a Relative value to this Absolute value.final RM
Add a Relative value to this Relative value.void
Set the scalar value at the specified position.void
FloatMatrix.setInUnit
(int row, int column, float valueInUnit) Set the value, specified in the (current) display unit, at the specified position.void
Set the value, specified in thevalueUnit
, at the specified position.void
FloatMatrix.setSI
(int row, int column, float valueSI) Set the value, specified in the standard SI unit, at the specified position.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) Divide two matrices on a cell-by-cell basis.FloatMatrixDataSparse.divide
(FloatMatrixData right) Divide two matrices on a cell-by-cell basis.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) Add two matrices on a cell-by-cell basis.FloatMatrixDataSparse.plus
(FloatMatrixData right) Add two matrices on a cell-by-cell basis.abstract FloatMatrixData
FloatMatrixData.times
(FloatMatrixData right) Multiply two matrices on a cell-by-cell basis.FloatMatrixDataDense.times
(FloatMatrixData right) Multiply two matrices on a cell-by-cell basis.FloatMatrixDataSparse.times
(FloatMatrixData right) Multiply two matrices on a cell-by-cell basis.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.checkIndex
(int index) Check that a provided index is valid.protected 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.FloatVector.get
(int index) Retrieve a value from the vector.final float
FloatVector.getInUnit
(int index) Retrieve the value stored at a specified position in the original unit.final float
Retrieve the value stored at a specified position converted into a specified unit.final float
FloatVector.getSI
(int index) Retrieve the value stored at a specified position in the standard SI unit.Subtract an Absolute value from this Absolute value, resulting in a Relative value.Subtract a Relative value from this Absolute value.final RV
Subtract a Relative value from this Relative value.Add a Relative value to this Absolute value.final RV
Add a Relative value to this Relative value.void
Set the scalar value at the specified position.void
FloatVector.setInUnit
(int index, float valueInUnit) Set the value, specified in the (current) display unit, at the specified position.void
Set the value, specified in thevalueUnit
, at the specified position.final void
FloatVector.setSI
(int index, float valueSI) Set the value, specified in the standard SI unit, at the specified position.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) Divide two vectors on a cell-by-cell basis.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.static FloatVectorData
FloatVectorData.instantiate
(Map<Integer, ? extends Number> valueMap, int size, Scale scale, StorageType storageType) Instantiate a FloatVectorData with the right data type.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.