Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- coeff1 = system[i].normal_vector.coordinates[i]
- coeff2 = system[m].normal_vector.coordinates[i]
- x = coeff2/coeff1
- print(type(coeffx))
- system.xrow_add_to_row(x,i,m)
- system.xrow_add_to_row(-x,i,m)
- <ipython-input-11-ce84b250bafa> in compute_triangular_form(self)
- 93 coeff1 = system[i].normal_vector.coordinates[i]
- 94 coeff2 = system[m].normal_vector.coordinates[i]
- ---> 95 x = coeff2/coeff1
- 96 print(type(coeff1))
- 97 system.xrow_add_to_row(-x,i,m)
- InvalidOperation: [<class 'decimal.DivisionUndefined'>]
Add Comment
Please, Sign In to add comment