16#include <deal.II/lac/vector.templates.h>
21# include "vector.inst"
23# ifndef DEAL_II_WITH_COMPLEX_VALUES
49# define TEMPL_COPY_CONSTRUCTOR(S1, S2) \
50 template Vector<S1>::Vector(const Vector<S2> &); \
51 template Vector<S1> &Vector<S1>::operator=<S2>(const Vector<S2> &)
56# ifdef DEAL_II_WITH_COMPLEX_VALUES
61# undef TEMPL_COPY_CONSTRUCTOR
64# define TEMPL_OP_EQ(S1, S2) \
65 template void Vector<S1>::scale(const Vector<S2> &); \
66 template void Vector<S1>::equ(const S1, const Vector<S2> &)
68TEMPL_OP_EQ(
double,
float);
69TEMPL_OP_EQ(
float,
double);
72# ifdef DEAL_II_WITH_COMPLEX_VALUES
73TEMPL_OP_EQ(std::complex<double>, std::complex<float>);
74TEMPL_OP_EQ(std::complex<float>, std::complex<double>);
85 Assert(
false, ExcMessage(
"No lp norm for integer vectors"));
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
#define Assert(cond, exc)
typename numbers::NumberTraits< Number >::real_type real_type
real_type lp_norm(const real_type p) const
#define TEMPL_COPY_CONSTRUCTOR(S1, S2)