f1b417f1c3
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@812 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
25 lines
866 B
Plaintext
25 lines
866 B
Plaintext
=================================================================
|
|
Logtalk - Object oriented extension to Prolog
|
|
Release 2.15.2
|
|
|
|
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
|
|
=================================================================
|
|
|
|
To load all objects in this example consult the symdiff.loader utility
|
|
file (note that the *.loader files are Prolog files).
|
|
|
|
This folder contains an example of using parametric objects to implement
|
|
symbolic expression differentiation and simplification.
|
|
|
|
Limitations:
|
|
|
|
- the expression that we intend to differentiate or simplify
|
|
must be a compound term. Accepted functors are *, +, -, **, and log.
|
|
|
|
- use as a variable the atom x.
|
|
|
|
- only integers can be used as constants.
|
|
|
|
This example is still incomplete. For example, using sum distribuition
|
|
property to simplify expressions is not yet implemented.
|