Class np.typing.NBitBase
- Namespace
- NumSharp
- Assembly
- NumSharp.dll
numpy.typing.NBitBase: the base of the precision markers NumPy's stubs parametrize its scalar
classes with (np.floating[npt.NBitBase]), used only by static type checkers. Deprecated in NumPy 2.3
(accessing it warns, as using this class does) and without a use in C#, which has no precision-generic
scalar classes; it exists so a ported reference compiles and says why it should go.
[Obsolete("`NBitBase` is deprecated and will be removed from numpy.typing in the future. Use `@typing.overload` or a `TypeVar` with a scalar-type as upper bound, instead. (deprecated in NumPy 2.3)")]
public abstract class np.typing.NBitBase
- Inheritance
-
np.typing.NBitBase
- Inherited Members
Remarks
NumPy forbids subclassing it except for its own private markers (_8Bit … _128Bit); the
private protected constructor forbids it outside NumSharp.