Matrix multiplication: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 29: | Line 29: | ||
v2 = b2.createElement('point',[ | v2 = b2.createElement('point',[ | ||
function() {return a.X()*v.X()+b.X()*v.Y();}, | function() {return a.X()*v.X()+b.X()*v.Y();}, | ||
function() {return c.X()*v.X()+d.X()*v.Y();}],{style: | function() {return c.X()*v.X()+d.X()*v.Y();}],{style:7,name:'v'}); | ||
w2 = b2.createElement('point',[ | w2 = b2.createElement('point',[ | ||
function() {return a.X()*w.X()+b.X()*w.Y();}, | function() {return a.X()*w.X()+b.X()*w.Y();}, | ||
function() {return c.X()*w.X()+d.X()*w.Y();}],{style: | function() {return c.X()*w.X()+d.X()*w.Y();}],{style:7,name:'w'}); | ||
va2 = b2.createElement('line',['Ursprung',v2],{straightFirst:false, straightLast:false, lastArrow:true}); | va2 = b2.createElement('line',['Ursprung',v2],{straightFirst:false, straightLast:false, lastArrow:true}); | ||
wa2 = b2.createElement('line',['Ursprung',w2],{straightFirst:false, straightLast:false, lastArrow:true}); | wa2 = b2.createElement('line',['Ursprung',w2],{straightFirst:false, straightLast:false, lastArrow:true}); |
Revision as of 10:11, 15 December 2008