Registry / utility / cmath
library1.0.0rbrubygemsunverified

Library providing trigonometric and transcendental functions for complex numbers.

gem install cmath
INSTALL
IMPORT
SIG · CMATH
C
cmath
utilityrubyv1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CMath
require 'cmath'

Compute the square root of a complex number.

require 'cmath' result = CMath.sqrt(Complex(-1, 0)) # => (0.0+1.0i)
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources
cmath — gem install cmath · libregistry