* @relates Tensor
*/
template <int rank_1, int rank_2, int dim, typename Number>
+inline
void outer_product(Tensor<rank_1 + rank_2, dim, Number> &dst,
const Tensor<rank_1, dim, Number> &src1,
const Tensor<rank_2, dim, Number> &src2) DEAL_II_DEPRECATED;
* @relates Tensor
*/
template <int dim, typename Number>
+inline
void outer_product (Tensor<1,dim,Number> &dst,
const Number src1,
const Tensor<1,dim,Number> &src2) DEAL_II_DEPRECATED;
* @relates Tensor
*/
template <int dim, typename Number>
+inline
void outer_product (Tensor<1,dim,Number> &dst,
const Tensor<1,dim,Number> src1,
const Number src2) DEAL_II_DEPRECATED;
inline
Number determinant (const Tensor<1,1,Number> &t) DEAL_II_DEPRECATED;
+//@}
+
+/* ----------------------------- Definitions: ------------------------------- */
template <int rank_1, int rank_2, int dim, typename Number>
inline
}
template <int rank_1, int rank_2, int dim, typename Number>
+inline
void outer_product(Tensor<rank_1 + rank_2, dim, Number> &dst,
const Tensor<rank_1, dim, Number> &src1,
const Tensor<rank_2, dim, Number> &src2)
}
template <int dim, typename Number>
+inline
void outer_product (Tensor<1,dim,Number> &dst,
const Number src1,
const Tensor<1,dim,Number> &src2)
}
template <int dim, typename Number>
+inline
void outer_product (Tensor<1,dim,Number> &dst,
const Tensor<1,dim,Number> src1,
const Number src2)
return t[0];
}
-//@}
-
DEAL_II_NAMESPACE_CLOSE
#endif