GADGET-4
symtensor5< T > Class Template Reference

#include <symtensors.h>

Public Types

typedef compl_return< T >::type float_or_double
 

Public Member Functions

 symtensor5 ()
 
 symtensor5 (const T x)
 
 symtensor5 (const float *x)
 
 symtensor5 (const double *x)
 
 operator symtensor5< float_or_double > () const
 
 symtensor5 (const vector< T > &v, const symtensor4< T > &D)
 
symtensor5operator+= (const symtensor5 &right)
 
symtensor5operator-= (const symtensor5 &right)
 
symtensor5operator*= (const T fac)
 
T & operator[] (const size_t index)
 
double norm (void)
 

Public Attributes

da [21]
 

Detailed Description

template<typename T>
class symtensor5< T >

Definition at line 516 of file symtensors.h.

Member Typedef Documentation

◆ float_or_double

typedef compl_return<T>::type float_or_double

Definition at line 542 of file symtensors.h.

Constructor & Destructor Documentation

◆ symtensor5() [1/5]

symtensor5 ( )
inline

Definition at line 521 of file symtensors.h.

◆ symtensor5() [2/5]

symtensor5 ( const T  x)
inline

Definition at line 523 of file symtensors.h.

◆ symtensor5() [3/5]

symtensor5 ( const float *  x)
inline

Definition at line 529 of file symtensors.h.

◆ symtensor5() [4/5]

symtensor5 ( const double *  x)
inline

Definition at line 535 of file symtensors.h.

◆ symtensor5() [5/5]

symtensor5 ( const vector< T > &  v,
const symtensor4< T > &  D 
)
inline

Definition at line 546 of file symtensors.h.

Member Function Documentation

◆ norm()

double norm ( void  )
inline

Definition at line 597 of file symtensors.h.

◆ operator symtensor5< float_or_double >()

operator symtensor5< float_or_double > ( ) const
inline

Definition at line 543 of file symtensors.h.

◆ operator*=()

symtensor5 & operator*= ( const T  fac)
inline

Definition at line 587 of file symtensors.h.

◆ operator+=()

symtensor5 & operator+= ( const symtensor5< T > &  right)
inline

Definition at line 571 of file symtensors.h.

◆ operator-=()

symtensor5 & operator-= ( const symtensor5< T > &  right)
inline

Definition at line 579 of file symtensors.h.

◆ operator[]()

T & operator[] ( const size_t  index)
inline

Definition at line 595 of file symtensors.h.

Member Data Documentation

◆ da

T da[21]

Definition at line 519 of file symtensors.h.


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