Blaze 3.9
Public Member Functions | List of all members
blaze::LpNorm< P > Struct Template Reference

Generic wrapper for the lpNorm() function. More...

#include <LpNorm.h>

Public Member Functions

template<typename T >
BLAZE_ALWAYS_INLINE BLAZE_DEVICE_CALLABLE decltype(auto) operator() (T &&a) const
 Calls the lpNorm() function with the given object/value. More...
 
template<typename T , typename ST >
BLAZE_ALWAYS_INLINE BLAZE_DEVICE_CALLABLE decltype(auto) operator() (T &&a, ST p) const
 Calls the lpNorm() function with the given object/value. More...
 

Detailed Description

template<size_t... P>
struct blaze::LpNorm< P >

Generic wrapper for the lpNorm() function.

Member Function Documentation

◆ operator()() [1/2]

template<size_t... P>
template<typename T >
BLAZE_ALWAYS_INLINE BLAZE_DEVICE_CALLABLE decltype(auto) blaze::LpNorm< P >::operator() ( T &&  a) const
inline

Calls the lpNorm() function with the given object/value.

Parameters
aThe given object/value.
Returns
The Lp norm of the given object/value.

◆ operator()() [2/2]

template<size_t... P>
template<typename T , typename ST >
BLAZE_ALWAYS_INLINE BLAZE_DEVICE_CALLABLE decltype(auto) blaze::LpNorm< P >::operator() ( T &&  a,
ST  p 
) const
inline

Calls the lpNorm() function with the given object/value.

Parameters
aThe given object/value.
pThe runtime norm parameter.
Returns
The Lp norm of the given object/value.

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