public Differentiation(Expression expr, string var = "x", IDifferentiationScope functions = null)
     : this(var, functions)
 {
     this.result = Differentiate(expr);
 }
示例#2
0
        public static Expression Differentiate(Expression expr, string var, IVariableScope variables, IFunctionScope functions, IDifferentiationScope derivatives)
        {
            Expression derivative = (new Differentiation(expr, var, derivatives)).Result;

            return(Evaluate(derivative, variables, functions));
        }
 public Differentiation(string var = "x", IDifferentiationScope functions = null)
 {
     this.var = var;
     this.functions = functions;
 }
示例#4
0
 public Expression Differentiate(string var, IVariableScope variables, IFunctionScope functions, IDifferentiationScope derivatives)
 {
     return(Differentiate(this, var, variables, functions, derivatives));
 }
 public Expression Differentiate(string var, IVariableScope variables, IFunctionScope functions, IDifferentiationScope derivatives)
 {
     return Differentiate(this, var, variables, functions, derivatives);
 }
        public static Expression Differentiate(Expression expr, string var, IVariableScope variables, IFunctionScope functions, IDifferentiationScope derivatives)
        {
            Expression derivative = (new Differentiation(expr, var, derivatives)).Result;

            return Evaluate(derivative, variables, functions);
        }
示例#7
0
 public Differentiation(Expression expr, string var = "x", IDifferentiationScope functions = null) : this(var, functions)
 {
     this.result = Differentiate(expr);
 }
示例#8
0
 public Differentiation(string var = "x", IDifferentiationScope functions = null)
 {
     this.var       = var;
     this.functions = functions;
 }