diff options
author | dmcmahill <dmcmahill> | 2000-02-20 14:40:34 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2000-02-20 14:40:34 +0000 |
commit | 0ddc4a534504026f0fa2d48cef0f2c57bf623f6e (patch) | |
tree | 54a78d3b8ec69639c5c1dc581d362bb771bc072b /math/yacas/patches | |
parent | c289fff4577329b8de0c6552362eb6e408b41a17 (diff) | |
download | pkgsrc-0ddc4a534504026f0fa2d48cef0f2c57bf623f6e.tar.gz |
Initial import of yacas-1.0.28
Yacas (Yet Another Computer Algebra System) is a small and highly flexible
computer algebra language. The syntax uses a infix-operator grammar
parser. The distribution contains a small library of mathematical functions,
but its real strength is in the language in which you can easily write your
own symbolic manipulation algorithms. It supports arbitrary precision
arithmetic.
The current version is 1.0.28 (the first release was 1.0.0). The language is
very much in a finished state. Any code written for it should be usable in
future versions. Also, the language should prove very easy to learn.
Yacas is written in very clean c++ code, and is very portable . It can compile
stand-alone, and is easily embeddable. Yacas contains a native arbitrary
precision arithmetic module, but can also be used with GMP.
Things implemented include: arbitrary precision, rational numeric, vector,
complex, and matrix computations (including inverses and determinants and
solving matrix equations), derivatives, solving, Taylor series, numerical
solving (Newtons method), and a lot more non-mathematical algorithms. The
language natively supports variables and user-defined functions. There is
basic support for polynomials.
Diffstat (limited to 'math/yacas/patches')
-rw-r--r-- | math/yacas/patches/patch-aa | 24 | ||||
-rw-r--r-- | math/yacas/patches/patch-ab | 9 | ||||
-rw-r--r-- | math/yacas/patches/patch-ac | 15 | ||||
-rw-r--r-- | math/yacas/patches/patch-ad | 25 |
4 files changed, 73 insertions, 0 deletions
diff --git a/math/yacas/patches/patch-aa b/math/yacas/patches/patch-aa new file mode 100644 index 00000000000..1d7a4a43b83 --- /dev/null +++ b/math/yacas/patches/patch-aa @@ -0,0 +1,24 @@ +$NetBSD: patch-aa,v 1.1.1.1 2000/02/20 14:40:35 dmcmahill Exp $ + +--- ./server/localsendreceive.cc.orig Sun Dec 12 22:34:42 1999 ++++ ./server/localsendreceive.cc Sat Feb 19 15:31:49 2000 +@@ -1,12 +1,16 @@ + ++#if !defined(__NetBSD__) + #include <netinet/in.h> + #include <arpa/inet.h> +- +-#include <sys/ioctl.h> ++#endif + + ++#include <stdio.h> ++#include <string.h> ++#include <sys/ioctl.h> + #include <sys/types.h> + #include <sys/socket.h> +-#include <stdio.h> ++#include <sys/time.h> ++#include <sys/uio.h> + #include <sys/un.h> + #include <unistd.h> diff --git a/math/yacas/patches/patch-ab b/math/yacas/patches/patch-ab new file mode 100644 index 00000000000..16394aad6be --- /dev/null +++ b/math/yacas/patches/patch-ab @@ -0,0 +1,9 @@ +$NetBSD: patch-ab,v 1.1.1.1 2000/02/20 14:40:35 dmcmahill Exp $ + +--- ./server/sendreceive.cc.orig Sun Nov 28 12:50:55 1999 ++++ ./server/sendreceive.cc Sat Feb 19 21:08:41 2000 +@@ -1,3 +1,4 @@ + #include <stdio.h> ++#include <string.h> + #include <sys/types.h> + #include <sys/socket.h> diff --git a/math/yacas/patches/patch-ac b/math/yacas/patches/patch-ac new file mode 100644 index 00000000000..2072260dae1 --- /dev/null +++ b/math/yacas/patches/patch-ac @@ -0,0 +1,15 @@ +$NetBSD: patch-ac,v 1.1.1.1 2000/02/20 14:40:35 dmcmahill Exp $ + +needed to remove the -O2 from this line. Otherwise NetBSD-1.4.1/pmax +assembler never finishes. + +--- ./triage/Makefile.in.orig Thu Feb 10 23:58:10 2000 ++++ ./triage/Makefile.in Sat Feb 19 22:05:27 2000 +@@ -222,4 +222,7 @@ + $(CXXLINK) $(example3_LDFLAGS) $(example3_OBJECTS) $(example3_LDADD) $(LIBS) + ++example4.o: example4.cc ++ $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) -g -c example4.cc ++ + example4: $(example4_OBJECTS) $(example4_DEPENDENCIES) + @rm -f example4 diff --git a/math/yacas/patches/patch-ad b/math/yacas/patches/patch-ad new file mode 100644 index 00000000000..6fd2ca2dbc8 --- /dev/null +++ b/math/yacas/patches/patch-ad @@ -0,0 +1,25 @@ +$NetBSD: patch-ad,v 1.1.1.1 2000/02/20 14:40:35 dmcmahill Exp $ + +--- /dev/null Sun Feb 20 09:00:11 2000 ++++ yacas.sh.in Sun Feb 20 09:07:01 2000 +@@ -0,0 +1,20 @@ ++#!/bin/sh ++ ++# save the tty settings ++stty -a | grep "\-extproc" 2>&1 > /dev/null ++if [ $? = 0 ]; then ++ OLD=-extproc ++else ++ OLD=extproc ++fi ++#OLD=`stty -g` ++ ++# make sure one critical tty setting is correct ++stty -extproc ++ ++# run yacas ++@prefix@/bin/yacas $* ++ ++# restore the tty setting ++stty $OLD ++ |