Class AbsMatrix3x3Test

java.lang.Object
org.djunits.vecmat.d3.AbsMatrix3x3Test

public class AbsMatrix3x3Test extends Object
Tests for AbsMatrix3x3.

This class provides exhaustive coverage of AbsMatrix3x3 and all inherited functionality from AbsSquareMatrix, AbsMatrix, AbsTable, AbsVectorMatrix and Value.

Copyright (c) 2026-2026 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://djunits.org. The DJUNITS project is distributed under a three-clause BSD-style license.

Author:
Alexander Verbraeck
  • Constructor Details

    • AbsMatrix3x3Test

      public AbsMatrix3x3Test()
  • Method Details

    • testCtorBase

      @Test public void testCtorBase()
      Test constructor and base methods such as rows(), cols(), order().
    • testCtorBaseExceptions

      @Test public void testCtorBaseExceptions()
      Test exceptions for constructor.
    • testInstantiateSi

      @Test public void testInstantiateSi()
      Test instantiateSi().
    • testStaticFactories

      @Test public void testStaticFactories()
      Test all of() and ofSi() static factories.
    • testAbsStaticFactories

      @Test public void testAbsStaticFactories()
      Test the of(A[]) and of(A[][]) static factories.
    • testScalarAndSiGrids

      @Test public void testScalarAndSiGrids()
      Test scalar and SI array / grid extraction.
    • testGetRowAndColumnSi

      @Test public void testGetRowAndColumnSi()
      Test 0-based row and column SI access.
    • testGetRowAndColumnScalars

      @Test public void testGetRowAndColumnScalars()
      Test 0-based scalar row and column access.
    • testMgetRowAndColumnSi

      @Test public void testMgetRowAndColumnSi()
      Test 1-based row and column SI access.
    • testMgetRowAndColumnScalars

      @Test public void testMgetRowAndColumnScalars()
      Test 1-based scalar row and column access.
    • testDiagonalSi

      @Test public void testDiagonalSi()
      Test diagonal SI.
    • testDiagonalScalars

      @Test public void testDiagonalScalars()
      Test diagonal scalar.
    • testGetRowAndColumnVector

      @Test public void testGetRowAndColumnVector()
      Test 0-based vector row and column access.
    • testMgetRowAndColumnVector

      @Test public void testMgetRowAndColumnVector()
      Test 1-based vector row and column access.
    • testDiagonalVector

      @Test public void testDiagonalVector()
      Test diagonal vector.
    • testMinMaxMedian

      @Test public void testMinMaxMedian()
      Test min(), max() and median().
    • testTranspose

      @Test public void testTranspose()
      Test transpose().
    • testAddSubtract

      @Test public void testAddSubtract()
      Test add() and subtract() methods.
    • testToString

      @Test public void testToString()
      Test toString().
    • testEqualsHashCode

      @Test public void testEqualsHashCode()
      Test equals(), hashCode().
    • testVectorAccess

      @Test public void testVectorAccess()
      Test mgetRowVector and getColumnVector.
    • testSymmetry

      @Test public void testSymmetry()
      Test symmetric and skew-symmetric checks.
    • testAsFunctions

      @Test @DisplayName("Matrix3x3 as() functions test") public void testAsFunctions()
      Test as() functions.