VTK  9.6.2
vtkPolynomialSolversUnivariate.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-FileCopyrightText: Copyright 2011 Sandia Corporation
3// SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
30
31#ifndef vtkPolynomialSolversUnivariate_h
32#define vtkPolynomialSolversUnivariate_h
33
34#include "vtkCommonMathModule.h" // For export macro
35#include "vtkObject.h"
36
37VTK_ABI_NAMESPACE_BEGIN
38class VTKCOMMONMATH_EXPORT vtkPolynomialSolversUnivariate : public vtkObject
39{
40public:
43 void PrintSelf(ostream& os, vtkIndent indent) override;
44 static ostream& PrintPolynomial(ostream& os, double* P, int degP);
45
47
86 static int HabichtBisectionSolve(double* P, int d, double* a, double* upperBnds, double tol);
88 double* P, int d, double* a, double* upperBnds, double tol, int intervalType);
90 double* P, int d, double* a, double* upperBnds, double tol, int intervalType, bool divideGCD);
92
94
124 static int SturmBisectionSolve(double* P,