// Derivative rule public override Function Derivative() { if (RightFunc is Constant) { return(RightFunc * (LeftFunc ^ (RightFunc - new Constant(1))) * LeftFunc.Derivative()); } return((RightFunc.Derivative() * Funcs.Ln(LeftFunc) + LeftFunc.Derivative() * RightFunc / LeftFunc) * this); }
// Derivative rule public override Function Derivative() { return((LeftFunc.Derivative() * RightFunc - RightFunc.Derivative() * LeftFunc) / (RightFunc * RightFunc)); }
// Derivative rule public override Function Derivative() { return(LeftFunc.Derivative() * RightFunc + LeftFunc * RightFunc.Derivative()); }