GADGET-4
symtensor3< T > Class Template Reference

#include <symtensors.h>

Public Types

typedef compl_return< T >::type float_or_double
 

Public Member Functions

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

Public Attributes

da [10]
 

Detailed Description

template<typename T>
class symtensor3< T >

Definition at line 299 of file symtensors.h.

Member Typedef Documentation

◆ float_or_double

typedef compl_return<T>::type float_or_double

Definition at line 349 of file symtensors.h.

Constructor & Destructor Documentation

◆ symtensor3() [1/5]

symtensor3 ( )
inline

Definition at line 304 of file symtensors.h.

◆ symtensor3() [2/5]

symtensor3 ( const T  x)
inline

Definition at line 306 of file symtensors.h.

◆ symtensor3() [3/5]

symtensor3 ( const float *  x)
inline

Definition at line 320 of file symtensors.h.

◆ symtensor3() [4/5]

symtensor3 ( const double *  x)
inline

Definition at line 334 of file symtensors.h.

◆ symtensor3() [5/5]

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

Definition at line 353 of file symtensors.h.

Member Function Documentation

◆ norm()

double norm ( void  )
inline

Definition at line 417 of file symtensors.h.

◆ operator symtensor3< float_or_double >()

operator symtensor3< float_or_double > ( ) const
inline

Definition at line 350 of file symtensors.h.

◆ operator*=()

symtensor3 & operator*= ( const T  fac)
inline

Definition at line 399 of file symtensors.h.

◆ operator+=()

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

Definition at line 367 of file symtensors.h.

◆ operator-=()

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

Definition at line 383 of file symtensors.h.

◆ operator[]()

T & operator[] ( const size_t  index)
inline

Definition at line 415 of file symtensors.h.

Member Data Documentation

◆ da

T da[10]

Definition at line 302 of file symtensors.h.


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