BSD Ports

math/rubygem-cmath 1.0.0 DragonFly

Provide trigonometric and transcendental functions for complex number

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD2CLAUSE
Categories
math, rubygems
Package size
3.5 KiB, 11.0 KiB installed

Description

CMath provides trigonometric and transcendental functions for complex numbers.

CMath is a library that provides trigonometric and transcendental functions for complex numbers. The functions in this module accept integers, floating-point numbers or complex numbers as arguments.

Note that the selection of functions is similar, but not identical, to that in module math. The reason for having two modules is that some users aren't interested in complex numbers, and perhaps don't even know what they are. They would rather have Math.sqrt(-1) raise an exception than return a complex number.

In the other systems

SystemPortVersion
DragonFlymath/rubygem-cmath1.0.0
FreeBSDmath/rubygem-cmath1.0.0
HardenedBSDmath/rubygem-cmath1.0.0
GhostBSDmath/rubygem-cmath1.0.0

Install

Binary package:

pkg install rubygem-cmath

From DPorts:

cd /usr/dports/math/rubygem-cmath && make install clean

Dependencies

Run dependencies 2
Required by 1