VTK-m  2.2
Classes | Namespaces | Functions
NewtonsMethod.h File Reference
#include <vtkm/Math.h>
#include <vtkm/Matrix.h>

Go to the source code of this file.

Classes

struct  vtkm::NewtonsMethodResult< ScalarType, Size >
 An object returned from NewtonsMethod() that contains the result and other information about the final state. More...
 

Namespaces

 vtkm
 Groups connected points that have the same field value.
 

Functions

template<typename ScalarType , vtkm::IdComponent Size, typename JacobianFunctor , typename FunctionFunctor >
NewtonsMethodResult< ScalarType, Size > vtkm::NewtonsMethod (JacobianFunctor jacobianEvaluator, FunctionFunctor functionEvaluator, vtkm::Vec< ScalarType, Size > desiredFunctionOutput, vtkm::Vec< ScalarType, Size > initialGuess=vtkm::Vec< ScalarType, Size >(ScalarType(0)), ScalarType convergeDifference=ScalarType(1e-3), vtkm::IdComponent maxIterations=10)
 Uses Newton's method (a.k.a. More...