46 nf_Buffer<double> coeff;
48 m_coefficients = coeff.vector();
80 throw Exception(
"Legendre1d::evaluate: not implemented." );
97 int size1 =
static_cast<int>( m_coefficients.size( ) );
99 if( legendre1 ==
nullptr )
return(
nullptr );
103 if( xys ==
nullptr )
return(
nullptr );
120 std::string attributes;
#define GIDI_LegendreChars
#define GIDI_outerDomainValueChars
void toXMLList(GUPI::WriteInfo &a_writeInfo, std::string const &a_indent="") const
void toXMLList_func(GUPI::WriteInfo &a_writeInfo, std::string const &a_indent, bool a_embedded, bool a_inRegions) const
Legendre1d(Axes const &a_axes, int a_index=0, double a_outerDomainValue=0.0)
std::vector< double > const & coefficients() const
double evaluate(double a_x1) const
XYs1d * asXYs1d(bool a_asLinlin, double a_accuray, double a_lowerEps, double a_upperEps) const
std::string const & moniker() const
void addNodeEnder(std::string const &a_moniker)
std::string incrementalIndent(std::string const &indent)
void addNodeStarter(std::string const &indent, std::string const &a_moniker, std::string const &a_attributes="")
std::string addAttribute(std::string const &a_name, std::string const &a_value) const
Node child(const char *name) const
void parseValuesOfDoubles(Construction::Settings const &a_construction, HAPI::Node const &a_node, SetupInfo &a_setupInfo, nf_Buffer< double > &a_vector)
void doublesToXMLList(GUPI::WriteInfo &a_writeInfo, std::string const &a_indent, std::vector< double > const &a_values, std::size_t a_start=0, bool a_newLine=true, std::string const &a_valueType="")
std::string intToString(int a_value)
std::string doubleToShortestString(double a_value, int a_significantDigits=15, int a_favorEFormBy=0)
nf_Legendre * nf_Legendre_new(statusMessageReporting *smr, int initialSize, int maxOrder, double *Cls)
nf_Legendre * nf_Legendre_free(nf_Legendre *nfL)
ptwXYPoints * nf_Legendre_to_ptwXY(statusMessageReporting *smr, nf_Legendre *nfL, double accuracy, int biSectionMax, int checkForRoots)
struct nf_Legendre_s nf_Legendre
@ ptwXY_interpolationLinLin
struct ptwXYPoints_s ptwXYPoints