Matrix.expandHeight

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

Meta