Encog.MathUtil.ComplexNumber.Cos C# (CSharp) Method

Cos() public method

Cosine of this Complex number (doesn't change this Complex number). cos(z) = (exp(i*z)+exp(-i*z))/ 2.
public Cos ( ) : ComplexNumber
return ComplexNumber
        public ComplexNumber Cos()
        {
            return new ComplexNumber(Cosh(_y)*Math.Cos(_x), -Sinh(_y)*Math.Sin(_x));
        }