16 #include <deal.II/lac/vector.templates.h> 18 DEAL_II_NAMESPACE_OPEN
20 #include "vector.inst" 25 operator=<
int>(const ::Vector<int> &);
41 #define TEMPL_COPY_CONSTRUCTOR(S1, S2) \ 42 template Vector<S1>::Vector(const Vector<S2> &); \ 43 template Vector<S1> &Vector<S1>::operator=<S2>(const Vector<S2> &) 45 TEMPL_COPY_CONSTRUCTOR(
double,
float);
46 TEMPL_COPY_CONSTRUCTOR(
float,
double);
48 TEMPL_COPY_CONSTRUCTOR(std::complex<double>, std::complex<float>);
49 TEMPL_COPY_CONSTRUCTOR(std::complex<float>, std::complex<double>);
51 #undef TEMPL_COPY_CONSTRUCTOR 54 #define TEMPL_OP_EQ(S1, S2) \ 55 template void Vector<S1>::scale(const Vector<S2> &); \ 56 template void Vector<S1>::equ(const S1, const Vector<S2> &) 58 TEMPL_OP_EQ(
double,
float);
59 TEMPL_OP_EQ(
float,
double);
62 TEMPL_OP_EQ(std::complex<double>, std::complex<float>);
63 TEMPL_OP_EQ(std::complex<float>, std::complex<double>);
77 DEAL_II_NAMESPACE_CLOSE
real_type lp_norm(const real_type p) const
typename numbers::NumberTraits< Number >::real_type real_type
static::ExceptionBase & ExcMessage(std::string arg1)
#define Assert(cond, exc)