-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
roadmap of sorts #113
Comments
Not bad, but is it really what people want?
The githubers watching this repo should be the easiest to survey. surveymonkey.com could help. |
For the server side, we need something that is for solving linear systems. I personally find it hard for us to consider numbers.js a proper numerical
|
Hi there. I wasn't invited but I found this really interesting. For linear systems you already have it with the determinant and Cramer's rule. Even if you have parameters. And can I suggest one thing? You could modularize numbers.js so if one needs only simple bits of it that'll be possible as well. I'm just talking of dividing the project by its |
Cramer's rule is a laughing joke to people in numerical Lin alg, and using
|
Also, I was thinking of the standalone / components thing before. I'll look
|
For development I think it would be great if numbers.js followed a gitflow workflow style. |
Now that I'm think about you are totally right, it is way overkill :D. Gaussian then? Though that is not really good for rounding errors unless fractions can be handled nicely. Maybe diagonalization if is not in already though that would imply to solve a linear equation of arbitrary order too. |
@LarryBattle I like it. I'd be alright with that. @stringparser Gaussian Elimination is a pretty stable algorithm. there are, of course, cases where it doesn't work out, but it's pretty good. I have it implemented and ready to go now, I'm just going to wait on #128 to be checked & merged and then I'll be submitting the basis for linalg.js. |
@StDako nice! I'm curious of the stability of the Gaussian. I'll investigate. |
Is it possible to add a combinatorics module? I have written one (and tested) and will submit a PR. |
I'm wondering if we should basically copy numpy. @LarryBattle thoughts? |
Hi! Just found this project. I'm a couple days into writing my own math library and decided maybe it made more sense to build on an existing project. I have a reasonably alright background in linear algebra, ODEs and PDEs, and I'd love to make something people can use. You can find my start at spacetime.js. (Pardon the name; it started out physics-oriented.) To answer your first question: My goal is to do engineering and physics-type calculations in order to make web demos/visualizations. That gets into polynomial root-finding, root-finding for transcendental equations, ODE integration, complex numbers… for a start… Here are some thoughts:
Anyway, I'm curious how or if I might contribute. I currently do have the time! I've done a few things in my library that I think could be pretty useful, specifically:
I'm not sure where that leaves things. I'd love to make scientific computing a thing that can be done in straight JS, but the thought of extending your excellent linear algebra work to complex numbers makes me slightly nauseated. I'm eager to do something substantial though, and until I go back to work in a month, I definitely have the time! Let me know if there's anything here that makes sense, otherwise I'll keep rolling on my own library and at worst, maybe it'll result in code someone can steal an integrate into a better project! |
@rreusser all contributions are welcomed! In place operations have certainly been something of interest (and a few issues have been filed for it). |
we're currently at v0.5.0, whatever the hell that means, and I'm interested in knowing what the plans are. I'm the one driving the dev, and I'm super 100% okay with that as numerical stuff is my game, but I just wanted opinions from everyone else as to what we should add. here are my thoughts, the version numbers are just some made-up-on-the-fly system:
v0.6.0
release of linalg.js, which is capable of solving linear systems. this should have:
I've already implemented most of this and am going to submit a PR soon. gotta write tests first and that's going to be a mess.
TODO:
v0.7.0
release of sparse.js, a combination of linalg.js and matrix.js but for sparse vectors and matrices.
TODO:
v0.8.0
release of odes.js, used to solve ODEs. I've already written some solvers but I need to change some things.
TODO:
v0.9.0
release of pdes.js, used to solve PDEs. I don't know much about solving PDEs numerically except for using the finite difference method which is pretty simple to implement I think.
TODO:
v0.10.0
release of interpolate.js, used for interpolation stuff. already written a bit of this (linear splines) but I need to look into it more (cubic splines are best!)
v1.0.0
this is something I may discuss privately with Steve & Kartik (the latter of whom I've already mentioned it to) but it will probably be its own project, so ideas for 1.0.0 are welcome.
@KartikTalwar @sjkaliski sorry for the essay.
@LarryBattle since you've been helping out recently too.
The text was updated successfully, but these errors were encountered: