summaryrefslogtreecommitdiff
path: root/math/p5-Math-Systems
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2018-06-20 05:04:59 +0000
committermef <mef@pkgsrc.org>2018-06-20 05:04:59 +0000
commit4871293e8b94b094206b910c613403f4aaf67e91 (patch)
tree3cb841ca26814fd01004e233830ba753e41c29b8 /math/p5-Math-Systems
parent181f3d647e53da2d46dba7bfcf5760c5ecb0e4ef (diff)
downloadpkgsrc-4871293e8b94b094206b910c613403f4aaf67e91.tar.gz
math/p5-Math-Systems: import p5-Math-Systems-0.01
Solves systems of equations using Krammer's rule. If you look at the Solve method you'll understand Krammer's rule (I think?) Basically a system of equations is more than one equation/variable your solving. This module REQUIRES you have 1 equation per each coefficent. Try not to use too many equations. 3 equations is probably the limit of reason. But if you don't mind long compilation time, go for as many as you want. This module uses (and ovbiously requires you have) Math::Matrix to do all the Matrix work. Please take a look at that module for details do you can see exactly what is happening. There are no arguements in this module except for the Matrix which will be brought to Math::Matrix. Also, keep in mind, there are no error messenging. I will of course change that someday, but for now I'm satisfied that I can solve systems of equations. Don't allow error-prone things to be written in. But, there are of course times when you won't be able to figure out the stupid answer and this module will absolutly act like it did a great job, and at the same time, fail. So, keep that in mind. BETA means something. It's not good.
Diffstat (limited to 'math/p5-Math-Systems')
-rw-r--r--math/p5-Math-Systems/DESCR22
-rw-r--r--math/p5-Math-Systems/Makefile18
-rw-r--r--math/p5-Math-Systems/distinfo6
3 files changed, 46 insertions, 0 deletions
diff --git a/math/p5-Math-Systems/DESCR b/math/p5-Math-Systems/DESCR
new file mode 100644
index 00000000000..77403d5344b
--- /dev/null
+++ b/math/p5-Math-Systems/DESCR
@@ -0,0 +1,22 @@
+Solves systems of equations using Krammer's rule. If you look at the
+Solve method you'll understand Krammer's rule (I think?)
+
+Basically a system of equations is more than one equation/variable your
+solving. This module REQUIRES you have 1 equation per each coefficent.
+Try not to use too many equations. 3 equations is probably the limit of
+reason. But if you don't mind long compilation time, go for as many as
+you want.
+
+This module uses (and ovbiously requires you have) Math::Matrix to do
+all the Matrix work. Please take a look at that module for details do
+you can see exactly what is happening. There are no arguements in this
+module except for the Matrix which will be brought to Math::Matrix.
+
+Also, keep in mind, there are no error messenging. I will of course
+change that someday, but for now I'm satisfied that I can solve systems
+of equations. Don't allow error-prone things to be written in. But,
+there are of course times when you won't be able to figure out the
+stupid answer and this module will absolutly act like it did a great
+job, and at the same time, fail. So, keep that in mind.
+
+BETA means something. It's not good.
diff --git a/math/p5-Math-Systems/Makefile b/math/p5-Math-Systems/Makefile
new file mode 100644
index 00000000000..9e46fb3ed32
--- /dev/null
+++ b/math/p5-Math-Systems/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2018/06/20 05:04:59 mef Exp $
+
+DISTNAME= Math-Systems-0.01
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= math perl5
+MASTER_SITES= http://www.cpan.org/authors/id/W/WI/WILL/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.cpan.org/authors/id/W/WI/WILL/
+COMMENT= Solve simultaneous equation
+LICENSE= ${PERL5_LICENSE}
+
+DEPENDS+= p5-Math-Matrix-[0-9]*:../../math/p5-Math-Matrix
+PERL5_PACKLIST= auto/Math/Systems/.packlist
+USE_LANGUAGES= # none
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/p5-Math-Systems/distinfo b/math/p5-Math-Systems/distinfo
new file mode 100644
index 00000000000..7b153ad5d17
--- /dev/null
+++ b/math/p5-Math-Systems/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/06/20 05:04:59 mef Exp $
+
+SHA1 (Math-Systems-0.01.tar.gz) = c98e50b70922e676f37c49c36875c2dc6bb2c5b7
+RMD160 (Math-Systems-0.01.tar.gz) = 364787bdd11e85bc68c7cdb529169beb2dff69a8
+SHA512 (Math-Systems-0.01.tar.gz) = 37621436b39bf75b9446adf0baadca9339e277ea6ccde404dc12a4b65be95d87e3e23062c357f75a8b519b3ad603320186f6ea10ec6772dac9082bcb541a36d2
+Size (Math-Systems-0.01.tar.gz) = 2830 bytes