solveQuartic.h File Reference

Header file declaring a function for solving quartic polynomial equations of a single variable. More...

#include <complex>
#include <cmath>
#include <dlrCommon/constants.h>
#include <dlrNumeric/solveCubic.h>
#include <dlrNumeric/solveQuadratic.h>
#include <iostream>

Include dependency graph for solveQuartic.h:

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.


Detailed Description

Header file declaring a function for solving quartic polynomial equations of a single variable.

Copyright (C) 2001-2009 David LaRose, dlr@cs.cmu.edu See accompanying file, LICENSE.TXT, for details.

Revision
Date

Definition in file solveQuartic.h.


Generated on Wed Nov 25 00:42:45 2009 for dlrUtilities Utility Library by  doxygen 1.5.8