mir_series.get

Gets data for the index.

  1. ref get(Index key, Value _default)
    struct mir_series(IndexIterator_, Iterator_, size_t N_ = 1, SliceKind kind_ = Contiguous)
    ref @trusted
    @fmamath
    get
    (
    Index
    Value
    )
    (
    auto ref scope const Index key
    ,
    return ref Value _default
    )
    if (
    !is(Value : const(Exception))
    )
  2. ref get(Index key, Value _default)
  3. ref get(Index key, Value _default)
  4. auto get(Index key, Value _default)
  5. auto get(Index key, Value _default)
  6. auto ref get(Index key)
  7. auto ref get(Index key, Exception exc)
  8. auto ref get(Index key)
  9. auto ref get(Index key, Exception exc)
  10. auto ref get(Index key)
  11. auto ref get(Index key, Exception exc)

Parameters

key Index

index

_default Value

default value is returned if the series does not contains the index.

Return Value

Type: ref

data that corresponds to the index or default value.