mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
math/rubygem-cmath: Add rubygem-cmath 1.0.0
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.
This commit is contained in:
parent
f452d7b439
commit
c35a178b34
4 changed files with 30 additions and 0 deletions
|
@ -1140,6 +1140,7 @@
|
||||||
SUBDIR += rubiks
|
SUBDIR += rubiks
|
||||||
SUBDIR += rubygem-algebra
|
SUBDIR += rubygem-algebra
|
||||||
SUBDIR += rubygem-bigdecimal
|
SUBDIR += rubygem-bigdecimal
|
||||||
|
SUBDIR += rubygem-cmath
|
||||||
SUBDIR += rubygem-enumerable-statistics
|
SUBDIR += rubygem-enumerable-statistics
|
||||||
SUBDIR += rubygem-expression_parser
|
SUBDIR += rubygem-expression_parser
|
||||||
SUBDIR += rubygem-fftw3
|
SUBDIR += rubygem-fftw3
|
||||||
|
|
16
math/rubygem-cmath/Makefile
Normal file
16
math/rubygem-cmath/Makefile
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
PORTNAME= cmath
|
||||||
|
PORTVERSION= 1.0.0
|
||||||
|
CATEGORIES= math rubygems
|
||||||
|
MASTER_SITES= RG
|
||||||
|
|
||||||
|
MAINTAINER= sunpoet@FreeBSD.org
|
||||||
|
COMMENT= Provide trigonometric and transcendental functions for complex number
|
||||||
|
WWW= https://github.com/ruby/cmath
|
||||||
|
|
||||||
|
LICENSE= BSD2CLAUSE
|
||||||
|
|
||||||
|
USES= gem
|
||||||
|
|
||||||
|
NO_ARCH= yes
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
3
math/rubygem-cmath/distinfo
Normal file
3
math/rubygem-cmath/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
TIMESTAMP = 1730540892
|
||||||
|
SHA256 (rubygem/cmath-1.0.0.gem) = 152d2b90edb33765d7fa0f7c9f650d9a6661382804add8ee6e4bce0b7d377ff6
|
||||||
|
SIZE (rubygem/cmath-1.0.0.gem) = 6656
|
10
math/rubygem-cmath/pkg-descr
Normal file
10
math/rubygem-cmath/pkg-descr
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
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.
|
Loading…
Add table
Reference in a new issue