[Cuis] Array2D newSize:

Dan Norton dnorton at mindspring.com
Wed Jul 15 10:54:49 CDT 2015


Maybe it's my dyslexia, but isn't this backward?

"Array2D newSize: 2 at 3" produces an array with 3 rows and 2 columns:
| nil nil |
| nil nil |
| nil nil |

IMO it should be:
| nil nil nil |
| nil nil nil |

For example, in Squeak, "MatrixTransform2x3 identity" produces: MatrixTransform2x3(
1.0	0.0	0.0
0.0	1.0	0.0
)

Please correct me if I'm wrong.

 - Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jvuletich.org/pipermail/cuis_jvuletich.org/attachments/20150715/e16d96a2/attachment-0003.html>


More information about the Cuis mailing list