16 #include <deal.II/lac/vector.templates.h> 18 DEAL_II_NAMESPACE_OPEN
20 #include "vector.inst" 22 #ifndef DEAL_II_WITH_COMPLEX_VALUES 31 operator=<
int>(const ::Vector<int> &);
47 #define TEMPL_COPY_CONSTRUCTOR(S1, S2) \ 48 template Vector<S1>::Vector(const Vector<S2> &); \ 49 template Vector<S1> &Vector<S1>::operator=<S2>(const Vector<S2> &) 51 TEMPL_COPY_CONSTRUCTOR(
double,
float);
52 TEMPL_COPY_CONSTRUCTOR(
float,
double);
54 #ifdef DEAL_II_WITH_COMPLEX_VALUES 55 TEMPL_COPY_CONSTRUCTOR(std::complex<double>, std::complex<float>);
56 TEMPL_COPY_CONSTRUCTOR(std::complex<float>, std::complex<double>);
59 #undef TEMPL_COPY_CONSTRUCTOR 62 #define TEMPL_OP_EQ(S1, S2) \ 63 template void Vector<S1>::scale(const Vector<S2> &); \ 64 template void Vector<S1>::equ(const S1, const Vector<S2> &) 66 TEMPL_OP_EQ(
double,
float);
67 TEMPL_OP_EQ(
float,
double);
70 #ifdef DEAL_II_WITH_COMPLEX_VALUES 71 TEMPL_OP_EQ(std::complex<double>, std::complex<float>);
72 TEMPL_OP_EQ(std::complex<float>, std::complex<double>);
87 DEAL_II_NAMESPACE_CLOSE
typename numbers::NumberTraits< Number >::real_type real_type
static ::ExceptionBase & ExcMessage(std::string arg1)
#define Assert(cond, exc)
real_type lp_norm(const real_type p) const