1#ifndef VECTOR_INTERFACE_CYCLOPS_IMPL_H_
2#define VECTOR_INTERFACE_CYCLOPS_IMPL_H_
11 template <
typename Scalar>
12 using VType = CTF::Vector<Scalar>;
17 template <
typename Scalar>
20 template <
typename Scalar>
23 template <
typename Scalar>
27 template <
typename Scalar>
30 template <
typename Scalar>
33 template <
typename Scalar>
37 template <
typename Scalar>
56 template <
typename Scalar,
typename VT1>
60 template <
typename Scalar>
63 template <
typename Scalar>
66 template <
typename Scalar,
typename VT>
72#ifndef XPED_COMPILED_LIB
Definition: VectorInterface_Cyclops_impl.hpp:9
static void setZero(VType< Scalar > &V)
Definition: VectorInterface_Cyclops_impl.cpp:34
static void vec_to_stdvec(VT &&V, std::vector< Scalar > &vec)
Definition: VectorInterface_Cyclops_impl.cpp:98
static VType< Scalar > construct(const VIndextype &elems, CTF::World &world)
Definition: VectorInterface_Cyclops_impl.cpp:15
static VType< Scalar > construct_with_zero(const VIndextype &elems, CTF::World &world)
Definition: VectorInterface_Cyclops_impl.cpp:21
static VIndextype length(const VType< Scalar > &V)
Definition: VectorInterface_Cyclops_impl.cpp:53
int VIndextype
Definition: VectorInterface_Cyclops_impl.hpp:14
static void setRandom(VType< Scalar > &V)
Definition: VectorInterface_Cyclops_impl.cpp:40
static std::string print(const VType< Scalar > &V)
Definition: VectorInterface_Cyclops_impl.cpp:92
static void setConstant(VType< Scalar > &V, const Scalar &val)
Definition: VectorInterface_Cyclops_impl.cpp:46
static void resize(VType< Scalar > &V, const VIndextype &new_elems)
Definition: VectorInterface_Cyclops_impl.cpp:27
static VType< Scalar > scale(VT1 &&V, const Scalar &val)
Definition: VectorInterface_Cyclops_impl.cpp:75
CTF::Vector< Scalar > VType
Definition: VectorInterface_Cyclops_impl.hpp:12
static VType< Scalar > sub(const VType< Scalar > &V, const VIndextype &off, const VIndextype &elems)
Definition: VectorInterface_Cyclops_impl.cpp:84