head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.54 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.52 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.50 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.48 pkgsrc-2011Q2-base:1.2 pkgsrc-2009Q4:1.2.0.46 pkgsrc-2009Q4-base:1.2 pkgsrc-2008Q4:1.2.0.44 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.42 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.40 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.38 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.2.0.36 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.34 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.32 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.30 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.28 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.26 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.24 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.22 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.20 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.18 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.16 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.14 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.12 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.10 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.8 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.6 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.4 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2 buildlink2-base:1.2 netbsd-1-5-PATCH001:1.1.1.1 netbsd-1-5-RELEASE:1.1.1.1 netbsd-1-4-PATCH003:1.1.1.1 netbsd-1-4-PATCH002:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.2 date 2001.12.19.01.09.26; author dmcmahill; state dead; branches; next 1.1; 1.1 date 2000.02.20.14.40.35; author dmcmahill; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2000.02.20.14.40.35; author dmcmahill; state Exp; branches; next ; desc @@ 1.2 log @ many bug fixes and improvements such as: * small improvement to Arg(...) working on real numbers. * improved 'make test', no need to install before test any more. * VarList can now accept a second argument, a filter predicate. * Pattern matcher now allows extended prototypes, like PP(list_Contains("a")) <-- ... etcetera. * c-style tokenizer using CTokenizer() (DefaultTokenizer() switches back to the default tokenizer). * Great speed-up of function Assoc. * Christian Obrecht implemented the Rabin-Miller primality testing algorithm, which greatly improves the speed of IsPrime. * Orthogonal polynomials OrthoP, OrthoP,OrthoG,OrthoH,OrthoL, OrthoT,OrthoU implemented by Serge Winitzki. * various speedups, and a new memory manager, optimized for allocating many small blocks (which is the case in Yacas). * Changed the directory structure for the script files * Greatly improved Simplify function. * Added CurrentFile, CurrentLine functions * Implemented backquote mechanism: `(...) will substitute every @@a with the evaluation of a (and if a is a function the function name is replaced). The end result is evaluated. see substitute.cpp for more details many more... see http://www.xs4all.nl/~apinkus/changes.html for the complete list. @ text @$NetBSD: patch-ad,v 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 + @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @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. @ text @@