Difference between revisions of "Matrix multiplication"

From JSXGraph Wiki
Jump to: navigation, search
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:7,name:'v'});
+
       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:7,name:'w'});
+
       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 12:12, 15 December 2008