numbas / Numbas

A completely browser-based e-assessment/e-learning system, with an emphasis on mathematics
http://www.numbas.org.uk
Apache License 2.0
198 stars 118 forks source link

Look at the numerical stability of operations, or import a well-maintained maths library #983

Open christianp opened 1 year ago

christianp commented 1 year ago

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?