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::imag< T > Struct Template Reference

#include <imag.hpp>

Public Types

using result_type = magnitude_t<T>

Public Member Functions

constexpr result_type operator() (const T &v) const

Static Public Member Functions

static constexpr result_type apply (const T &v)

Member Typedef Documentation

◆ result_type

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

Member Function Documentation

◆ apply()

template<typename T>
constexpr result_type mtl::functor::scalar::imag< T >::apply ( const T & v)
inlinestaticconstexpr

◆ operator()()

template<typename T>
result_type mtl::functor::scalar::imag< T >::operator() ( const T & v) const
inlineconstexpr

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