1 #include "../../include/monolish_blas.hpp"
2 #include "../../include/monolish_vml.hpp"
3 #include "../internal/monolish_internal.hpp"
22 #pragma omp parallel for
23 for (
size_t i = 0; i < val.size(); i++) {
35 size_t size = (end - start);
48 std::random_device random;
49 std::mt19937 mt(random());
50 std::uniform_real_distribution<> rand(
min,
max);
52 #pragma omp parallel for
53 for (
size_t i = 0; i < val.size(); i++) {
68 std::copy(vec.begin(), vec.end(), val.begin());
80 std::copy(list.begin(), list.end(), val.begin());
97 internal::vcopy(vec.
val.size(), vec.
val.data(), val.data(),
true);
100 internal::vcopy(vec.
val.size(), vec.
val.data(), val.data(),
false);
108 template <
typename T>
131 template <
typename T>
152 const view1D<matrix::Dense<double>,
double> &vec);