Matrix multiplication II: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 18: | Line 18: | ||
b1.unsuspendUpdate(); | b1.unsuspendUpdate(); | ||
var t2 = b1.create('text',[7,5,function(){ return "λ = |v'|/|v| = " | var t2 = b1.create('text',[7,5, | ||
function(){ return "λ = |v'|/|v| = " | |||
+ b1.round( | + b1.round( | ||
JXG.Math.Geometry.distance([0,0],[v2.X(),v2.Y()])/ | JXG.Math.Geometry.distance([0,0],[v2.X(),v2.Y()])/ | ||
JXG.Math.Geometry.distance([0,0],[ | JXG.Math.Geometry.distance([0,0],[v.X(),v.Y()]) | ||
);}]); | );}]); | ||
b1.unsuspendUpdate(); | b1.unsuspendUpdate(); |