diag.diag

Undocumented in source. Be warned that the author may not have intended to support it.
  1. auto diag(S s, size_t k)
    template diag(size_t dimension = 1)
    pure
    diag
    (
    S
    )
    (
    S s
    ,
    size_t k = 0
    )
    if (
    isMatrix!S
    )
  2. auto diag(S s)

Meta