Class MatrixAccessException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.nm.algebra.linear.matrix.MatrixAccessException
All Implemented Interfaces:
Serializable

public class MatrixAccessException extends RuntimeException
This is the runtime exception thrown when trying to access an invalid entry in a matrix, e.g., A[0, 0]. Matrix indices count from 1. The first entry (upper left hand corner) is A[1, 1].
See Also:
  • Constructor Details

    • MatrixAccessException

      public MatrixAccessException()
      Construct an instance of MatrixAccessException.
    • MatrixAccessException

      public MatrixAccessException(String msg)
      Construct an instance of MatrixAccessException with a message.
      Parameters:
      msg - an error message