batmat main
Batched linear algebra routines
Loading...
Searching...
No Matches
batmat::linalg::norms< T, void > Struct Template Reference

#include <batmat/linalg/norms.hpp>

Detailed Description

template<class T>
struct batmat::linalg::norms< T, void >

Definition at line 76 of file norms.hpp.

Classes

struct  result
 Accumulator. More...

Public Types

using result
 Accumulator.

Public Member Functions

result operator() (result accum, T t) const
 Update the accumulator with a new value.
result operator() (result accum, result t) const
 Combine two accumulators.

Static Public Member Functions

static result zero ()
 Identity element for the reduction.
static result_simd zero_simd ()

Member Typedef Documentation

◆ result

using batmat::linalg::norms< T, void >::result

Accumulator.

Definition at line 28 of file norms.hpp.

Member Function Documentation

◆ operator()() [1/2]

template<class T>
result batmat::linalg::norms< T, void >::operator() ( result accum,
T t ) const
inline

Update the accumulator with a new value.

Definition at line 98 of file norms.hpp.

◆ operator()() [2/2]

template<class T>
result batmat::linalg::norms< T, void >::operator() ( result accum,
result t ) const
inline

Combine two accumulators.

Definition at line 106 of file norms.hpp.

◆ zero()

template<class T>
result batmat::linalg::norms< T, void >::zero ( )
inlinestatic

Identity element for the reduction.

Definition at line 112 of file norms.hpp.

◆ zero_simd()

result_simd batmat::linalg::norms< T, void >::zero_simd ( )
inlinestatic

Definition at line 72 of file norms.hpp.


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