42 #if !defined(Intrepid_MiniTensor_Vector_h) 43 #define Intrepid_MiniTensor_Vector_h 50 #include "Intrepid_MiniTensor_Definitions.h" 51 #include "Intrepid_MiniTensor_Storage.h" 52 #include "Intrepid_MiniTensor_TensorBase.h" 53 #include "Intrepid_MiniTensor_Utilities.h" 61 class Vector :
public TensorBase<T>
81 Vector(Index
const dimension);
89 Vector(Index
const dimension, ComponentValue value);
97 Vector(Index
const dimension, T
const & s);
103 Vector(T
const & s0, T
const & s1);
110 Vector(T
const & s0, T
const & s1, T
const & s2);
117 Vector(Index
const dimension, T
const * data_ptr);
155 template<
typename S,
typename T>
163 template<
typename S,
typename T>
179 template<
typename S,
typename T>
180 typename Promote<S, T>::type
205 template<
typename S,
typename T>
207 operator*(S
const & s,
Vector<T> const & u);
215 template<
typename S,
typename T>
217 operator*(
Vector<T> const & u, S
const & s);
225 template<
typename S,
typename T>
227 operator/(
Vector<T> const & u, S
const & s);
233 template<
typename S,
typename T>
234 typename Promote<S, T>::type
242 template<
typename S,
typename T>
286 operator>>(std::istream & is,
Vector<T> & u);
296 operator<<(std::ostream & os, Vector<T>
const & u);
300 #include "Intrepid_MiniTensor_Vector.i.h" 301 #include "Intrepid_MiniTensor_Vector.t.h" 303 #endif //Intrepid_MiniTensor_Vector_h
T const & operator()(Index const i) const