Matrix.expandWidth

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

Meta