Matrix multiplication II: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 12: Line 12:
   var wa = b1.create('line',[[0,0],w],{straightFirst:false, straightLast:false, lastArrow:true});
   var wa = b1.create('line',[[0,0],w],{straightFirst:false, straightLast:false, lastArrow:true});


  var b2 = JXG.JSXGraph.initBoard('box2', {originX: 150, originY: 150, unitX: 20, unitY: 20});
   var v2 = b1.create('point',[
   var v2 = b1.create('point',[
       function() {return a.Value()*v.X()+b.Value()*v.Y();},
       function() {return a.Value()*v.X()+b.Value()*v.Y();},

Revision as of 07:44, 25 March 2011