2a1fbb6e88
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1104 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
31 lines
1001 B
Plaintext
31 lines
1001 B
Plaintext
=================================================================
|
|
Logtalk - Object oriented extension to Prolog
|
|
Release 2.19.0
|
|
|
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
|
=================================================================
|
|
|
|
|
|
To load all entities in this example compile and load the loader file:
|
|
|
|
| ?- logtalk_load(loader).
|
|
|
|
You will also need to load the library hierarchies_loader file.
|
|
Alternatively, you may load the library all-loader file to load
|
|
all library entities.
|
|
|
|
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 distribuition
|
|
property to simplify expressions is not yet implemented.
|