examples/hesse-convergence.js
function vecSub(a, b) {

  return [
  new Fraction(a[0]).sub(b[0]),
  new Fraction(a[1]).sub(b[1])
  ];
}
function vecSub(a, b) {

  return [
  new Fraction(a[0]).sub(b[0]),
  new Fraction(a[1]).sub(b[1])
  ];
}
function vecSub ( a , b ) { return [ new Fraction ( a [ 0 ] ) . sub ( b [ 0 ] ) , new Fraction ( a [ 1 ] ) . sub ( b [ 1 ] ) ] ; }
A simple vector subtraction helper
A simple vector subtraction helper