 |
NumCpp
2.3.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
|
Go to the documentation of this file.
35 #include "boost/math/special_functions/legendre.hpp"
50 template<
typename dtype>
55 if (x < -1.0 || x > 1.0 )
73 template<
typename dtype>
78 if (x < -1.0 || x > 1.0 )
95 template<
typename dtype>
100 const auto function = [n](dtype x) ->
double
120 template<
typename dtype>
125 const auto function = [n, m](dtype x) ->
double
Shape shape() const noexcept
Definition: NdArrayCore.hpp:4311
std::int32_t int32
Definition: Types.hpp:36
#define STATIC_ASSERT_ARITHMETIC(dtype)
Definition: StaticAsserts.hpp:37
OutputIt transform(InputIt first, InputIt last, OutputIt destination, UnaryOperation unaryFunction)
Definition: StlAlgorithms.hpp:702
const_iterator cend() const noexcept
Definition: NdArrayCore.hpp:1490
Definition: Coordinate.hpp:44
double legendre_p(int32 n, dtype x)
Definition: legendre_p.hpp:51
NdArray< double > legendre_p(int32 n, int32 m, const NdArray< dtype > &inArrayX)
Definition: legendre_p.hpp:121
#define THROW_INVALID_ARGUMENT_ERROR(msg)
Definition: Error.hpp:36
const_iterator cbegin() const noexcept
Definition: NdArrayCore.hpp:1146
iterator begin() noexcept
Definition: NdArrayCore.hpp:1090