Difference between revisions of "Dual lattice"
From JSXGraph Wiki
Jump to navigationJump to searchA WASSERMANN (talk | contribs) |
A WASSERMANN (talk | contribs) |
||
Line 11: | Line 11: | ||
if (!(i==1&&j==0) && !(i==0&&j==1)) { | if (!(i==1&&j==0) && !(i==0&&j==1)) { | ||
brd.create('point',[ | brd.create('point',[ | ||
− | function(x,y){ return function(){ return x* | + | function(x,y){ return function(){ return x*b1.X()+y*b2.X(); };}(i,j), |
− | function(x,y){ return function(){ return x* | + | function(x,y){ return function(){ return x*b1.Y()+y*b2.Y(); };}(i,j) |
], {name:''}); | ], {name:''}); | ||
}} | }} |