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