CMath is a library that provides trigonometric and
transcendental functions for complex numbers.
To start using this library, simply:
Square root of a negative number is a complex number.
CMath.sqrt(-9) #=> 0+3.0i
Ruby-doc.org is a service of James Britt and Neurogami, a software development company in Scottsdale, AZ.
Generated with Rubydoc Rdoc Generator 0.36.0.