Struct np.Histogram2dResult
- Namespace
- NumSharp
- Assembly
- NumSharp.dll
The bi-dimensional histogram plus its two edge arrays — the three values NumPy's
histogram2d returns. Converts implicitly to NDArray (the histogram H)
and deconstructs as var (H, xedges, yedges) = np.histogram2d(x, y);.
public readonly struct np.Histogram2dResult : INDArrayCarrier
- Implements
- Inherited Members
Fields
H
The 2-D histogram, shape (nx, ny), dtype float64.
public readonly NDArray H
Field Value
xedges
The bin edges along the first (x) dimension.
public readonly NDArray xedges
Field Value
yedges
The bin edges along the second (y) dimension.
public readonly NDArray yedges
Field Value
Methods
Deconstruct(out NDArray, out NDArray, out NDArray)
Deconstructs into (H, xedges, yedges).
public void Deconstruct(out NDArray h, out NDArray xedges, out NDArray yedges)
Parameters
hNDArrayReceives the histogram.
xedgesNDArrayReceives the x edges.
yedgesNDArrayReceives the y edges.
Operators
implicit operator NDArray(Histogram2dResult)
Yields the primary result — the histogram H.
public static implicit operator NDArray(np.Histogram2dResult r)
Parameters
rnp.Histogram2dResultThe result to unwrap.