petabricks/petabricks — Issue #18: need support for differing input/output sizes
Author: jansel
Created: 2011-11-03 18:39:23+00:00
State: open

The following doesn't compile because pbc does not know that k<=n. If k<=n, this transform is valid while if k>n this transform is incomplete.

```
transform copyprefix
from X[n,2]
to C[k,2]
{
to (C.column(i) c) from(X.column(i) x) {
c.cell(0) = x.cell(0);
c.cell(1) = x.cell(1);
}
}
```