Package org.djunits.value.vdouble.matrix
Class DoubleMatrixInstantiateTest
java.lang.Object
org.djunits.value.vdouble.matrix.DoubleMatrixInstantiateTest
DoubleMatrixInstantiateTest.java.
Copyright (c) 2019-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License.
- Author:
- Alexander Verbraeck
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Test the instantiation of dense and sparse matrix types with one row or one column, and errors with null pointers.void
Test the instantiation of dense and sparse matrix types with dense data (no zeros).void
Test the instantiation of dense and sparse matrix types with dense data (no zeros).void
Test the instantiation of dense and sparse matrix types with dense data (no zeros).void
Test the instantiation of dense and sparse matrix types with dense data (no zeros).void
Test matrix construction and operations with zero length.void
Test the instantiation of dense and sparse matrix types with sparse data (90% zeros).void
Test the instantiation of dense and sparse matrix types with sparse data (90% zeros).
-
Constructor Details
-
DoubleMatrixInstantiateTest
public DoubleMatrixInstantiateTest()
-
-
Method Details
-
testInstantiateSquareDenseData
Test the instantiation of dense and sparse matrix types with dense data (no zeros). -
testInstantiatSquareSparseData
Test the instantiation of dense and sparse matrix types with sparse data (90% zeros). -
testInstantiateSquareSIUnit
Test the instantiation of dense and sparse matrix types with dense data (no zeros).- Throws:
org.djunits.unit.util.UnitException
- on error
-
testInstantiateRectDenseData
Test the instantiation of dense and sparse matrix types with dense data (no zeros). -
testInstantiatRectSparseData
Test the instantiation of dense and sparse matrix types with sparse data (90% zeros). -
testInstantiateRectSIUnit
Test the instantiation of dense and sparse matrix types with dense data (no zeros).- Throws:
org.djunits.unit.util.UnitException
- on error
-
testInstantiateEdgeCases
Test the instantiation of dense and sparse matrix types with one row or one column, and errors with null pointers. -
testInstantiateZero
Test matrix construction and operations with zero length.
-