[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Toon-members] Vector<3> v; v = 1,2,3;
From: |
E. Rosten |
Subject: |
[Toon-members] Vector<3> v; v = 1,2,3; |
Date: |
Thu, 18 Jun 2009 15:55:26 +0100 (BST) |
I've reinstated the old syntax (almost).
You have to do:
Matrix<2> m;
Fill(m) = 1,2,
3,4;
The Fill(m) is there so that
m = 1;
doesn't compile. However underfilling is detected (though only at
run-time).
What does everyone think? Should the old syntax be reinstated so that:
m = 1,2,3,4;
would compile?
-Ed
--
(You can't go wrong with psycho-rats.)(http://mi.eng.cam.ac.uk/~er258)
/d{def}def/f{/Times s selectfont}d/s{11}d/r{roll}d f 2/m{moveto}d -1
r 230 350 m 0 1 179{ 1 index show 88 rotate 4 mul 0 rmoveto}for/s 12
d f pop 235 420 translate 0 0 moveto 1 2 scale show showpage
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Toon-members] Vector<3> v; v = 1,2,3;,
E. Rosten <=