public static RrFunction Mult(ExpRrFunction letfExp, ExpRrFunction rightExp) { return(ExpRrFunction.Create(letfExp.Weight * rightExp.Weight, letfExp.Slope + rightExp.Slope)); }
public static RrFunction Exp(double slope) { return(ExpRrFunction.Create(1.0, slope)); }
public static RrFunction Mult(ExpRrFunction exp, ConstantRrFunction cst) { return(ExpRrFunction.Create(exp.Weight * cst.Value, exp.Slope)); }