Lattices: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 8: | Line 8: | ||
for (i=-5;i<6;i++) for (j=-5;j<6;j++) { | for (i=-5;i<6;i++) for (j=-5;j<6;j++) { | ||
brd.createElement('point',[ | brd.createElement('point',[ | ||
function(){ return | function(x,y){ return function(){ return x*b1.X()+y*b2.X(); };}(i,j), | ||
function(){ return | function(x,y){ return function(){ return x*b1.Y()+y*b2.Y(); };}(i,j) | ||
], {name:''}); | ], {name:''}); | ||
} | } |