Matrix multiplication II: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 13: Line 13:
       function() {return a.Value()*v.X()+b.Value()*v.Y();},
       function() {return a.Value()*v.X()+b.Value()*v.Y();},
       function() {return c.Value()*v.X()+d.Value()*v.Y();}],{style:7,name:"v'"});
       function() {return c.Value()*v.X()+d.Value()*v.Y();}],{style:7,name:"v'"});
   var va2 = b1.create('arrow',[[0,0],v2],{color:'black'});
   var va2 = b1.create('arrow',[[0,0],v2],{color:'black', strokeWidth:1});


   var t = b1.create('text',[-8,5,function(){ return 'Matrix=<br>|'+b1.round(a.Value(),2)+' '+b1.round(b.Value(),2)+'|'+'<br>'+'|'+b1.round(c.Value(),2)+' '+b1.round(d.Value(),2)+'|';}]);
   var t = b1.create('text',[-8,5,function(){ return 'Matrix=<br>|'+b1.round(a.Value(),2)+' '+b1.round(b.Value(),2)+'|'+'<br>'+'|'+b1.round(c.Value(),2)+' '+b1.round(d.Value(),2)+'|';}]);

Revision as of 07:47, 25 March 2011