Isis Developer Reference
Calculator.cpp File Reference
#include <cmath>
#include <QRegExp>
#include <QStack>
#include <QVector>
#include "Calculator.h"
#include "InfixToPostfix.h"
#include "IException.h"
#include "SpecialPixel.h"

Namespaces

 Isis
 This is free and unencumbered software released into the public domain.
 

Functions

double Isis::NegateOperator (double a)
 Returns the nagative of the input parameter. More...
 
double Isis::MultiplyOperator (double a, double b)
 Returns the result of a multiplied by b. More...
 
double Isis::DivideOperator (double a, double b)
 Returns the result of dividing a by b. More...
 
double Isis::AddOperator (double a, double b)
 Returns the result of additing a with b. More...
 
double Isis::SubtractOperator (double a, double b)
 Returns the result of subtracting b from a. More...
 
double Isis::GreaterThanOperator (double a, double b)
 Returns 1.0 if a is greater than b. More...
 
double Isis::LessThanOperator (double a, double b)
 Returns 1.0 if a is less than b. More...
 
double Isis::EqualOperator (double a, double b)
 Returns 1.0 if a is equal ot b. More...
 
double Isis::GreaterThanOrEqualOperator (double a, double b)
 Returns 1.0 if a is greater than or equal to b. More...
 
double Isis::LessThanOrEqualOperator (double a, double b)
 Returns 1.0 if a is less than or eqaul to b. More...
 
double Isis::NotEqualOperator (double a, double b)
 Returns 1.0 is a is not equal to b. More...
 
double Isis::CosecantOperator (double a)
 Returns the cosecant of the input a. More...
 
double Isis::SecantOperator (double a)
 Returns the secant of the input a. More...
 
double Isis::CotangentOperator (double a)
 Returns the cotangent of the input a. More...
 
int Isis::Round (double a)
 Returns the result of rounding the input a to the closest integer. More...
 
double Isis::BitwiseAndOperator (double a, double b)
 Returns the result of a bitwise AND accross a and b. More...
 
double Isis::BitwiseOrOperator (double a, double b)
 Returns the result of a bitwise OR across a and b. More...
 
double Isis::ModulusOperator (double a, double b)
 Returns the modulus of a by b. More...
 
double Isis::MaximumOperator (double a, double b)
 Returns the max of a and b. More...
 
double Isis::MinimumOperator (double a, double b)
 Returns the min of a and b. More...