Matrix operations in particular can quickly accumulate rounding errors.
Someone with experience in this kind of thing could look at the routines in runtime/scripts/math.js and improve them.
Numbas began before there were any good libraries of maths functions in JavaScript, but now there are quite a few. What would it take to replace our versions of common maths functions with an imported library?
Matrix operations in particular can quickly accumulate rounding errors.
Someone with experience in this kind of thing could look at the routines in
runtime/scripts/math.js
and improve them.Numbas began before there were any good libraries of maths functions in JavaScript, but now there are quite a few. What would it take to replace our versions of common maths functions with an imported library?