cc4531cd1e
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@53 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
21 lines
311 B
Plaintext
21 lines
311 B
Plaintext
|
|
:- object(x,
|
|
implements(symdiffp)).
|
|
|
|
|
|
:- info([
|
|
authors is 'Paulo Moura',
|
|
version is 1.0,
|
|
date is 1999/12/29,
|
|
comment is 'Symbolic differentiation and simplification of a variable.',
|
|
source is 'Example based on the Clocksin and Mellish Prolog book.']).
|
|
|
|
|
|
diff(1).
|
|
|
|
|
|
simplify(x).
|
|
|
|
|
|
:- end_object.
|