GADGET-4
symtensor4< T > Class Template Reference

#include <symtensors.h>

Public Types

typedef compl_return< T >::type float_or_double
 

Public Member Functions

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

Public Attributes

da [15]
 

Detailed Description

template<typename T>
class symtensor4< T >

Definition at line 429 of file symtensors.h.

Member Typedef Documentation

◆ float_or_double

typedef compl_return<T>::type float_or_double

Definition at line 455 of file symtensors.h.

Constructor & Destructor Documentation

◆ symtensor4() [1/5]

symtensor4 ( )
inline

Definition at line 434 of file symtensors.h.

◆ symtensor4() [2/5]

symtensor4 ( const T  x)
inline

Definition at line 436 of file symtensors.h.

◆ symtensor4() [3/5]

symtensor4 ( const float *  x)
inline

Definition at line 442 of file symtensors.h.

◆ symtensor4() [4/5]

symtensor4 ( const double *  x)
inline

Definition at line 448 of file symtensors.h.

◆ symtensor4() [5/5]

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

Definition at line 459 of file symtensors.h.

Member Function Documentation

◆ norm()

double norm ( void  )
inline

Definition at line 504 of file symtensors.h.

◆ operator symtensor4< float_or_double >()

operator symtensor4< float_or_double > ( ) const
inline

Definition at line 456 of file symtensors.h.

◆ operator*=()

symtensor4 & operator*= ( const T  fac)
inline

Definition at line 494 of file symtensors.h.

◆ operator+=()

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

Definition at line 478 of file symtensors.h.

◆ operator-=()

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

Definition at line 486 of file symtensors.h.

◆ operator[]()

T & operator[] ( const size_t  index)
inline

Definition at line 502 of file symtensors.h.

Member Data Documentation

◆ da

T da[15]

Definition at line 432 of file symtensors.h.


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