KASKADE 7 development version
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
Kaskade::EntryTraits< Entry > Struct Template Reference

#include <scalar.hh>

Detailed Description

template<class Entry>
struct Kaskade::EntryTraits< Entry >

Definition at line 72 of file scalar.hh.

Public Types

using transpose_type = Entry
 
using field_type = Entry
 
using real_type = typename ScalarTraits< field_type >::Real
 

Static Public Member Functions

static real_type frobenius_norm2 (Entry const &x)
 

Static Public Attributes

static int const rows = 1
 
static int const cols = 1
 
static int const lapackLayout = std::is_floating_point<Entry>::value
 

Member Typedef Documentation

◆ field_type

template<class Entry >
using Kaskade::EntryTraits< Entry >::field_type = Entry

Definition at line 77 of file scalar.hh.

◆ real_type

template<class Entry >
using Kaskade::EntryTraits< Entry >::real_type = typename ScalarTraits<field_type>::Real

Definition at line 78 of file scalar.hh.

◆ transpose_type

template<class Entry >
using Kaskade::EntryTraits< Entry >::transpose_type = Entry

Definition at line 76 of file scalar.hh.

Member Function Documentation

◆ frobenius_norm2()

template<class Entry >
static real_type Kaskade::EntryTraits< Entry >::frobenius_norm2 ( Entry const &  x)
inlinestatic

Definition at line 81 of file scalar.hh.

Referenced by Kaskade::frobenius_norm2().

Member Data Documentation

◆ cols

template<class Entry >
int const Kaskade::EntryTraits< Entry >::cols = 1
static

◆ lapackLayout

template<class Entry >
int const Kaskade::EntryTraits< Entry >::lapackLayout = std::is_floating_point<Entry>::value
static

◆ rows

template<class Entry >
int const Kaskade::EntryTraits< Entry >::rows = 1
static

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