Public Types | Public Member Functions | Protected Attributes

OpenTissue::kinematics::inverse::detail::GradientCalculator< solver_type > Class Template Reference

#include <inverse_nonlinear_solver.h>

List of all members.

Public Types

typedef solver_type::math_types math_types
typedef solver_type::vector_type vector_type
typedef solver_type::matrix_type matrix_type
typedef math_types::value_traits value_traits

Public Member Functions

 GradientCalculator ()
void init (solver_type *S)

Protected Attributes

solver_typem_S
 A pointer to the solver.
vector_type m_delta
 Temporary storage, used to hold intermediate computations of the weighted difference vector.
matrix_type m_J
 Temporary storage, used to hold intermediate computations of Jacobian.
vector_type m_tmp
 Temporary storage, used to hold intermediate computations.

Detailed Description

template<typename solver_type>
class OpenTissue::kinematics::inverse::detail::GradientCalculator< solver_type >

Gradient Calculator functor Class This class provides a function for calculating the gradient of the inverse kinematics object function.

Warning:
The class must be initialized before use
Template Parameters:
solver_type The solver_type that this Function calculator is used on

Member Typedef Documentation


Constructor & Destructor Documentation


Member Function Documentation

template<typename solver_type >
void OpenTissue::kinematics::inverse::detail::GradientCalculator< solver_type >::init ( solver_type S  )  [inline]

Initialization.

Parameters:
S A pointer to the solver class for which this class should work

Member Data Documentation

Temporary storage, used to hold intermediate computations of the weighted difference vector.

Temporary storage, used to hold intermediate computations of Jacobian.

A pointer to the solver.

Temporary storage, used to hold intermediate computations.


The documentation for this class was generated from the following file: