Exemple #1
0
        /*
         * Other operators
         */


        public static PolynomialTerm Sin(PolynomialTerm name)
        {
            if (name.IsConstant)
            {
                return(NumberMath.RoundedSin((double)name));
            }
            else
            {
                return(IndeterminateExpression.Sin((char)name));
            }
        }
 public void RoundedSinTests(double value, double expected)
 {
     NumberMath.RoundedSin(value).AssertIsEqualTo(expected);
 }