summaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-05-08 11:13:59 +0000
committerknu <knu@FreeBSD.org>2001-05-08 11:13:59 +0000
commit663157aabfb1c486b6a563a6b0ab17290e8bede7 (patch)
treec00d95fd35fbf31fa53b6e4ca4b34a22480f7f9c /math
parent300f3b9eb1601ad2edd76f2bc751f390747d2669 (diff)
downloadFreeBSD-ports-663157aabfb1c486b6a563a6b0ab17290e8bede7.zip
FreeBSD-ports-663157aabfb1c486b6a563a6b0ab17290e8bede7.tar.gz
Add ruby-algebra, a Ruby library for mathematical (algebraic)
computations.
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/ruby-algebra/Makefile38
-rw-r--r--math/ruby-algebra/distinfo1
-rw-r--r--math/ruby-algebra/pkg-comment1
-rw-r--r--math/ruby-algebra/pkg-descr23
-rw-r--r--math/ruby-algebra/pkg-plist118
6 files changed, 182 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 487c875..70809f1 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -85,6 +85,7 @@
SUBDIR += rascal
SUBDIR += rcalc
SUBDIR += rpc
+ SUBDIR += ruby-algebra
SUBDIR += ruby-bigfloat
SUBDIR += ruby-bitvector
SUBDIR += ruby-gnuplot
diff --git a/math/ruby-algebra/Makefile b/math/ruby-algebra/Makefile
new file mode 100644
index 0000000..529b5ca
--- /dev/null
+++ b/math/ruby-algebra/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: Ruby/Algebra
+# Date created: 8 May 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= algebra
+PORTVERSION= 0.47
+CATEGORIES= math ruby
+MASTER_SITES= http://blade.nagaokaut.ac.jp/~sinara/ruby/math/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+USE_RUBY= yes
+
+NO_BUILD= yes
+
+DOCS_EN= doc/*.txt doc/*.rd doc/*.html
+DOCS_JA= doc-jp/*.txt doc-jp/*.rd doc-jp/*.html
+
+do-install:
+ ${CP} -R ${WRKSRC}/*.rb ${RUBY_SITELIBDIR}/
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
+ ${CP} -R ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
+.for f in ${DOCS_EN}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
+.endfor
+.for f in ${DOCS_JA}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ja/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/math/ruby-algebra/distinfo b/math/ruby-algebra/distinfo
new file mode 100644
index 0000000..c7fb366
--- /dev/null
+++ b/math/ruby-algebra/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/algebra-0.47.tar.gz) = 21c5e704388b48fcfcce09f513b41c81
diff --git a/math/ruby-algebra/pkg-comment b/math/ruby-algebra/pkg-comment
new file mode 100644
index 0000000..902a152
--- /dev/null
+++ b/math/ruby-algebra/pkg-comment
@@ -0,0 +1 @@
+A Ruby library for mathematical (algebraic) computations
diff --git a/math/ruby-algebra/pkg-descr b/math/ruby-algebra/pkg-descr
new file mode 100644
index 0000000..184f6c6
--- /dev/null
+++ b/math/ruby-algebra/pkg-descr
@@ -0,0 +1,23 @@
+This is a Ruby library for mathematical (algebraic) computations. Our
+purpose is to express mathematical objects naturally in Ruby. Though
+it does not operate fast, we can see the algorithm of the mathematical
+processing not in a black box but in scripts.
+
+Things Ruby/Algebra offers include the following:
+
+- One-variate polynomial
+ o Fundamental operations (addition, multiplication,
+ quotient/remainder, ...)
+ o Factorization
+
+- Multi-variate polynomial
+ o Fundamental operations (addition, multiplication, ...)
+ o Creating Groebner-basis, quotient/remainder by Groebner-basis.
+
+- Algebraic systems
+ o Creating quotient fields
+ o Creating residue class fields
+ o Operating matrices
+
+Author: Shin-ichiro HARA <sinara@blade.nagaokaut.ac.jp>
+WWW: http://blade.nagaokaut.ac.jp/~sinara/ruby/math/
diff --git a/math/ruby-algebra/pkg-plist b/math/ruby-algebra/pkg-plist
new file mode 100644
index 0000000..609e45d
--- /dev/null
+++ b/math/ruby-algebra/pkg-plist
@@ -0,0 +1,118 @@
+%%RUBY_SITELIBDIR%%/algebraic-parser.rb
+%%RUBY_SITELIBDIR%%/algebraic-system.rb
+%%RUBY_SITELIBDIR%%/array-supplement.rb
+%%RUBY_SITELIBDIR%%/euclidian-ring.rb
+%%RUBY_SITELIBDIR%%/gaussian-elimination.rb
+%%RUBY_SITELIBDIR%%/groebner-basis-coeff.rb
+%%RUBY_SITELIBDIR%%/groebner-basis.rb
+%%RUBY_SITELIBDIR%%/localized-ring.rb
+%%RUBY_SITELIBDIR%%/m-index.rb
+%%RUBY_SITELIBDIR%%/m-polynomial.rb
+%%RUBY_SITELIBDIR%%/matrix-algebra.rb
+%%RUBY_SITELIBDIR%%/numeric-supplement.rb
+%%RUBY_SITELIBDIR%%/polynomial-converter.rb
+%%RUBY_SITELIBDIR%%/polynomial-factor-alg.rb
+%%RUBY_SITELIBDIR%%/polynomial-factor-exp.rb
+%%RUBY_SITELIBDIR%%/polynomial-factor-int.rb
+%%RUBY_SITELIBDIR%%/polynomial-factor-zp.rb
+%%RUBY_SITELIBDIR%%/polynomial-factor.rb
+%%RUBY_SITELIBDIR%%/polynomial.rb
+%%RUBY_SITELIBDIR%%/prime-gen.rb
+%%RUBY_SITELIBDIR%%/residue-class-ring.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/algebra/sample-algebraicfield01.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/algebra/sample-algebraicfield02.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/algebra/sample-cayleyhamilton01.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/algebra/sample-divmod01.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/algebra/sample-factorize01.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/algebra/sample-factorize02.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/algebra/sample-factorize03.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/algebra/sample-factorize04.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/algebra/sample-gaussian-elimination01.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/algebra/sample-groebner01.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/algebra/sample-groebner02.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/algebra/sample-groebner03.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/algebra/sample-m-polynomial01.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/algebra/sample-polynomial01.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/algebra/sample-polynomial02.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/algebra/sample-primefield01.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/algebra/sample-quotientfield01.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/algebra/sample-quotientfield02.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/algebra/sample-quotientfield03.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/algebra/sample-quotientfield04.rb
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/algebra
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/README.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/README.rd
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/README.txt
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/algebraic-parser.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/algebraic-parser.rd
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/algebraic-parser.txt
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/euclidian-ring.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/euclidian-ring.rd
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/euclidian-ring.txt
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/exercise.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/exercise.rd
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/exercise.txt
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/index.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/index.rd
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/index.txt
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/localized-ring.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/localized-ring.rd
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/localized-ring.txt
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/m-polynomial.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/m-polynomial.rd
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/m-polynomial.txt
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/matrix-algebra.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/matrix-algebra.rd
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/matrix-algebra.txt
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/polynomial-converter.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/polynomial-converter.rd
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/polynomial-converter.txt
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/polynomial.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/polynomial.rd
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/polynomial.txt
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/residue-class-ring.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/residue-class-ring.rd
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/residue-class-ring.txt
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/sample.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/sample.txt
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/todo.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/todo.rd
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/todo.txt
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/ja/README-jp.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/ja/README-jp.rd
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/ja/README-jp.txt
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/ja/algebraic-parser-jp.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/ja/algebraic-parser-jp.rd
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/ja/algebraic-parser-jp.txt
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/ja/euclidian-ring-jp.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/ja/euclidian-ring-jp.rd
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/ja/euclidian-ring-jp.txt
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/ja/exercise-jp.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/ja/exercise-jp.rd
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/ja/exercise-jp.txt
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/ja/index-jp.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/ja/index-jp.rd
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/ja/index-jp.txt
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/ja/localized-ring-jp.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/ja/localized-ring-jp.rd
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/ja/localized-ring-jp.txt
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/ja/m-polynomial-jp.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/ja/m-polynomial-jp.rd
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/ja/m-polynomial-jp.txt
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/ja/matrix-algebra-jp.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/ja/matrix-algebra-jp.rd
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/ja/matrix-algebra-jp.txt
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/ja/polynomial-converter-jp.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/ja/polynomial-converter-jp.rd
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/ja/polynomial-converter-jp.txt
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/ja/polynomial-jp.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/ja/polynomial-jp.rd
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/ja/polynomial-jp.txt
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/ja/residue-class-ring-jp.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/ja/residue-class-ring-jp.rd
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/ja/residue-class-ring-jp.txt
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/ja/todo.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/ja/todo.rd
+%%PORTDOCS%%%%RUBY_DOCDIR%%/algebra/ja/todo.txt
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/algebra/ja
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/algebra
OpenPOWER on IntegriCloud