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

 LpNorm ()
 Default constructor of the LpNorm functor.
 
template<typename T >
decltype(auto) BLAZE_ALWAYS_INLINE operator() (const T &a) const
 Calls the lpNorm() function with the given object/value. More...
 
template<typename T , typename ST >
decltype(auto) BLAZE_ALWAYS_INLINE operator() (const 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 >
decltype(auto) BLAZE_ALWAYS_INLINE blaze::LpNorm< P >::operator() ( const 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 >
decltype(auto) BLAZE_ALWAYS_INLINE blaze::LpNorm< P >::operator() ( const 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: