Function Dune::XT::Common::hstack

Function template Dune::XT::Common::hstack

template<class K, int SIZE>
Dune::XT::Common::FieldVector<K, SIZE> Dune::XT::Common::hstack(Dune::FieldVector<K, SIZE> &&vec)

Specialization of

See also: hstack to stop the recursion.

Function template Dune::XT::Common::hstack

template<class K, int SIZE>
Dune::XT::Common::FieldVector<K, SIZE> Dune::XT::Common::hstack(Dune::XT::Common::FieldVector<K, SIZE> &&vec)

Specialization of

See also: hstack to stop the recursion.

Function template Dune::XT::Common::hstack

template<class K, int SIZE>
Dune::XT::Common::FieldVector<K, SIZE> Dune::XT::Common::hstack(const Dune::FieldVector<K, SIZE> &vec)

Specialization of

See also: hstack to stop the recursion.

Function template Dune::XT::Common::hstack

template<class K, int SIZE>
Dune::XT::Common::FieldVector<K, SIZE> Dune::XT::Common::hstack(const Dune::XT::Common::FieldVector<K, SIZE> &vec)

Specialization of

See also: hstack to stop the recursion.

Function template Dune::XT::Common::hstack

template<class KL, class KR, int r>
typename std::enable_if<is_arithmetic<KL>::value && !is_field_vector<KL>::value, typename internal::hstack_helper<internal::hstack_decay_t<KL>, internal::hstack_decay_t<Dune::FieldVector<KR, r>>>::type>::type Dune::XT::Common::hstack(const KL &left, const Dune::FieldVector<KR, r> &right)

Specialization of

See also: hstack for two arguments.

Function template Dune::XT::Common::hstack

template<class KL, class KR, int r>
typename std::enable_if<is_arithmetic<KL>::value && !is_field_vector<KL>::value, typename internal::hstack_helper<internal::hstack_decay_t<KL>, internal::hstack_decay_t<Dune::FieldVector<KR, r>>>::type>::type Dune::XT::Common::hstack(const KL &left, const Dune::XT::Common::FieldVector<KR, r> &right)

Specialization of

See also: hstack for two arguments.

Function template Dune::XT::Common::hstack

template<class KL, int l, class KR, int r>
typename internal::hstack_helper<internal::hstack_decay_t<Dune::FieldVector<KL, l>>, internal::hstack_decay_t<Dune::FieldVector<KR, r>>>::type Dune::XT::Common::hstack(const Dune::FieldVector<KL, l> &left, const Dune::FieldVector<KR, r> &right)

Specialization of

See also: hstack for two arguments.

Function template Dune::XT::Common::hstack

template<class KL, int l, class KR, int r>
typename internal::hstack_helper<internal::hstack_decay_t<Dune::FieldVector<KL, l>>, internal::hstack_decay_t<Dune::FieldVector<KR, r>>>::type Dune::XT::Common::hstack(const Dune::FieldVector<KL, l> &left, const Dune::XT::Common::FieldVector<KR, r> &right)

Specialization of

See also: hstack for two arguments.

Function template Dune::XT::Common::hstack

template<class KL, int l, class KR, int r>
typename internal::hstack_helper<internal::hstack_decay_t<Dune::FieldVector<KL, l>>, internal::hstack_decay_t<Dune::FieldVector<KR, r>>>::type Dune::XT::Common::hstack(const Dune::XT::Common::FieldVector<KL, l> &left, const Dune::FieldVector<KR, r> &right)

Specialization of

See also: hstack for two arguments.

Function template Dune::XT::Common::hstack

template<class KL, int l, class KR, int r>
typename internal::hstack_helper<internal::hstack_decay_t<Dune::FieldVector<KL, l>>, internal::hstack_decay_t<Dune::FieldVector<KR, r>>>::type Dune::XT::Common::hstack(const Dune::XT::Common::FieldVector<KL, l> &left, const Dune::XT::Common::FieldVector<KR, r> &right)

Specialization of

See also: hstack for two arguments.

Function template Dune::XT::Common::hstack

template<class KL, int l, class KR>
typename std::enable_if<is_arithmetic<KR>::value && !is_field_vector<KR>::value, typename internal::hstack_helper<internal::hstack_decay_t<Dune::FieldVector<KL, l>>, internal::hstack_decay_t<KR>>::type>::type Dune::XT::Common::hstack(const Dune::FieldVector<KL, l> &left, const KR &right)

Specialization of

See also: hstack for two arguments.

Function template Dune::XT::Common::hstack

template<class KL, int l, class KR>
typename std::enable_if<is_arithmetic<KR>::value && !is_field_vector<KR>::value, typename internal::hstack_helper<internal::hstack_decay_t<Dune::FieldVector<KL, l>>, internal::hstack_decay_t<KR>>::type>::type Dune::XT::Common::hstack(const Dune::XT::Common::FieldVector<KL, l> &left, const KR &right)

Specialization of

See also: hstack for two arguments.

Function template Dune::XT::Common::hstack

template<class L, class R, class ...Vectors>
typename std::enable_if<is_field_vector<L>::value || is_field_vector<R>::value, typename internal::hstack_helper<internal::hstack_decay_t<L>, internal::hstack_decay_t<R>, Vectors...>::type>::type Dune::XT::Common::hstack(const L &left, const R &right, Vectors&&... vectors)

Stacks an arbitrary number of numbers and FieldVectors horizontally into one appropriate FieldVector.

Note

At least one argument must be a FieldVector!