NGram.opIndex

struct NGram(ValueType, int N = 1, Kind kind = Kind.saturated, Storage storage = Storage.denseDynamic, Symmetry symmetry = Symmetry.ordered, RequestedBinType = void, Range)
const @safe pure nothrow
opIndex
(
T
)
(
in T ng
)
if (
isIntegral!T ||
__traits(isStaticArray, T)
)
if (
is(RequestedBinType == void) ||
isUnsigned!RequestedBinType
||
isFloatingPoint!RequestedBinType
)

Return Value

Type: BinType

Bin Count of NGram ng.

Meta