Table of Contents

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

axis int
ndim int

AxisError(string)

public AxisError(string message)

Parameters

message string

Properties

Axis

public int Axis { get; }

Property Value

int

NDim

public int NDim { get; }

Property Value

int