Dual lattice: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
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:''}); | ||
}} | }} |