 |
NumCpp
2.1.0
A 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 )
72 template<
typename dtype>
77 const auto function = [n](dtype x) ->
double
Shape shape() const noexcept
Definition: NdArrayCore.hpp:4312
std::int32_t int32
Definition: Types.hpp:37
#define STATIC_ASSERT_ARITHMETIC(dtype)
Definition: StaticAsserts.hpp:38
NdArray< double > legendre_q(int32 n, const NdArray< dtype > &inArrayX)
Definition: legendre_q.hpp:73
OutputIt transform(InputIt first, InputIt last, OutputIt destination, UnaryOperation unaryFunction)
Definition: StlAlgorithms.hpp:703
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
double legendre_q(int32 n, dtype x)
Definition: legendre_q.hpp:51
iterator begin() noexcept
Definition: NdArrayCore.hpp:1091