Ejemplo n.º 1
0
 static Operators()
 {
     Add = Arithmetic.GetOperator <T, T>(Arithmetic.Operators.Add);
     Sub = Arithmetic.GetOperator <T, T>(Arithmetic.Operators.Subtract);
     Mul = Arithmetic.GetOperator <T, float>(Arithmetic.Operators.Multiply);
 }
Ejemplo n.º 2
0
 static HermiteSpline()
 {
     _Sub = Arithmetic.GetOperator <T, T>(Arithmetic.Operators.Subtract);
     _Mul = Arithmetic.GetOperator <T, float>(Arithmetic.Operators.Multiply);
 }