GADGET-4
symtensor7< T > Class Template Reference

#include <symtensors.h>

Public Types

typedef compl_return< T >::type float_or_double
 

Public Member Functions

 symtensor7 ()
 
 symtensor7 (const T x)
 
 symtensor7 (const float *x)
 
 symtensor7 (const double *x)
 
 operator symtensor7< float_or_double > () const
 
symtensor7operator+= (const symtensor7 &right)
 
symtensor7operator-= (const symtensor7 &right)
 
symtensor7operator*= (const T fac)
 
T & operator[] (const size_t index)
 
double norm (void)
 

Public Attributes

da [36]
 

Detailed Description

template<typename T>
class symtensor7< T >

Definition at line 709 of file symtensors.h.

Member Typedef Documentation

◆ float_or_double

typedef compl_return<T>::type float_or_double

Definition at line 735 of file symtensors.h.

Constructor & Destructor Documentation

◆ symtensor7() [1/4]

symtensor7 ( )
inline

Definition at line 714 of file symtensors.h.

◆ symtensor7() [2/4]

symtensor7 ( const T  x)
inline

Definition at line 716 of file symtensors.h.

◆ symtensor7() [3/4]

symtensor7 ( const float *  x)
inline

Definition at line 722 of file symtensors.h.

◆ symtensor7() [4/4]

symtensor7 ( const double *  x)
inline

Definition at line 728 of file symtensors.h.

Member Function Documentation

◆ norm()

double norm ( void  )
inline

Definition at line 764 of file symtensors.h.

◆ operator symtensor7< float_or_double >()

operator symtensor7< float_or_double > ( ) const
inline

Definition at line 736 of file symtensors.h.

◆ operator*=()

symtensor7 & operator*= ( const T  fac)
inline

Definition at line 754 of file symtensors.h.

◆ operator+=()

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

Definition at line 738 of file symtensors.h.

◆ operator-=()

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

Definition at line 746 of file symtensors.h.

◆ operator[]()

T & operator[] ( const size_t  index)
inline

Definition at line 762 of file symtensors.h.

Member Data Documentation

◆ da

T da[36]

Definition at line 712 of file symtensors.h.


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