DVector.sum_is_close#

DVector.sum_is_close(other, rel_tol, abs_tol)[source]#

Check if self sums close to other.

Calls math.isclose on respective sums.

Parameters:
  • other (DVector) – The other DVector to compare self to

  • rel_tol (float) – See math.isclose

  • abs_tol (float) – see math.isclose