Isis 3 Programmer 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"

Go to the source code of this file.

Namespaces

 Isis
 Namespace for ISIS/Bullet specific routines.
 

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...
 

Detailed Description

Revision
1.14
Date
2010/04/08 15:05:24

Unless noted otherwise, the portions of Isis written by the USGS are public domain. See individual third-party library and package descriptions for intellectual property information,user agreements, and related information.

Although Isis has been used by the USGS, no warranty, expressed or implied, is made by the USGS as to the accuracy and functioning of such software and related material nor shall the fact of distribution constitute any such warranty, and no responsibility is assumed by the USGS in connection therewith.

For additional information, launch $ISISROOT/doc//documents/Disclaimers/Disclaimers.html in a browser or see the Privacy & Disclaimers page on the Isis website, http://isis.astrogeology.usgs.gov, and the USGS privacy and disclaimers on http://www.usgs.gov/privacy.html.

Definition in file Calculator.cpp.