Matrix multiplication II: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 19: Line 19:


   var t2 = b1.create('text',[7,5,function(){ return 'λ = |v'|/|v| = '  
   var t2 = b1.create('text',[7,5,function(){ return 'λ = |v'|/|v| = '  
                 + b1.round(JXG.Math.Geometry.distance([0,0],[v2.X(),v2.Y()])/JXG.Math.Geometry.distance([0,0],[v2.X(),v2.Y()])) ;}]);
                 + b1.round(
                    JXG.Math.Geometry.distance([0,0],[v2.X(),v2.Y()])/
                    JXG.Math.Geometry.distance([0,0],[v2.X(),v2.Y()])
                  );}]);
   b1.unsuspendUpdate();
   b1.unsuspendUpdate();



Revision as of 07:52, 25 March 2011