Package org.djunits.value.vdouble.matrix
Class DoubleDimensionlessMatrixTest
java.lang.Object
org.djunits.value.vdouble.matrix.DoubleDimensionlessMatrixTest
Test.java.
Copyright (c) 2019-2025 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTest the methods that are only implemented in DimensionLess matrices.static voidverifyDimensionLessMatrix(double[][] reference, DoubleFunction operation, DimensionlessMatrix got) Verify the contents of a FloatDimensionlessVector.
-
Constructor Details
-
DoubleDimensionlessMatrixTest
public DoubleDimensionlessMatrixTest()
-
-
Method Details
-
testDimensionLess
@Test public void testDimensionLess()Test the methods that are only implemented in DimensionLess matrices. -
verifyDimensionLessMatrix
public static void verifyDimensionLessMatrix(double[][] reference, DoubleFunction operation, DimensionlessMatrix got) Verify the contents of a FloatDimensionlessVector.- Parameters:
reference- the values on which theoperationneeds to be applied to get the values that must be verifiedoperation- the operation that converts thereferencevalues to the values that must be verifiedgot- the values that must be verified
-