25 lines
822 B
Plaintext
25 lines
822 B
Plaintext
|
=================================================================
|
||
|
Logtalk - Object oriented extension to Prolog
|
||
|
Release 2.28.2
|
||
|
|
||
|
Copyright (c) 1998-2006 Paulo Moura. All Rights Reserved.
|
||
|
=================================================================
|
||
|
|
||
|
|
||
|
To load this example and for sample queries, please see the SCRIPT file.
|
||
|
|
||
|
This folder contains an example of using parametric objects to implement
|
||
|
symbolic expression differentiation and simplification.
|
||
|
|
||
|
Current 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 distribution
|
||
|
property to simplify expressions is not yet implemented.
|