math::TIfNode< T > Class Template Reference

#include <nodes.h>

Inheritance diagram for math::TIfNode< T >:
math::TBinaryNodeOp< T > math::TNode< T >

List of all members.

Public Member Functions

 TIfNode (TNode< T > *ACondNode, TNode< T > *AThenNode, TNode< T > *AElseNode)
TNode< T > * condition () const
TNode< T > * trueExpr () const
TNode< T > * falseExpr () const
virtual void accept (TNodeVisitor< T > &)
 calls the visit method in TNodeVisitor<>
virtual TIfNodeclone () const
 clones that node

Detailed Description

template<typename T>
class math::TIfNode< T >

TIfNode is a gread plus* for that library :). example: sig(x) = IF(x > 0, 1, -1) example: fib(n) = IF(n = 1, 1, n + fib(n - 1)), n element |N example: t(x) = IF(int(x) % 3 = 0, 0, IF(int(x) % 3 = 1, 1, 2))

Definition at line 586 of file nodes.h.


The documentation for this class was generated from the following file:
Generated on Fri Dec 10 14:42:33 2010 for MathTypeLibrary(libmath++) by  doxygen 1.6.3