TypeVector< T > Class Template Reference
#include <tensor_tools.h>
Public Member Functions | |
| template<> | |
| bool | operator< (const TypeVector< Complex > &rhs) const |
| template<> | |
| bool | operator<= (const TypeVector< Complex > &rhs) const |
| template<> | |
| bool | operator> (const TypeVector< Complex > &rhs) const |
| template<> | |
| bool | operator>= (const TypeVector< Complex > &rhs) const |
| template<> | |
| bool | operator!= (const TypeVector< Real > &rhs) const |
Detailed Description
template<typename T>
class TypeVector< T >
Definition at line 30 of file tensor_tools.h.
Member Function Documentation
template<>
|
inline |
Definition at line 926 of file type_vector.h.
{
return (!(*this == rhs));
}
template<>
| bool TypeVector< Complex >::operator< | ( | const TypeVector< Complex > & | rhs | ) | const |
Definition at line 167 of file type_vector.C.
{
for (unsigned int i=0; i<LIBMESH_DIM; i++)
{
if ((*this)(i).real() < rhs(i).real())
return true;
if ((*this)(i).real() > rhs(i).real())
return false;
if ((*this)(i).imag() < rhs(i).imag())
return true;
if ((*this)(i).imag() > rhs(i).imag())
return false;
}
return false;
}
template<>
| bool TypeVector< Complex >::operator<= | ( | const TypeVector< Complex > & | rhs | ) | const |
Definition at line 186 of file type_vector.C.
{
for (unsigned int i=0; i<LIBMESH_DIM; i++)
{
if ((*this)(i).real() < rhs(i).real())
return true;
if ((*this)(i).real() > rhs(i).real())
return false;
if ((*this)(i).imag() < rhs(i).imag())
return true;
if ((*this)(i).imag() > rhs(i).imag())
return false;
}
return true;
}
template<>
| bool TypeVector< Complex >::operator> | ( | const TypeVector< Complex > & | rhs | ) | const |
Definition at line 205 of file type_vector.C.
{
for (unsigned int i=0; i<LIBMESH_DIM; i++)
{
if ((*this)(i).real() > rhs(i).real())
return true;
if ((*this)(i).real() < rhs(i).real())
return false;
if ((*this)(i).imag() > rhs(i).imag())
return true;
if ((*this)(i).imag() < rhs(i).imag())
return false;
}
return false;
}
template<>
| bool TypeVector< Complex >::operator>= | ( | const TypeVector< Complex > & | rhs | ) | const |
Definition at line 224 of file type_vector.C.
{
for (unsigned int i=0; i<LIBMESH_DIM; i++)
{
if ((*this)(i).real() > rhs(i).real())
return true;
if ((*this)(i).real() < rhs(i).real())
return false;
if ((*this)(i).imag() > rhs(i).imag())
return true;
if ((*this)(i).imag() < rhs(i).imag())
return false;
}
return true;
}
The documentation for this class was generated from the following file: