Class AxisError
- Namespace
- NumSharp
- Assembly
- NumSharp.dll
NumPy-compatible AxisError exception. Raised when an axis argument is out of bounds for the array's dimensions.
public class AxisError : ArgumentOutOfRangeException, ISerializable, INumSharpException
- Inheritance
-
AxisError
- Implements
- Inherited Members
- Extension Methods
Remarks
Mirrors numpy.exceptions.AxisError for API compatibility. Error format: "axis {axis} is out of bounds for array of dimension {ndim}"
Constructors
AxisError()
public AxisError()
AxisError(int, int)
public AxisError(int axis, int ndim)
Parameters
AxisError(string)
public AxisError(string message)
Parameters
messagestring
Properties
Axis
public int Axis { get; }
Property Value
NDim
public int NDim { get; }