Matrix.expandWidth

  1. auto expandWidth(in Matrix!(bH, bW, X) mtr)
    struct Matrix(size_t H, size_t W, E)
    pure
    expandWidth
    const
    (
    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(in X vals)

Meta