42 #if !defined(Intrepid_MiniTensor_Tensor3_i_h)
43 #define Intrepid_MiniTensor_Tensor3_i_h
126 template<
typename S,
typename T>
142 template<
typename S,
typename T>
144 Tensor3<typename Promote<S, T>::type>
145 operator-(Tensor3<S>
const & A, Tensor3<T>
const & B)
147 Tensor3<typename Promote<S, T>::type>
161 operator-(Tensor3<T>
const & A)
177 operator==(Tensor3<T>
const & A, Tensor3<T>
const & B)
188 operator!=(Tensor3<T>
const & A, Tensor3<T>
const & B)
190 return not_equal(A, B);
196 template<
typename S,
typename T>
198 typename lazy_disable_if< order_1234<S>, apply_tensor3< Promote<S,T> > >::type
199 operator*(S
const & s, Tensor3<T>
const & A)
201 Tensor3<typename Promote<S, T>::type>
212 template<
typename S,
typename T>
214 typename lazy_disable_if< order_1234<S>, apply_tensor3< Promote<S,T> > >::type
215 operator*(Tensor3<T>
const & A, S
const & s)
217 Tensor3<typename Promote<S, T>::type>
228 template<
typename S,
typename T>
230 Tensor3<typename Promote<S, T>::type>
231 operator/(Tensor3<T>
const & A, S
const & s)
233 Tensor3<typename Promote<S, T>::type>
259 return self[(i * N + j) * N + k];
280 return self[(i * N + j) * N + k];
285 #endif // Intrepid_MiniTensor_Tensor3_i_h
T const & operator()(Index const i, Index const j, Index const k) const
Index get_dimension() const