MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
mtl::functor::scalar::pow< T > Struct Template Reference

#include <pow.hpp>

Public Types

using result_type = T

Public Member Functions

template<typename S>
result_type operator() (const T &base, const S &exponent) const

Static Public Member Functions

template<typename S>
static result_type apply (const T &base, const S &exponent)

Member Typedef Documentation

◆ result_type

template<typename T>
using mtl::functor::scalar::pow< T >::result_type = T

Member Function Documentation

◆ apply()

template<typename T>
template<typename S>
result_type mtl::functor::scalar::pow< T >::apply ( const T & base,
const S & exponent )
inlinestatic

◆ operator()()

template<typename T>
template<typename S>
result_type mtl::functor::scalar::pow< T >::operator() ( const T & base,
const S & exponent ) const
inline

The documentation for this struct was generated from the following file:
  • /home/runner/work/mtl5/mtl5/include/mtl/functor/scalar/pow.hpp