NumCpp  2.12.1
A Templatized Header Only C++ Implementation of the Python NumPy Library
nc::integrate::LegendrePolynomial Class Reference

#include <gauss_legendre.hpp>

Public Member Functions

 LegendrePolynomial (const uint32 numIterations) noexcept
 
const std::vector< double > & getRoot () const noexcept
 
const std::vector< double > & getWeight () const noexcept
 

Detailed Description

Legendre Polynomial class

Constructor & Destructor Documentation

◆ LegendrePolynomial()

nc::integrate::LegendrePolynomial::LegendrePolynomial ( const uint32  numIterations)
inlineexplicitnoexcept

Constructor

Parameters
numIterationsthe number of iterations to perform

Member Function Documentation

◆ getRoot()

const std::vector< double > & nc::integrate::LegendrePolynomial::getRoot ( ) const
inlinenoexcept

Returns the roots vector

Returns
roots vector

◆ getWeight()

const std::vector< double > & nc::integrate::LegendrePolynomial::getWeight ( ) const
inlinenoexcept

Returns the weights vector

Returns
weights vector

The documentation for this class was generated from the following file: