Matrix.expandWidth

  1. auto expandWidth(auto ref const(Matrix!(bH, bW, X)) mtr)
    struct Matrix(size_t H, size_t W, E)
    pure
    expandWidth
    const
    (
    size_t bH
    size_t bW
    X
    )
    (
    auto ref const(Matrix!(bH, bW, X)) mtr
    )
    if (
    (
    bH == H ||
    H == 0
    ||
    bH == 0
    )
    &&
    is(typeof(E(X.init)))
    )
  2. auto expandWidth(in X vals)

Meta