GR Engine
A physics engine in curved space-time
 All Classes Files Functions Variables
Classes | Typedefs | Functions
numeric.h File Reference

Base file for numerical methods. More...

#include <vector>
#include <exception>

Go to the source code of this file.

Classes

class  StateLengthError
 An exception class thrown when there is a state vector length mismatch. More...
 
class  DiffEq
 Base class for implementing differential equations. More...
 
class  Integrator
 Base class implementing a numerical integrator. More...
 

Typedefs

typedef std::vector< double > StateVector
 

Functions

StateVector operator+ (const StateVector &, const StateVector &)
 Addition operator for StateVectors.
 
StateVector operator- (const StateVector &, const StateVector &)
 Subtraction operator for StateVectors.
 
StateVector operator* (const StateVector &, double)
 Right multiplication by double for StateVectors.
 
StateVector operator* (double, const StateVector &)
 Left multiplication by double for StateVectors.
 
StateVector operator/ (const StateVector &, double)
 Division by double for StateVectors.
 
double abs (StateVector)
 Function returning the magnitude of a StateVector.
 

Detailed Description

Base file for numerical methods.

Provides basis for implementation of algorithms for numerical integration.