#include <complex>
#include <cmath>
#include <dlrCommon/constants.h>
#include <dlrNumeric/solveCubic.h>
#include <dlrNumeric/solveQuadratic.h>
#include <iostream>
Go to the source code of this file.
Namespaces | |
| namespace | dlr::numeric |
| This namespace contains code for 1D, 2D, and 3D arrays, matrices, coordinate transformations, rotation conversions, and much more. | |
Functions | |
| template<class Type > | |
| void | dlr::numeric::solveQuartic (Type c0, Type c1, Type c2, Type c3, std::complex< Type > &root0, std::complex< Type > &root1, std::complex< Type > &root2, std::complex< Type > &root3) |
| This function computes the (possibly complex) roots of the quartic polynomial x^4 + c0*x^3 + c1*x^2 + c2*x + c3 = 0. | |
Copyright (C) 2001-2009 David LaRose, dlr@cs.cmu.edu See accompanying file, LICENSE.TXT, for details.
Definition in file solveQuartic.h.
1.5.8