Navigation
API > API/Runtime > API/Runtime/Core
Find roots of a polynomial of a specified degree
| Name | TPolynomialRootSolver |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Math/PolynomialRootSolver.h |
| Include Path | #include "Math/PolynomialRootSolver.h" |
Syntax
template<typename RealType, int32 PolynomialDegree>
struct TPolynomialRootSolver
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Math/PolynomialRootSolver.h | |||
TPolynomialRootSolver
(
TArrayView< const RealType > PolyCoeffs, |
Find roots within the specified open interval (RangeStart, RangeEnd) (i.e. roots at either extreme are not returned) | Math/PolynomialRootSolver.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Roots | TArray< RealType, TInlineAllocator< PolynomialDegree > > | Holds last-found polynomial roots. | Math/PolynomialRootSolver.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 FindRootsInRange
(
TArrayView< const RealType > PolyCoeffs, |
Find roots within the specified open interval (RangeStart, RangeEnd) (i.e. roots at either extreme are not returned) | Math/PolynomialRootSolver.h |