CMath is a library that provides trigonometric and transcendental functions for complex numbers.
To start using this library, simply:
require "cmath"
Square root of a negative number is a complex number.
CMath.sqrt(-9) #=> 0+3.0i
log10!(z) Class Public methods Alias for:
acosh!(z) Class Public methods Alias for:
tan!(z) Class Public methods Alias for:
atanh!(z) Class Public methods Alias for:
sinh!(z) Class Public methods Alias for:
sin!(z) Class Public methods Alias for:
asinh(z) Class Public methods returns the inverse hyperbolic sine of z
log2!(z) Class Public methods Alias for:
Page 4 of 4