AlpacaLibary  1.63
A closed source C++ bot for OSRS
Math.hpp
Go to the documentation of this file.
1 #ifndef MATH_HPP_INCLUDED
2 #define MATH_HPP_INCLUDED
3 
4 #include <cstdint>
5 #include <vector>
6 #include <random>
7 #include "Types/Point.hpp"
8 
9 std::int32_t BinomialRandom(std::int32_t Min, std::int32_t Max, double Probability);
10 std::int32_t UniformRandom(std::int32_t Min, std::int32_t Max);
11 double UniformRandom();
12 std::int32_t NormalRandom(std::int32_t Mean, double StandardDeviation);
13 std::int32_t NormalRandom(std::int32_t Low, std::int32_t High, double PercentageDeviation);
14 std::int32_t NormalRandom(std::int32_t Min, std::int32_t Max, std::int32_t Mean, double StandardDeviation);
15 void GetLine(Point A, Point B, std::vector<Point>* Res);
16 std::vector<Point> ConvexHull(std::vector<Point> Points);
17 
18 #endif // MATH_HPP_INCLUDED
void GetLine(Point A, Point B, std::vector< Point > *Res)
std::vector< Point > ConvexHull(std::vector< Point > Points)
std::int32_t NormalRandom(std::int32_t Mean, double StandardDeviation)
std::int32_t UniformRandom(std::int32_t Min, std::int32_t Max)
std::int32_t BinomialRandom(std::int32_t Min, std::int32_t Max, double Probability)
Definition: Point.hpp:10