git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1580 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
		
			
				
	
	
		
			25 lines
		
	
	
		
			822 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			822 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| =================================================================
 | |
| Logtalk - Object oriented extension to Prolog
 | |
| Release 2.27.1
 | |
| 
 | |
| 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. 
 |