Package dev.nm.algebra.linear.vector
Class VectorSizeMismatch
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- dev.nm.algebra.linear.vector.VectorSizeMismatch
-
- All Implemented Interfaces:
Serializable
public class VectorSizeMismatch extends RuntimeException
This is the exception thrown when an operation is performed on two vectors with different sizes.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VectorSizeMismatch(int size1, int size2)
Constructs an instance ofSizeMismatch
.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-