 |
NumCpp
1.0
A C++ implementation of the Python Numpy library
|
Go to the documentation of this file.
36 #include "boost/math/special_functions/legendre.hpp"
51 template<
typename dtype>
56 if (x < -1.0 || x > 1.0 )
74 template<
typename dtype>
79 if (x < -1.0 || x > 1.0 )
96 template<
typename dtype>
101 const auto function = [n](dtype x) ->
double
121 template<
typename dtype>
126 const auto function = [n, m](dtype x) ->
double
Shape shape() const noexcept
Definition: NdArrayCore.hpp:4296
std::int32_t int32
Definition: Types.hpp:37
#define STATIC_ASSERT_ARITHMETIC(dtype)
Definition: StaticAsserts.hpp:38
const_iterator cend() const noexcept
Definition: NdArrayCore.hpp:1491
Definition: Coordinate.hpp:45
double legendre_p(int32 n, dtype x)
Definition: legendre_p.hpp:52
NdArray< double > legendre_p(int32 n, int32 m, const NdArray< dtype > &inArrayX)
Definition: legendre_p.hpp:122
#define THROW_INVALID_ARGUMENT_ERROR(msg)
Definition: Error.hpp:37
OutputIt transform(InputIt first, InputIt last, OutputIt destination, UnaryOperation unaryFunction) noexcept
Definition: StlAlgorithms.hpp:703
const_iterator cbegin() const noexcept
Definition: NdArrayCore.hpp:1147
iterator begin() noexcept
Definition: NdArrayCore.hpp:1091