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',[-6,-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();
  t = b2.createElement('text',[-6,-2,function(){ return
 
          '= |'+b2.round(a.X(),2)+' '+b2.round(b.X(),2)+'|'+'<br>'+
 
          '= |'+b2.round(c.X(),2)+' '+b2.round(d.X(),2)+'|';}]);
 
  
 
</script>
 
</script>

Revision as of 12:09, 15 December 2008