numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
Loading...
Searching...
No Matches
num_collect::auto_diff::backward::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  differentiate_scalar_with_matrix_functor
 Class of functor to assign differential coefficients to matrices on the condition that a scalar-valued function is differentiated by a matrix-valued variable. More...
 
class  differentiate_vector_with_vector_functor
 Class of functor to assign differential coefficients to matrices on the condition that a vector-valued function is differentiated by a vector-valued variable. More...
 

Functions

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

Detailed Description

Namespace of internal implementations.

Function Documentation

◆ process_one_arg_function()

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

Process a function with one argument.

Template Parameters
ScalarType of scalars.
Parameters
[in]argArgument.
[in]valNew value.
[in]sensitivityPartial differential coefficient.
Returns
Resulting variable.

Definition at line 41 of file variable_math.h.