Difference between revisions of "Matrix multiplication"

From JSXGraph Wiki
Jump to: navigation, search
Line 35: Line 35:
 
   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});
   t = b2.createElement('text',[-1,-2,function(){ return a.X()+' '+b.X()+'<br>'+c.X()+' '+d.X();}]);
+
   t = b2.createElement('text',[-4,-2,function(){ return b2.round(a.X(),2)+' '+b2.round(b.X(),2)+'<br>'+b2.round(c.X(),2)+' '+b2.round(d.X(),2);}]);
 
   b2.unsuspendUpdate();
 
   b2.unsuspendUpdate();
  

Revision as of 12:01, 15 December 2008