VectorLengthMismatchException

Exceptions · AiDotNet.Exceptions

Exception thrown when a vector’s length doesn’t match the expected value.

Inheritance: Exception → AiDotNetException → VectorLengthMismatchException

Constructors

Constructor Summary
VectorLengthMismatchException(int expectedLength, int actualLength, string component, string operation) Initializes a new instance of the VectorLengthMismatchException class.

Properties

Property Summary
int ActualLength { get; } The actual length of the vector.
int ExpectedLength { get; } The expected length of the vector.
string Component { get; } The component where the length mismatch occurred.
string Operation { get; } The operation being performed when the mismatch was detected.