Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TPolynomialRootSolver
Overloads
| Name |
Remarks |
Include Path |
Unreal Specifiers |
|
|
Math/PolynomialRootSolver.h |
|
TPolynomialRootSolver
(
TArrayView< const RealType > PolyCoeffs,
RealType RangeStart,
RealType RangeEnd,
RealType Tolerance,
int32 MaxNewtonIterations,
RealType NearRootTolerance
)
|
Find roots within the specified open interval (RangeStart, RangeEnd) (i.e. roots at either extreme are not returned) |
Math/PolynomialRootSolver.h |
|
TPolynomialRootSolver()
| |
|
| Name |
TPolynomialRootSolver |
| Type |
function |
| Header File |
/Engine/Source/Runtime/Core/Public/Math/PolynomialRootSolver.h |
| Include Path |
#include "Math/PolynomialRootSolver.h" |
TPolynomialRootSolver()
TPolynomialRootSolver(TArrayView< const RealType >, RealType, RealType, RealType, int32, RealType)
Description
Find roots within the specified open interval (RangeStart, RangeEnd) (i.e. roots at either extreme are not returned)
| |
|
| Name |
TPolynomialRootSolver |
| Type |
function |
| Header File |
/Engine/Source/Runtime/Core/Public/Math/PolynomialRootSolver.h |
| Include Path |
#include "Math/PolynomialRootSolver.h" |
TPolynomialRootSolver
(
TArrayView < const RealType > PolyCoeffs,
RealType RangeStart,
RealType RangeEnd,
RealType Tolerance,
int32 MaxNewtonIterations,
RealType NearRootTolerance
)
Parameters
| Name |
Remarks |
| PolyCoeffs |
The coefficients of the polynomial such that PolyCoeffs[i] is the coefficient of the x^i term. Must have at least PolynomialDegree + 1 elements. |
| RangeStart |
Start of the open range to search for roots |
| RangeEnd |
End of the open range to search for roots |
| Tolerance |
Absolute tolerance for the returned root |
| MaxNewtonIterations |
Maximum number of newton/bisection iterations to perform internally when finding a root |
| NearRootTolerance |
Tolerance for finding almost-roots, i.e. cases where the polynomial just grazes 0 without crossing |