#include <array>
#include <concepts>
#include <random>
#include <span>
#include <Eigen/Core>
#include "wpi/util/Algorithm.hpp"
#include "wpi/util/SymbolExports.hpp"
Go to the source code of this file.
|
| template<std::same_as< double >... Ts> |
| Eigen::Vector< double, sizeof...(Ts)> | wpi::math::Normal (Ts... stdDevs) |
| | Creates a vector of normally distributed random values with the given standard deviations for each element.
|
| template<int N> |
| Eigen::Vector< double, N > | wpi::math::Normal (const std::array< double, N > &stdDevs) |
| | Creates a vector of normally distributed random values with the given standard deviations for each element.
|
| WPILIB_DLLEXPORT Eigen::VectorXd | wpi::math::Normal (const std::span< const double > stdDevs) |
| | Creates a vector of normally distributed random values with the given standard deviations for each element.
|