Quaternion.opIndex

Indexing operation.

  1. T opIndex(size_t i)
    struct Quaternion(T)
    const
    T
    opIndex
    (
    size_t i
    )
    if (
    __traits(isArithmetic, T)
    )
  2. T opIndex(size_t i)

Return Value

Type: T

i-th element of this quaternion

Meta