bertiniteam / b2

Bertini 2.0: The redevelopment of Bertini in C++.
92 stars 34 forks source link

differentiate with respect to single variable #78

Closed ofloveandhate closed 7 years ago

ofloveandhate commented 7 years ago

I added the ability to differentiate a Node in a function tree with respect to a single variable. This function is available using the same syntax as that which computes the total derivative --

auto dn_dx = N.Differentiate(x); // produces the single-variable derivative

as opposed to

auto J = N.Differentiate();  // produces the total derivative / differential