Inherits org.qscript.operator.Operator.
Public Member Functions | |
ConjugateFunction (String symbol, int nbrArgs, int priority, int type) | |
Argument | resolve (Script script, Token token, Argument[] args, Object...objects) throws EvaluationException |
Public Member Functions inherited from org.qscript.operator.Operator | |
Operator (String symbol, int nbrArgs, int priority, int type) | |
String | getSymbol () |
int | getNbrArgs () |
int | getPriority () |
int | getOpType () |
boolean | isOperator () |
String | forListing () |
String | toString () |
Public Member Functions inherited from org.qscript.Token | |
void | setTextPosition (int charStart, int charWidth) |
void | setTextPosition (int line, int charStart, int charWidth) |
int | getLine () |
int | getCharStart () |
int | getCharWidth () |
boolean | isArgument () |
boolean | isFlowAction () |
boolean | isVariable () |
boolean | isThing () |
boolean | isOperator () |
boolean | isFlowOperator () |
String | forListing () |
Additional Inherited Members | |
Static Public Attributes inherited from org.qscript.operator.Operator | |
static final int | MARKER = 0 |
static final int | CONSTANT = 1 |
static final int | INFIX_SYMBOL = 2 |
static final int | FUNCTION = 3 |
Static Public Attributes inherited from org.qscript.Token | |
static final Token | DUMMY = new Argument(null) |
Protected Member Functions inherited from org.qscript.operator.Operator | |
boolean | testForUninitialisedVars (Script script, Argument[] args) throws EvaluationException |
boolean | testForUninitialisedVar (Script script, Argument arg) throws EvaluationException |
void | handleInvalidArguments (Script script, Token token) throws EvaluationException |
Protected Member Functions inherited from org.qscript.Token | |
Token () | |
Protected Attributes inherited from org.qscript.Token | |
int | line |
int | charStart |
int | charWidth |
calculates the conjugate of a complex number
|
virtual |
script | the Script object responsible for evaluation |
token | the current token being evaluated |
args | the arguments for this operator |
objects | ignore it has been included for possible future use |
SyntaxException | |
EvaluationException |
Implements org.qscript.operator.Operator.