amath
1.8.5
Simple command line calculator
|
An inverse hyperbolic cotangent function in a syntax tree. More...
#include <hyparccotangent.h>
Public Member Functions | |
HyperbolicArcCotangentNode (ExpressionNode *expression, char *text, char *sys) | |
Number * | Evaluate () |
Public Member Functions inherited from FunctionNode | |
FunctionNode (ExpressionNode *expression, char *text, char *sys) | |
~FunctionNode () | |
int | GetPrecedence () |
char * | GetText () |
virtual SyntaxNode * | GetNext () |
virtual void | Attach (SyntaxNode *node) |
virtual void | Detach (SyntaxNode *node) |
virtual void | Replace (SyntaxNode *n, SyntaxNode *x) |
Public Member Functions inherited from ExpressionNode | |
ExpressionNode () | |
ExpressionNode (Number *value) | |
virtual | ~ExpressionNode () |
NodeType | GetNodeType () |
virtual bool | IsSilent () |
char * | GetTextCode () |
char * | Execute () |
Public Member Functions inherited from SyntaxNode | |
SyntaxNode () | |
virtual | ~SyntaxNode () |
void | SetFirstNode () |
bool | GetFirstNode () const |
SyntaxNode * | GetParent () const |
void | SetParent (SyntaxNode *node) |
virtual ReductionType | GetReductionType () |
virtual void | ResetIterator () |
Static Public Member Functions | |
static FunctionNode * | Create (ExpressionNode *expression, char *text, char *sys) |
Additional Inherited Members | |
Protected Member Functions inherited from FunctionNode | |
virtual char * | GetNodeText () |
Protected Attributes inherited from FunctionNode | |
ExpressionNode * | expression |
char * | name |
char * | sysname |
Protected Attributes inherited from ExpressionNode | |
Number * | result |
Protected Attributes inherited from SyntaxNode | |
CharBuffer * | output |
SyntaxNode * | parent |
SyntaxNode * | iterator |
bool | leftBottom |
An inverse hyperbolic cotangent function in a syntax tree.
More info on the inverse hyperbolic cotangent function is available at Wikipedia: https://wikipedia.org/wiki/Inverse_hyperbolic_cotangent
Definition at line 42 of file hyparccotangent.h.
|
explicit |
Definition at line 32 of file hyparccotangent.cpp.
References FunctionNode::FunctionNode().
Referenced by Create().
|
static |
Definition at line 37 of file hyparccotangent.cpp.
References HyperbolicArcCotangentNode().
|
virtual |
Implements ExpressionNode.
Definition at line 42 of file hyparccotangent.cpp.
References ExpressionNode::Evaluate(), FunctionNode::expression, Number::HypArcCotangent(), and ExpressionNode::result.