org.apache.ignite.ml.math.exceptions.math

## Class NonSquareMatrixException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - org.apache.ignite.IgniteException
        - - org.apache.ignite.ml.math.exceptions.math.MathRuntimeException
          - - org.apache.ignite.ml.math.exceptions.math.MathIllegalArgumentException
            - - org.apache.ignite.ml.math.exceptions.math.CardinalityException
              - - org.apache.ignite.ml.math.exceptions.math.NonSquareMatrixException

- All Implemented Interfaces:
    Serializable

      public class NonSquareMatrixException
      extends CardinalityException

  Indicates that given matrix is not a square matrix.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `NonSquareMatrixException(int exp, int act)` Creates new square size violation exception.

  - ### Method Summary

    - ### Methods inherited from class org.apache.ignite.IgniteException

      `getCause, hasCause, toString`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### NonSquareMatrixException

          public NonSquareMatrixException(int exp,
                                          int act)

      Creates new square size violation exception.
      Parameters:
        `exp` - Expected cardinality.
        `act` - Actual cardinality.

2022 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.13.0
Release Date | : April 20 2022