Table of Contents

Struct np.HistogramddResult

Namespace
NumSharp
Assembly
NumSharp.dll

The multidimensional histogram plus its per-dimension bin edges — the two values NumPy's histogramdd returns. Converts implicitly to NDArray (the histogram H, always float64) and deconstructs as var (H, edges) = np.histogramdd(sample);.

public readonly struct np.HistogramddResult : INDArrayCarrier
Implements
Inherited Members

Fields

H

The D-dimensional histogram, shape (nbin_0, …, nbin_{D-1}), dtype float64.

public readonly NDArray H

Field Value

NDArray

edges

The D bin-edge arrays, one per dimension.

public readonly NDArray[] edges

Field Value

NDArray[]

Methods

Deconstruct(out NDArray, out NDArray[])

Deconstructs into (H, edges).

public void Deconstruct(out NDArray h, out NDArray[] edges)

Parameters

h NDArray

Receives the histogram.

edges NDArray[]

Receives the per-dimension edge arrays.

Operators

implicit operator NDArray(HistogramddResult)

Yields the primary result — the histogram H.

public static implicit operator NDArray(np.HistogramddResult r)

Parameters

r np.HistogramddResult

The result to unwrap.

Returns

NDArray