CoDiPack  2.2.0
A Code Differentiation Package
SciComp TU Kaiserslautern
Loading...
Searching...
No Matches
codi::OperationCbrt< T_Real > Struct Template Reference

UnaryOperation implementation for cbrt. More...

#include <unaryOperators.hpp>

Inheritance diagram for codi::OperationCbrt< T_Real >:

Public Types

using Real = T_Real
 See BinaryOperation.
 
- Public Types inherited from codi::UnaryOperation< T_Real >
using Real = T_Real
 See UnaryOperation.
 

Static Public Member Functions

template<typename Arg >
static Real gradient (Arg const &arg, Real const &result)
 
template<typename Arg >
static Real primal (Arg const &arg)
 
- Static Public Member Functions inherited from codi::UnaryOperation< T_Real >
template<typename Arg >
static Real gradient (Arg const &arg, Real const &result)
 
template<typename Arg >
static Real primal (Arg const &arg)
 

Detailed Description

template<typename T_Real>
struct codi::OperationCbrt< T_Real >

UnaryOperation implementation for cbrt.

Member Function Documentation

◆ gradient()

template<typename T_Real >
template<typename Arg >
static Real codi::OperationCbrt< T_Real >::gradient ( Arg const & arg,
Real const & result )
inlinestatic

Compute the gradient with respect to the argument

The type of the argument is the type of the result of a getValue call on the expression.

◆ primal()

template<typename T_Real >
template<typename Arg >
static Real codi::OperationCbrt< T_Real >::primal ( Arg const & arg)
inlinestatic

Compute the primal value from the argument.

The type of the argument is the type of the result of a getValue call on the expression.


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