Commit da512f04 authored by Jiri (George) Lebl's avatar Jiri (George) Lebl Committed by George Lebl

Add SymbolicNthDerivative, SymbolicNthDerivativeTry,


Thu Jun 16 18:14:39 2005  George Lebl <jirka@5z.com>

	* lib/symbolic/differentiation.gel:  Add SymbolicNthDerivative,
	  SymbolicNthDerivativeTry, SymbolicTaylorApproximationFunction

	* configure.in, help/C/gel-function-list.xml, help/C/genius.xml:
	  Document the above

	* src/geniustests.txt: add some tests
parent 462b6d18
Thu Jun 16 18:14:39 2005 George Lebl <jirka@5z.com>
* lib/symbolic/differentiation.gel: Add SymbolicNthDerivative,
SymbolicNthDerivativeTry, SymbolicTaylorApproximationFunction
* configure.in, help/C/gel-function-list.xml, help/C/genius.xml:
Document the above
* src/geniustests.txt: add some tests
Thu Jun 16 17:40:29 2005 George Lebl <jirka@5z.com>
* configure.in: raise version number
......
......@@ -276,6 +276,7 @@ lib/misc/Makefile
lib/sets/Makefile
lib/number_theory/Makefile
lib/statistics/Makefile
lib/symbolic/Makefile
vicious-extensions/Makefile
gtkextra/Makefile
pixmaps/Makefile
......
......@@ -3779,9 +3779,39 @@ number is specified) of the given size returned. For example
<varlistentry id="gel-function-SymbolicDerivativeTry">
<term>SymbolicDerivativeTry</term>
<listitem>
<synopsis>SymbolicDerivative (f)</synopsis>
<synopsis>SymbolicDerivativeTry (f)</synopsis>
<para>Attempt to symbolically differentiate the function f, where f is a function of one variable, returns null if unsuccessful but is silent.
(See <link linkend="gel-function-LinePlotWindow">SymbolicDerivative</link>)
(See <link linkend="gel-function-SymbolicDerivative">SymbolicDerivative</link>)
</para>
</listitem>
</varlistentry>
<varlistentry id="gel-function-SymbolicNthDerivative">
<term>SymbolicNthDerivative</term>
<listitem>
<synopsis>SymbolicNthDerivative (f,n)</synopsis>
<para>Attempt to symbolically differentiate a function n times.
(See <link linkend="gel-function-SymbolicDerivative">SymbolicDerivative</link>)
</para>
</listitem>
</varlistentry>
<varlistentry id="gel-function-SymbolicDerivativeTry">
<term>SymbolicNthDerivativeTry</term>
<listitem>
<synopsis>SymbolicNthDerivativeTry (f,n)</synopsis>
<para>Attempt to symbolically differentiate a function n times quietly and return null on failure
(See <link linkend="gel-function-SymbolicNthDerivative">SymbolicNthDerivative</link>)
</para>
</listitem>
</varlistentry>
<varlistentry id="gel-function-SymbolicTaylorApproximationFunction">
<term>SymbolicTaylorApproximationFunction</term>
<listitem>
<synopsis>SymbolicTaylorApproximationFunction (f,x0,n)</synopsis>
<para>Attempt to construct the taylor approximation function around x0 to the nth degree.
(See <link linkend="gel-function-SymbolicDerivative">SymbolicDerivative</link>)
</para>
</listitem>
</varlistentry>
......
......@@ -3,9 +3,9 @@
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
<!ENTITY app "<application>Genius Math Tool</application>">
<!ENTITY appname "Genius">
<!ENTITY appversion "0.7.3">
<!ENTITY appversion "0.7.4">
<!ENTITY manrevision "0.2.1">
<!ENTITY date "March 2005">
<!ENTITY date "June 2005">
<!ENTITY legal SYSTEM "legal.xml">
......
Librarydir = $(datadir)/genius/gel
SUBDIRS = calculus combinatorics equation_solving functions \
linear_algebra misc number_theory statistics sets
linear_algebra misc number_theory statistics sets symbolic
Library_DATA = lib.cgel loader.gel
......
......@@ -232,3 +232,6 @@ char *fake = N_("Returns true if the element x is in the set X (where X is a vec
char *fake = N_("Returns a set where every element of X appears only once");
char *fake = N_("Returns a set theoretic difference X-Y (X and Y are vectors pretending to be sets)");
char *fake = N_("Returns a set theoretic union of X and Y (X and Y are vectors pretending to be sets)");
char *fake = N_("Attempt to symbolically differentiate a function n times");
char *fake = N_("Attempt to symbolically differentiate a function n times quietly and return null on failure");
char *fake = N_("Attempt to construct the taylor approximation function around x0 to the nth degree.");
Makefile
Makefile.in
loader.gel
Librarydir = $(datadir)/genius/gel/symbolic
SUBDIRS =
GELFILES = differentiation.gel
EXTRA_DIST = $(GELFILES)
Library_DATA = $(GELFILES) loader.gel
MOSTLYCLEANFILES = loader.gel
loader.gel: $(GELFILES)
cd $(top_builddir)/lib/symbolic && $(top_srcdir)/lib/make_loader_gel.sh $^ > loader.gel
......@@ -680,4 +680,6 @@ function foo(f) = SymbolicDerivative(f) ; foo (`(x)=x^2) (`(x)=(2*x))
SymbolicDerivative(f:=sin) (`(x)=cos(x))
[1,2;3,4]+2 [3,2;3,6]
[1,2;3,4;5,6]+2 ([1,2;3,4;5,6]+2)
SymbolicNthDerivative(sin,2) (`(x)=(-sin(x)))
SymbolicNthDerivativeTry(print,2)+1 ((null)+1)
load "longtest.gel" true
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment