BlackCat_Tensors
A GPU-supported autograd and linear algebra library, designed for neural network construction
Public Member Functions | Static Public Member Functions | List of all members
bc::oper::cmath_functions::Pow Struct Reference

#include <cmath.h>

Public Member Functions

template<class ValueType , class Exp >
BCINLINE ValueType operator() (const ValueType &x, Exp exp) const
 
template<class Xpr , class Exp >
auto operator() (const bc::tensors::Expression_Base< Xpr > &tensor, Exp exp)
 

Static Public Member Functions

template<class ValueType , class Exp >
static BCINLINE auto apply (const ValueType &x, Exp exp)
 

Member Function Documentation

◆ apply()

template<class ValueType , class Exp >
static BCINLINE auto bc::oper::cmath_functions::Pow::apply ( const ValueType &  x,
Exp  exp 
)
inlinestatic

◆ operator()() [1/2]

template<class ValueType , class Exp >
BCINLINE ValueType bc::oper::cmath_functions::Pow::operator() ( const ValueType &  x,
Exp  exp 
) const
inline

◆ operator()() [2/2]

template<class Xpr , class Exp >
auto bc::oper::cmath_functions::Pow::operator() ( const bc::tensors::Expression_Base< Xpr > &  tensor,
Exp  exp 
)
inline

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