29 lines
590 B
C++
29 lines
590 B
C++
#pragma once
|
|
|
|
|
|
#include "detail/normal_serial.h"
|
|
|
|
namespace rng {
|
|
|
|
template <typename T>
|
|
T normal(const T mean, const T stddev) {
|
|
return rng::detail::normal_serial(mean, stddev);
|
|
}
|
|
|
|
template <typename T>
|
|
utils::Vector<T> normal(const uint64_t size, const T mean, const T stddev) {
|
|
return rng::detail::normal_serial(size, mean, stddev);
|
|
}
|
|
|
|
template <typename T>
|
|
utils::Matrix<T> normal(const uint64_t rows, const uint64_t cols, const T mean, const T stddev) {
|
|
return rng::detail::normal_serial(rows, cols, mean, stddev);
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|