40 const Real length = norm();
42 libmesh_assert_not_equal_to (length, static_cast<Real>(0.));
68 os <<
"x=" << (*this)(0);
74 << std::setw(8) << (*this)(0) <<
", " 75 << std::setw(8) << (*this)(1) <<
")";
81 << std::setw(8) << (*this)(0) <<
", " 82 << std::setw(8) << (*this)(1) <<
", " 83 << std::setw(8) << (*this)(2) <<
")";
93 const bool newline)
const 97 os << std::setiosflags(std::ios::showpoint)
100 << (*
this)(2) <<
" ";
108 template <
typename T>
111 for (
unsigned int i=0; i<LIBMESH_DIM; i++)
113 if ((*
this)(i) < rhs(i))
115 if ((*
this)(i) > rhs(i))
122 template <
typename T>
125 for (
unsigned int i=0; i<LIBMESH_DIM; i++)
127 if ((*
this)(i) < rhs(i))
129 if ((*
this)(i) > rhs(i))
137 template <
typename T>
140 for (
unsigned int i=0; i<LIBMESH_DIM; i++)
142 if ((*
this)(i) > rhs(i))
144 if ((*
this)(i) < rhs(i))
151 template <
typename T>
154 for (
unsigned int i=0; i<LIBMESH_DIM; i++)
156 if ((*
this)(i) > rhs(i))
158 if ((*
this)(i) < rhs(i))
165 #ifdef LIBMESH_USE_COMPLEX_NUMBERS 169 for (
unsigned int i=0; i<LIBMESH_DIM; i++)
171 if ((*
this)(i).real() < rhs(i).real())
173 if ((*
this)(i).real() > rhs(i).real())
175 if ((*
this)(i).imag() < rhs(i).imag())
177 if ((*
this)(i).imag() > rhs(i).imag())
188 for (
unsigned int i=0; i<LIBMESH_DIM; i++)
190 if ((*
this)(i).real() < rhs(i).real())
192 if ((*
this)(i).real() > rhs(i).real())
194 if ((*
this)(i).imag() < rhs(i).imag())
196 if ((*
this)(i).imag() > rhs(i).imag())
207 for (
unsigned int i=0; i<LIBMESH_DIM; i++)
209 if ((*
this)(i).real() > rhs(i).real())
211 if ((*
this)(i).real() < rhs(i).real())
213 if ((*
this)(i).imag() > rhs(i).imag())
215 if ((*
this)(i).imag() < rhs(i).imag())
226 for (
unsigned int i=0; i<LIBMESH_DIM; i++)
228 if ((*
this)(i).real() > rhs(i).real())
230 if ((*
this)(i).real() < rhs(i).real())
232 if ((*
this)(i).imag() > rhs(i).imag())
234 if ((*
this)(i).imag() < rhs(i).imag())
248 #ifdef LIBMESH_USE_COMPLEX_NUMBERS bool operator>(const TypeVector< T > &rhs) const
bool operator>=(const TypeVector< T > &rhs) const
void print(std::ostream &os=libMesh::out) const
TypeVector< T > unit() const
void write_unformatted(std::ostream &out, const bool newline=true) const
bool operator<=(const TypeVector< T > &rhs) const
bool operator<(const TypeVector< T > &rhs) const
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real