Class FloatMatrixInstantiateTest

java.lang.Object
org.djunits.value.vfloat.matrix.FloatMatrixInstantiateTest

public class FloatMatrixInstantiateTest extends Object
FloatMatrixInstantiateTest.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 Details

    • FloatMatrixInstantiateTest

      public FloatMatrixInstantiateTest()
  • Method Details

    • testInstantiateSquareDenseData

      @Test public void testInstantiateSquareDenseData()
      Test the instantiation of dense and sparse matrix types with dense data (no zeros).
    • testInstantiatSquareSparseData

      @Test public void testInstantiatSquareSparseData()
      Test the instantiation of dense and sparse matrix types with sparse data (90% zeros).
    • testInstantiateSquareSIUnit

      @Test public void testInstantiateSquareSIUnit() throws UnitException
      Test the instantiation of dense and sparse matrix types with dense data (no zeros).
      Throws:
      UnitException - on error
    • testInstantiateRectDenseData

      @Test public void testInstantiateRectDenseData()
      Test the instantiation of dense and sparse matrix types with dense data (no zeros).
    • testInstantiatRectSparseData

      @Test public void testInstantiatRectSparseData()
      Test the instantiation of dense and sparse matrix types with sparse data (90% zeros).
    • testInstantiateRectSIUnit

      @Test public void testInstantiateRectSIUnit() throws UnitException
      Test the instantiation of dense and sparse matrix types with dense data (no zeros).
      Throws:
      UnitException - on error
    • testInstantiateEdgeCases

      @Test public void testInstantiateEdgeCases()
      Test the instantiation of dense and sparse matrix types with one row or one column, and errors with null pointers.
    • testInstantiateZero

      @Test public void testInstantiateZero()
      Test matrix construction and operations with zero length.