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