16#include <deal.II/lac/vector.templates.h>
21# include "vector.inst"
23# ifndef DEAL_II_WITH_COMPLEX_VALUES
46# define TEMPL_COPY_CONSTRUCTOR(S1, S2) \
47 template Vector<S1>::Vector(const Vector<S2> &); \
48 template Vector<S1> &Vector<S1>::operator=<S2>(const Vector<S2> &)
53# ifdef DEAL_II_WITH_COMPLEX_VALUES
58# undef TEMPL_COPY_CONSTRUCTOR
61# define TEMPL_OP_EQ(S1, S2) \
62 template void Vector<S1>::scale(const Vector<S2> &); \
63 template void Vector<S1>::equ(const S1, const Vector<S2> &)
65TEMPL_OP_EQ(
double,
float);
66TEMPL_OP_EQ(
float,
double);
69# ifdef DEAL_II_WITH_COMPLEX_VALUES
70TEMPL_OP_EQ(std::complex<double>, std::complex<float>);
71TEMPL_OP_EQ(std::complex<float>, std::complex<double>);
82 Assert(
false, ExcMessage(
"No lp norm for integer vectors"));
typename numbers::NumberTraits< Number >::real_type real_type
real_type lp_norm(const real_type p) const
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
#define Assert(cond, exc)
#define TEMPL_COPY_CONSTRUCTOR(S1, S2)