kmolan / multicalc-rust Goto Github PK
View Code? Open in Web Editor NEWMultivariable calculus in pure rust
License: MIT License
Multivariable calculus in pure rust
License: MIT License
Thank you for doing this great job!
I am trying to make use of this crate to generate jacobian matrix for curve fitting of arbitrary functions with crate levenberg-marquardt
. Therefore, I need to derive jacobian matrix based on the generated closures that capture input xdata in runtime. Do you have any plan to support closure as the element of function_matrix
in the module of Jacabian
?
I am using this crate to do curve fitting with 'nalgebra' that is an algebra crate. For all I know, most algebra library tends to use column-major matrix and store matrix in a vec storage. Hence, I think it is better to provide new api or pass the paramter to control the output matrix shape to be:
[[T; ncols]; nrows]
[[T; nrows]; ncols]
[T; nrows * ncols]
=> default for many crates[T; nrows * ncols]
Thank you for your great job. It works very well in my crate right now.
The current default step is pub const DEFAULT_STEP_SIZE: f64 = 0.00001;
. It is too big for some functions. I would recommend a smaller value pub const DEFAULT_STEP_SIZE: f64 = 1.49e-8
. You can find the magic value in a popular python library scipy
: https://docs.scipy.org/doc/scipy/reference/generated/scipy.optimize.approx_fprime.html.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.