Class InvalidMatricesBases

All Implemented Interfaces:
Serializable

public class InvalidMatricesBases extends RuntimeException
An exception that can be thrown when the bases of two matrices don't match. This is checked when \(G\) is multiplied by \(G^T\) or \(\overline{G}^T\). On average, this exception should not be encountered.
Since:
1.8
Version:
1.0 (January 28th, 2022)
Author:
Maysara Al Jumaily
See Also:
Matrix, Serialized Form
  • Constructor Details

    • InvalidMatricesBases

      public InvalidMatricesBases(byte leftMatrixBase, byte rightMatrixBase)
      Constructs a new runtime exception when an invalid digit is used in the code.
      Parameters:
      leftMatrixBase - the base of the left-hand-side matrix
      rightMatrixBase - the base of the right-hand-side matrix