mathnet / mathnet-symbolics

Math.NET Symbolics
http://symbolics.mathdotnet.com
MIT License
341 stars 66 forks source link

Sample of usage with C++/CLI & VB.NET #60

Closed FoggyFinder closed 5 years ago

FoggyFinder commented 5 years ago

Maybe it makes sense to expand section "Math.NET Symbolics with C#" in documentation with example with VB.NET, C++/CLI ?

cdrnet commented 5 years ago

Absolutely. And we should also update it to use the SymbolicExpression facade which is much easier to use in C# (likely also VB.NET and C++/CLI), and allows you to write code along the lines of:

Func<double, double> f =
  ((SymbolicExpression.Parse("2*a^3") / 3).Differentiate("a")).Compile("a");