Mantid
Loading...
Searching...
No Matches
Namespaces | Functions
mathSupport.cpp File Reference
#include <algorithm>
#include <cmath>
#include <complex>
#include <iterator>
#include <vector>
#include "MantidGeometry/Math/mathSupport.h"
#include "MantidKernel/Logger.h"

Go to the source code of this file.

Namespaces

namespace  Mantid
 Helper class which provides the Collimation Length for SANS instruments.
 

Functions

template<typename CInputIter >
int Mantid::solveCubic (const CInputIter Coef, std::complex< double > &AnsA, std::complex< double > &AnsB, std::complex< double > &AnsC)
 Solves Cubic equation. More...
 
template<typename InputIter >
int Mantid::solveQuadratic (const InputIter Coef, std::pair< std::complex< double >, std::complex< double > > &OutAns)
 Solves Complex Quadratic. More...