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::assign< T1, T2 > Struct Template Reference

#include <assign.hpp>

Public Types

using result_type = T1&

Public Member Functions

constexpr T1 & operator() (T1 &a, const T2 &b) const

Static Public Member Functions

static constexpr T1 & apply (T1 &a, const T2 &b)

Member Typedef Documentation

◆ result_type

template<typename T1, typename T2 = T1>
using mtl::functor::scalar::assign< T1, T2 >::result_type = T1&

Member Function Documentation

◆ apply()

template<typename T1, typename T2 = T1>
constexpr T1 & mtl::functor::scalar::assign< T1, T2 >::apply ( T1 & a,
const T2 & b )
inlinestaticconstexpr

◆ operator()()

template<typename T1, typename T2 = T1>
T1 & mtl::functor::scalar::assign< T1, T2 >::operator() ( T1 & a,
const T2 & b ) const
inlineconstexpr

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