 |
NumCpp
2.1.0
A C++ implementation of the Python Numpy library
|
Go to the documentation of this file.
36 #include "boost/math/special_functions/prime.hpp"
56 if (n > boost::math::max_prime)
81 return prime(inValue);
Shape shape() const noexcept
Definition: NdArrayCore.hpp:4312
uint32 prime(uint32 n)
Definition: prime.hpp:54
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition: NdArrayCore.hpp:75
OutputIt transform(InputIt first, InputIt last, OutputIt destination, UnaryOperation unaryFunction)
Definition: StlAlgorithms.hpp:703
std::uint32_t uint32
Definition: Types.hpp:41
const_iterator cend() const noexcept
Definition: NdArrayCore.hpp:1491
Definition: Coordinate.hpp:45
#define THROW_INVALID_ARGUMENT_ERROR(msg)
Definition: Error.hpp:37
const_iterator cbegin() const noexcept
Definition: NdArrayCore.hpp:1147
iterator begin() noexcept
Definition: NdArrayCore.hpp:1091
NdArray< uint32 > prime(const NdArray< uint32 > &inArray)
Definition: prime.hpp:74