numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
Loading...
Searching...
No Matches
num_collect::auto_diff::forward::impl Namespace Reference

Namespace of internal implementations. More...

Classes

class  create_diff_variable_vector_functor
 Class of functor to create a vector of variables by which functions will be differentiated. More...
 
class  make_jacobian_functor
 Class of functor to make Jacobian. More...
 

Functions

template<typename Value , typename Diff >
auto process_one_arg_function (const variable< Value, Diff > &arg, const Value &val, const Value &sensitivity) -> variable< Value, Diff >
 Process a function with one argument.
 

Detailed Description

Namespace of internal implementations.

Function Documentation

◆ process_one_arg_function()

template<typename Value , typename Diff >
auto num_collect::auto_diff::forward::impl::process_one_arg_function ( const variable< Value, Diff > & arg,
const Value & val,
const Value & sensitivity ) -> variable<Value, Diff>
inlinenodiscard

Process a function with one argument.

Template Parameters
ValueType of values.
DiffType of differential coefficients.
Parameters
[in]argArgument.
[in]valNew value.
[in]sensitivityPartial differential coefficient.
Returns
Resulting variable.

Definition at line 41 of file variable_math.h.