Viskores  1.0
Classes | Namespaces | Functions
NewtonsMethod.h File Reference
#include <viskores/Math.h>
#include <viskores/Matrix.h>

Go to the source code of this file.

Classes

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

Namespaces

 viskores
 Groups connected points that have the same field value.
 

Functions

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