sloisel / numeric

Numerical analysis in Javascript
http://www.numericjs.com/
Other
1.42k stars 177 forks source link

Add numeric.toMathml() method #26

Open darcyparker opened 11 years ago

darcyparker commented 11 years ago

Have you considered adding a method like numeric.prettyPrint(), but to output numbers, vectors and matrices (including sparse matrices) in mathml? I think this would be nice for working in Workshop.

If you are concerned about browser support for mathml, you could consider pointing people to http://www.mathjax.org/

darcyparker commented 11 years ago

Similarly, it would be nice to have a numeric.parseMathml() that could parse and construct numbers, vectors, and matrices. (Mathml of anything else should fail...)

sloisel commented 11 years ago

I have thought about it but have not fully convinced myself that this is crucial to numeric.js. I will keep it in mind.

darcyparker commented 11 years ago

Ok - thanks. If I wrote something and submitted a pull request would it be something you'd accept? (Please let me know so I don't waste my time.) (No worries if you say no.)

sloisel commented 11 years ago

I would consider it.