Index: trunk/npstat/swig/nm/SemiInfGaussianQuadrature.i =================================================================== --- trunk/npstat/swig/nm/SemiInfGaussianQuadrature.i (revision 725) +++ trunk/npstat/swig/nm/SemiInfGaussianQuadrature.i (revision 726) @@ -1,20 +1,20 @@ %include nm/SimpleFunctors.i %{ #include "npstat/nm/SemiInfGaussianQuadrature.hh" %} -%ignore npstat::SemiInfGaussianQuadrature::getAbscissae; -%ignore npstat::SemiInfGaussianQuadrature::getWeights; +%ignore npstat::SemiInfGaussianQuadrature::getAllAbscissae; +%ignore npstat::SemiInfGaussianQuadrature::getAllWeights; -%rename(getAbscissae) npstat::SemiInfGaussianQuadrature::abscissae2; -%rename(getWeights) npstat::SemiInfGaussianQuadrature::weights2; +%rename(getAllAbscissae) npstat::SemiInfGaussianQuadrature::abscissae2; +%rename(getAllWeights) npstat::SemiInfGaussianQuadrature::weights2; %include "npstat/nm/SemiInfGaussianQuadrature.hh" namespace npstat { %extend SemiInfGaussianQuadrature { %template(integrate) integrate; %template(integrateProb) integrateProb; } } Index: trunk/npstat/swig/nm/FejerQuadrature.i =================================================================== --- trunk/npstat/swig/nm/FejerQuadrature.i (revision 725) +++ trunk/npstat/swig/nm/FejerQuadrature.i (revision 726) @@ -1,19 +1,19 @@ %include nm/SimpleFunctors.i %{ #include "npstat/nm/FejerQuadrature.hh" %} -%ignore npstat::FejerQuadrature::getAbscissae; -%ignore npstat::FejerQuadrature::getWeights; +%ignore npstat::FejerQuadrature::getAllAbscissae; +%ignore npstat::FejerQuadrature::getAllWeights; -%rename(getAbscissae) npstat::FejerQuadrature::abscissae2; -%rename(getWeights) npstat::FejerQuadrature::weights2; +%rename(getAllAbscissae) npstat::FejerQuadrature::abscissae2; +%rename(getAllWeights) npstat::FejerQuadrature::weights2; %include "npstat/nm/FejerQuadrature.hh" namespace npstat { %extend FejerQuadrature { %template(integrate) integrate; } } Index: trunk/npstat/swig/nm/GaussLegendreQuadrature.i =================================================================== --- trunk/npstat/swig/nm/GaussLegendreQuadrature.i (revision 725) +++ trunk/npstat/swig/nm/GaussLegendreQuadrature.i (revision 726) @@ -1,19 +1,24 @@ %include nm/SimpleFunctors.i %{ #include "npstat/nm/GaussLegendreQuadrature.hh" %} %ignore npstat::GaussLegendreQuadrature::getAbscissae; %ignore npstat::GaussLegendreQuadrature::getWeights; +%ignore npstat::GaussLegendreQuadrature::getAllAbscissae; +%ignore npstat::GaussLegendreQuadrature::getAllWeights; + %rename(getAbscissae) npstat::GaussLegendreQuadrature::abscissae2; %rename(getWeights) npstat::GaussLegendreQuadrature::weights2; +%rename(getAllAbscissae) npstat::GaussLegendreQuadrature::allabscissae2; +%rename(getAllWeights) npstat::GaussLegendreQuadrature::allweights2; %include "npstat/nm/GaussLegendreQuadrature.hh" namespace npstat { %extend GaussLegendreQuadrature { %template(integrate) integrate; } } Index: trunk/npstat/swig/nm/GaussHermiteQuadrature.i =================================================================== --- trunk/npstat/swig/nm/GaussHermiteQuadrature.i (revision 725) +++ trunk/npstat/swig/nm/GaussHermiteQuadrature.i (revision 726) @@ -1,20 +1,25 @@ %include nm/SimpleFunctors.i %{ #include "npstat/nm/GaussHermiteQuadrature.hh" %} %ignore npstat::GaussHermiteQuadrature::getAbscissae; %ignore npstat::GaussHermiteQuadrature::getWeights; +%ignore npstat::GaussHermiteQuadrature::getAllAbscissae; +%ignore npstat::GaussHermiteQuadrature::getAllWeights; + %rename(getAbscissae) npstat::GaussHermiteQuadrature::abscissae2; %rename(getWeights) npstat::GaussHermiteQuadrature::weights2; +%rename(getAllAbscissae) npstat::GaussHermiteQuadrature::allabscissae2; +%rename(getAllWeights) npstat::GaussHermiteQuadrature::allweights2; %include "npstat/nm/GaussHermiteQuadrature.hh" namespace npstat { %extend GaussHermiteQuadrature { %template(integrate) integrate; %template(integrateProb) integrateProb; } } Index: trunk/npstat/nm/GaussLegendreQuadrature.hh =================================================================== --- trunk/npstat/nm/GaussLegendreQuadrature.hh (revision 725) +++ trunk/npstat/nm/GaussLegendreQuadrature.hh (revision 726) @@ -1,115 +1,149 @@ #ifndef NPSTAT_GAUSSLEGENDREQUADRATURE_HH_ #define NPSTAT_GAUSSLEGENDREQUADRATURE_HH_ /*! // \file GaussLegendreQuadrature.hh // // \brief Gauss-Legendre quadratures in long double precision // // Author: I. Volobouev // // April 2010 */ #include #include +#include #include "npstat/nm/SimpleFunctors.hh" +#include "npstat/nm/AbsIntervalQuadrature1D.hh" namespace npstat { /** // Gauss-Legendre quadrature. Internally, operations are performed // in long double precision. */ - class GaussLegendreQuadrature + class GaussLegendreQuadrature : public AbsIntervalQuadrature1D { public: /** // At the moment, the following numbers of points are supported: // 2, 4, 6, 8, 10, 12, 16, 32, 64, 100, 128, 256, 512, 1024. // // If an unsupported number of points is given in the // constructor, std::invalid_argument exception will be thrown. */ explicit GaussLegendreQuadrature(unsigned npoints); + inline virtual ~GaussLegendreQuadrature() {} + /** Return the number of quadrature points */ inline unsigned npoints() const {return npoints_;} /** // The abscissae are returned for positive points only, // so the buffer length should be at least npoints/2. */ void getAbscissae(long double* abscissae, unsigned len) const; + /** Return abscissae for all points */ + void getAllAbscissae(long double* abscissae, unsigned len) const; + /** // The weights are returned for positive points only, // so the buffer length should be at least npoints/2. */ void getWeights(long double* weights, unsigned len) const; + /** Return weights for all points */ + void getAllWeights(long double* weights, unsigned len) const; + /** Perform the quadrature on the [a, b] interval */ template long double integrate(const Functor1& fcn, long double a, long double b) const; /** // This method splits the interval [a, b] into "nsplit" // subintervals of equal length, applies Gauss-Legendre // quadrature to each subinterval, and sums the results. */ template long double integrate(const Functor1& fcn, long double a, long double b, unsigned nsplit) const; /** // Weighted integration points on the given interval, suitable // for constructing orthogonal polynomials w.r.t. the given // weight function (in particular, by ContOrthoPoly1D class). // Naturally, rule with "npoints" points must be able to calculate // polynomial normalization integrals exactly. */ template std::vector > weightedIntegrationPoints( const Functor& weight, long double a, long double b) const; /** Check if the rule with the given number of points is supported */ static bool isAllowed(unsigned npoints); /** The complete set of allowed rules, in the increasing order */ static std::vector allowedNPonts(); /** // Minimum number of points, among the supported rules, which // integrates a polynomial with the given degree exactly. // Returns 0 if the degree is out of range. */ static unsigned minimalExactRule(unsigned polyDegree); private: GaussLegendreQuadrature(); const long double* a_; const long double* w_; mutable std::vector > buf_; unsigned npoints_; #ifdef SWIG public: inline std::vector abscissae2() const { return std::vector(a_, a_+npoints_/2U); } inline std::vector weights2() const { return std::vector(w_, w_+npoints_/2U); } + + inline std::vector allabscissae2() const + { + assert(a_); + std::vector abscissae(npoints_); + const unsigned halfpoints = npoints_/2; + for (unsigned i=0; i allweights2() const + { + assert(w_); + std::vector weights(npoints_); + const unsigned halfpoints = npoints_/2; + for (unsigned i=0; i #include #include "npstat/nm/GaussHermiteQuadrature.hh" static const unsigned allowed[] = {16U, 32U, 64U, 100U, 128U, 256U}; static const long double x16[8] = { 0.2734810461381524521582804L, 0.8229514491446558925824545L, 1.38025853919888079637209L, 1.951787990916253977434655L, 2.546202157847481362159329L, 3.176999161979956026813995L, 3.869447904860122698719424L, 4.688738939305818364688499L }; static const long double w16[8] = { 0.5079294790166137419135173L, 0.2806474585285336753694633L, 0.08381004139898582941542073L, 0.0128803115355099736834643L, 0.0009322840086241805299142773L, 0.00002711860092537881512018914L, 2.320980844865210653387494e-7L, 2.654807474011182244709264e-10L }; static const long double x32[16] = { 0.1948407415693993267087413L, 0.5849787654359324484669575L, 0.9765004635896828384847049L, 1.370376410952871838161706L, 1.767654109463201604627673L, 2.169499183606112173305706L, 2.577249537732317454030929L, 2.992490825002374206285494L, 3.417167492818570735873927L, 3.853755485471444643887873L, 4.305547953351198445263487L, 4.777164503502596393035794L, 5.27555098651588012781906L, 5.812225949515913832765966L, 6.409498149269660412173764L, 7.125813909830727572795208L }; static const long double w32[16] = { 0.3752383525928023928668184L, 0.2774581423025298981376989L, 0.1512697340766424825751471L, 0.06045813095591261418658576L, 0.01755342883157343030343784L, 0.003654890326654428079125657L, 0.0005362683655279720459702381L, 0.00005416584061819982558001939L, 3.650585129562376057370324e-6L, 1.574167792545594029268693e-7L, 4.098832164770896618235041e-9L, 5.933291463396638614511568e-11L, 4.215010211326447572969445e-13L, 1.197344017092848665828682e-15L, 9.23173653651829223349442e-19L, 7.310676427384162393274278e-23L }; static const long double x64[32] = { 0.1383022449870097241150498L, 0.4149888241210786845769291L, 0.6919223058100445772682193L, 0.9692694230711780167435415L, 1.247200156943117940693565L, 1.52588914020986366294897L, 1.805517171465544918903774L, 2.086272879881762020832563L, 2.368354588632401404111511L, 2.651972435430635011005458L, 2.937350823004621809685339L, 3.224731291992035725848171L, 3.514375935740906211539951L, 3.806571513945360461165972L, 4.101634474566656714970981L, 4.399917168228137647767933L, 4.701815647407499816097538L, 5.007779602198768196443703L, 5.31832522463327085732365L, 5.63405216434997214724992L, 5.955666326799486045344567L, 6.284011228774828235418093L, 6.62011226263602737903666L, 6.965241120551107529242642L, 7.321013032780949201189569L, 7.689540164040496828447804L, 8.073687285010225225858791L, 8.477529083379863090564166L, 8.907249099964769757295973L, 9.373159549646721162545652L, 9.895287586829539021204461L, 10.52612316796054588332683L }; static const long double w64[32] = { 0.2713774249413039779456065L, 0.232994786062678046650566L, 0.171685842349083702000728L, 0.1084983493061868406330258L, 0.05873998196409943454968895L, 0.02720312895368891845383482L, 0.01075604050987913704946517L, 0.003622586978534458760668125L, 0.001036329099507577663456742L, 0.000250983698513062486082362L, 0.00005125929135786274660821911L, 8.788499230850359181444047e-6L, 1.258340251031184576157842e-6L, 1.495532936727247061102462e-7L, 1.465125316476109354926622e-8L, 1.173616742321549343542506e-9L, 7.615217250145451353315296e-11L, 3.959177766947723927236446e-12L, 1.628340730709720362084307e-13L, 5.218623726590847522957809e-15L, 1.280093391322438041639563e-16L, 2.351884710675819116957676e-18L, 3.152254566503781416121347e-20L, 2.982862784279851154478701e-22L, 1.911706883300642829958457e-24L, 7.861797788925910369099991e-27L, 1.929103595464966850301969e-29L, 2.549660899112999256604767e-32L, 1.557390624629763802309335e-35L, 3.421138011255740504327222e-39L, 1.679747990108159218666288e-43L, 5.535706535856942820575463e-49L }; static const long double x100[50] = { 0.1107958724224394828875599L, 0.3324146923422318070458988L, 0.5541148235916169882329977L, 0.7759507615401457819750658L, 0.9979774360981052439241031L, 1.220250391218953058820493L, 1.442825970215932787702578L, 1.665761508741509469866654L, 1.88911553742700837149364L, 2.112947996371187952029771L, 2.337320463906878505012623L, 2.562296402372608025056025L, 2.787941423981989313190368L, 3.014323580331155516715165L, 3.241513679631012950358773L, 3.46958563641858916976816L, 3.698616859318491939796954L, 3.928688683427670972009502L, 4.159886855131030540068041L, 4.392302078682684016744776L, 4.626030635787155773074038L, 4.861175091791210210046067L, 5.097845105089136247000092L, 5.336158360138360497277115L, 5.576241649329924103303485L, 5.81823213520351704736227L, 6.062278832614302638665185L, 6.308544361112135121638817L, 6.557207031921539315980143L, 6.808463352858796414478981L, 7.062531060248865437465523L, 7.319652822304535316332062L, 7.580100807857488884285809L, 7.84418238446082116879208L, 8.112247311162791917211692L, 8.384696940416265075086016L, 8.661996168134517714376075L, 8.944689217325474478798597L, 9.233420890219161550477937L, 9.528965823390114804697066L, 9.832269807777969094355162L, 10.14450994129284546988859L, 10.46718542134281214178313L, 10.80226075368471459482167L, 11.15240438558512526489904L, 11.52141540078703024169422L, 11.9150619431141658019848L, 12.34296422285967429510274L, 12.82379974948780890633913L, 13.40648733814491013849802L }; static const long double w100[50] = { 0.2188926295874391250627106L, 0.1984628502541864777089007L, 0.1631300305027829414192852L, 0.1215379868441041819836584L, 0.08205182739122446468042594L, 0.05017581267742869569787715L, 0.02777912738593351427005737L, 0.01391566522023180641788101L, 0.006303000285608052549385533L, 0.002579273260059090173395552L, 0.0009526921885486191174785274L, 0.0003172919710433003055500797L, 0.00009517162778550966470160633L, 0.00002567615938454906305610276L, 6.221524817777863317350848e-6L, 1.35179715911036728660027e-6L, 2.629097483753725079341014e-7L, 4.568127508484939513556966e-8L, 7.075857283889572907380399e-9L, 9.747921253871621245758587e-10L, 1.19130063492907294981858e-10L, 1.28790382573155823281197e-11L, 1.227878514410124970026169e-12L, 1.028874937350992546798209e-13L, 7.548896877915243292268832e-15L, 4.829835321703033347677164e-16L, 2.682492164760376080003197e-17L, 1.286832921121153275751754e-18L, 5.302316183131848685301362e-20L, 1.864997675130252258165612e-21L, 5.561026961659167317149952e-23L, 1.39484152606876708048011e-24L, 2.917350072629332417799015e-26L, 5.037791166213187784233353e-28L, 7.101812226384934229656621e-30L, 8.067434278709377173709162e-32L, 7.274572596887767574509963e-34L, 5.116232604385222180439519e-36L, 2.74878488435711249198534e-38L, 1.100470682714223669456485e-40L, 3.185217877835917930677973e-43L, 6.420725205348472482880041e-46L, 8.597563954825271610021206e-49L, 7.191529463463371029600923e-52L, 3.459477936475550444644499e-55L, 8.518883081761633786654344e-59L, 9.019222303693556179721971e-63L, 3.083028990003274811977776e-67L, 1.972860574879452554487221e-72L, 5.908067865031206815268855e-79L }; static const long double x128[64] = { 0.09798382195581895431377132L, 0.2939661103002957028133519L, 0.4899923604154589180890444L, 0.6860919752173348720452864L, 0.8822945007929814060005083L, 1.078629684810908930471008L, 1.275127536089158321432511L, 1.471818385674486000678376L, 1.668732949803723630486601L, 1.865902395140598696649124L, 2.063358406708565977681751L, 2.261133258973062280284208L, 2.459259890565739401936776L, 2.657771983189483996310816L, 2.856704045297405282651849L, 3.056091501202680055957841L, 3.255970786350659346652906L, 3.456379449571737482209434L, 3.657356263235308096230587L, 3.858941342344281826590627L, 4.061176273749272824277548L, 4.26410425682551915674979L, 4.467770257148582683446318L, 4.672221174932638922145675L, 4.877506030264814412167552L, 5.083676167489339906735054L, 5.290785481477179576436742L, 5.498890668973909484522189L, 5.708051508768086261774909L, 5.918331175085811675116817L, 6.129796589422162024620596L, 6.34251881700177947172939L, 6.556573515264482889625789L, 6.772041443255928858206886L, 6.989009042644774011852237L, 7.207569103387333854417799L, 7.427821529952301115657396L, 7.64987422768100656113185L, 7.873844133535434466787109L, 8.099858421507896075457943L, 8.32805592079014664500802L, 8.558588795064508288960304L, 8.791624544888686406350403L, 9.027348413394788344826656L, 9.26596630029617592185364L, 9.507708323279056576954902L, 9.752833213439168674549426L, 10.00163379893012284601114L, 10.25444392847093071702454L, 10.51164732991486861739414L, 10.77368911516144067131166L, 11.0410909760196333842429L, 11.314471644289977917212L, 11.59457505474145174678208L, 11.88231011887831158083592L, 12.17880861983124631327407L, 12.48551258534944816069906L, 12.80431208206713129501371L, 13.13777478802765110106506L, 13.48955641262314182637912L, 13.86520698447624158977684L, 14.27398130478783556250944L, 14.73384247358929905561314L, 15.29181976688274097174679L }; static const long double w128[64] = { 0.194097611864087756977697L, 0.179773083907799264988698L, 0.1542104352983543833635277L, 0.1225032731641356946186646L, 0.09010867837644891954805744L, 0.06136072100449006566465107L, 0.03867395481063690265502489L, 0.02255431016782442241024982L, 0.01216691886446933949101663L, 0.006068862406925887620668014L, 0.002797839401605789273190804L, 0.001191563814457167239116806L, 0.0004685515378084113654798021L, 0.0001700140882628094094098972L, 0.00005688743760040241092701879L, 0.00001754048584809390503836776L, 4.979924532590987011340993e-6L, 1.300747003238199233513756e-6L, 3.12287298617890308197945e-7L, 6.884581122154350090644063e-8L, 1.392190715293517881195788e-8L, 2.579397229426394801149806e-9L, 4.373186659848403445632173e-10L, 6.775780487774553786308396e-11L, 9.580316508735857708620664e-12L, 1.234214486600556690816236e-12L, 1.446347321190416563205909e-13L, 1.539049730353545814249811e-14L, 1.484223837513856482911896e-15L, 1.294548159339371534395457e-16L, 1.018933230423292524036582e-17L, 7.220107316928292019644377e-19L, 4.594007677329721592211726e-20L, 2.617457583934811155868732e-21L, 1.331367859033589604405994e-22L, 6.02598403200645428864657e-24L, 2.418403459647664969603906e-25L, 8.572830483769353744549325e-27L, 2.672923620058073240172664e-28L, 7.296545006768404253818687e-30L, 1.735103020282061208816017e-31L, 3.57437889587942107216457e-33L, 6.33991352636648906076754e-35L, 9.616708067967506977595218e-37L, 1.238085557976368037618838e-38L, 1.341497481764369366965568e-40L, 1.211779534130591907354349e-42L, 9.028040138786644009179616e-45L, 5.480217028978796498206163e-47L, 2.67274375173606785452022e-49L, 1.030486252055694734226723e-51L, 3.082077383339298687104255e-54L, 6.993072924051955987987474e-57L, 1.171978501212980517385599e-59L, 1.404467257740487260441866e-62L, 1.156155164096375213347254e-65L, 6.214244161830313662409307e-69L, 2.041585797243985015800692e-72L, 3.751215868804724996562746e-76L, 3.401230086936637126866929e-80L, 1.261249483338538303309322e-84L, 1.404689771315088634798657e-89L, 2.608172402409111079248851e-95L, 1.799065980109284720823363e-102L }; static const long double x256[128] = { 0.06935239452955744388803576L, 0.2080597846328379521498735L, 0.3467749791369948124594288L, 0.4855031852056820552722951L, 0.6242496163534804348461547L, 0.7630194949989306903749989L, 0.9018180550302726614522567L, 1.040650544387582565786614L, 1.179522227665047701676857L, 1.31843838873717568219942L, 1.457404333412804320782881L, 1.596425392120858802572519L, 1.735506922631895184223701L, 1.87465431281957401864391L, 2.013872983466325516855802L, 2.153168391117598720543739L, 2.292546030989232322177876L, 2.432011439932644768316125L, 2.571570199462716932064948L, 2.711227938853432848246467L, 2.850990338306553771418865L, 2.990863132198829248693306L, 3.130852112413497215693322L, 3.270963131762094667648482L, 3.411202107502892705514789L, 3.551575024962586333004501L, 3.692087941268212069044807L, 3.832746989196637202265515L, 3.973558381149365504012361L, 4.114528413260837801407682L, 4.255663469648874594039856L, 4.396970026816414737676318L, 4.538454658214252262608834L, 4.680124038975066105806037L, 4.821984950829678728288242L, 4.964044287217173463977855L, 5.10630905860125163719935L, 5.248786398006024106363446L, 5.391483566785313588799576L, 5.534407960640500139418677L, 5.677567115902979401907698L, 5.820968716098429376480255L, 5.964620598811304935295807L, 6.108530762869309579656447L, 6.252707375869041431515258L, 6.397158782065586819727379L, 6.541893510650553014329482L, 6.686920284444906124242071L, 6.832248029035027029217979L, 6.977885882382635487649597L, 7.123843204941680417740606L, 7.270129590317975394266941L, 7.416754876510298003102638L, 7.563729157774898358033904L, 7.711062797158907892662314L, 7.858766439752040657111136L, 8.006851026710276598100182L, 8.155327810109955839254568L, 8.304208368695947079898085L, 8.453504624593341194265637L, 8.603228861058530323780014L, 8.753393741352639920944896L, 8.904012328828173805034043L, 9.055098108328510279622257L, 9.206665009009665162900102L, 9.358727428704646441648322L, 9.511300259962916033897065L, 9.664398917911120590604498L, 9.818039370096555953596296L, 9.972238168492020856184266L, 10.12701248386006377403642L, 10.28238014269644526003412L, 10.43835966699729105323386L, 10.5949703171223244559366L, 10.75223213805823855355158L, 10.91016600942228543161929L, 11.06879369958721035788726L, 11.22813792435555867835981L, 11.38822241066509722915626L, 11.54907196586876769074542L, 11.71071255320359456849201L, 11.87317137414494220608773L, 12.03647695843741873836146L, 12.20065926270392853159678L, 12.36574977866274341595387L, 12.53178165213247638636606L, 12.69878981418074280983294L, 12.86681112597928088568419L, 13.03588453917276977741826L, 13.2060512738584353781359L, 13.37735501661859040604692L, 13.54984214146078065446075L, 13.72356195701559996039873L, 13.89856698393993565069987L, 14.07491326719811317981342L, 14.25266072877669929313429L, 14.43187356747123445644847L, 14.61262071371756574751318L, 14.79497634909551278489501L, 14.97902050219883259813004L, 15.16483973516297914368827L, 15.3525279384318336578543L, 15.5421872555438623820107L, 15.73392916512399133977845L, 15.9278757542898247417255L, 16.12416122689225220690767L, 16.3229337022207934073675L, 16.52435737617411960358499L, 16.72861513911482577927869L, 16.93591177519067212055642L, 17.14647791056563829576116L, 17.36057493851576722552809L, 17.57850123670882529979305L, 17.80060012061807779309298L, 18.02727017059946945879922L, 18.2589788687186970374216L, 18.49628095483317150353413L, 18.73984368625242609717427L, 18.99048250044257345197167L, 19.24921290925104953283575L, 19.51732878957217145380639L, 19.79652581044909244607022L, 20.08910699282410079594748L, 20.39835005676927165192042L, 20.72922879233067683193546L, 21.09003212218722581397947L, 21.49683653764692225297995L, 21.99169337968173143150578L }; static const long double w256[128] = { 0.1380396862755209115461623L, 0.1328339180744035877840838L, 0.1230032311351158193938309L, 0.1096027801343023138515433L, 0.09397592780705028198843521L, 0.07753390349069548171389453L, 0.06155085702479888137715045L, 0.04701418448130623325869308L, 0.03455082586657174270549896L, 0.02442882040773177575688892L, 0.01661645356548084220065692L, 0.0108727800108988110568655L, 0.006843547910376821683595415L, 0.004143142376403676039203141L, 0.002412420213191878584310166L, 0.001350873369460276276263061L, 0.0007274048672835041690488583L, 0.0003766137634591824695368737L, 0.0001874693790569979452285423L, 0.00008970808308135376355184578L, 0.00004126196754634871562674561L, 0.00001824032324514029342130518L, 7.748604996077851148280404e-6L, 3.162744043403113931818247e-6L, 1.24020126909208086348216e-6L, 4.671354640886792791901543e-7L, 1.689848640543874893179345e-7L, 5.869965921453493544025045e-8L, 1.957633323005871267670621e-8L, 6.266959900264999864392682e-9L, 1.925442790705171732963742e-9L, 5.676325033901026938569875e-10L, 1.60538054513839834375098e-10L, 4.354820861532416579395074e-11L, 1.132785812294511238181697e-11L, 2.824946689715659682286396e-12L, 6.752325874818933232891002e-13L, 1.546567308104700068751173e-13L, 3.39346935552010561490731e-14L, 7.131185523906222566740663e-15L, 1.434831081080417221792584e-15L, 2.763344140579202199681171e-16L, 5.092528763567802528354142e-17L, 8.977606649060171674352775e-18L, 1.513475516755380230480198e-18L, 2.43911295290580876119099e-19L, 3.756458877230342905585748e-20L, 5.526606033164875076303145e-21L, 7.764413344115745904428389e-22L, 1.041262400983358880656992e-22L, 1.332410438727469877702362e-23L, 1.62615002782606333379254e-24L, 1.892080808799356026540107e-25L, 2.097876957276834807919888e-26L, 2.21553769695818324398318e-27L, 2.227548036903074988264866e-28L, 2.13111054341846815130745e-29L, 1.939053677322792162950919e-30L, 1.677042649664920815789748e-31L, 1.377924367367343102852255e-32L, 1.074931862337096572263033e-33L, 7.956981568447057548598483e-35L, 5.585409873344557681057222e-36L, 3.715504664140972243259673e-37L, 2.340681275797534661401565e-38L, 1.395476131078660086257215e-39L, 7.867556834480307350178847e-41L, 4.191442393815232424216786e-42L, 2.108378037437585132328501e-43L, 1.000543082941735644142381e-44L, 4.475600887692284974447282e-46L, 1.885407410437632771439863e-47L, 7.472925820097877636516094e-49L, 2.784090389779379680086744e-50L, 9.739575926913210786089395e-52L, 3.195934195189601973735105e-53L, 9.825906543715608806294447e-55L, 2.827209869386944581508349e-56L, 7.603681463947765852817714e-58L, 1.90903879280922896335848e-59L, 4.468359563130094723099765e-61L, 9.736721448687695449179484e-63L, 1.97227114458311327184445e-64L, 3.707957510681315723932626e-66L, 6.459617468090556176866071e-68L, 1.04096106973688862183115e-69L, 1.548918934901887097068285e-71L, 2.124008592959635402413398e-73L, 2.678777087634353537096247e-75L, 3.100541476868721130506631e-77L, 3.286028981833529405445274e-79L, 3.181191265208711677863583e-81L, 2.805940677661302029905023e-83L, 2.24880261652561015773325e-85L, 1.632839465032475722441423e-87L, 1.070788688575716803356984e-89L, 6.321004519105135997710051e-92L, 3.346876186519417166548869e-94L, 1.583425765728327873987018e-96L, 6.66599405444759393471914e-99L, 2.486008353731566366464935e-101L, 8.173567963136183165784288e-104L, 2.356748211065233246206346e-106L, 5.92550121227430141957195e-109L, 1.29102717331080240316334e-111L, 2.420862690260208600845504e-114L, 3.877534426033000916320577e-117L, 5.26105468280227923865402e-120L, 5.991040366178925403442063e-123L, 5.667053365630981877133338e-126L, 4.401509171610101608985115e-129L, 2.770425736852218227029787e-132L, 1.392265195551478902820944e-135L, 5.491764305469765268892198e-139L, 1.667020806306620136345465e-142L, 3.805347862683777480481036e-146L, 6.356833254660565102135512e-150L, 7.521718497069817935532254e-154L, 6.059009685126994742423406e-158L, 3.163462321390488738943512e-162L, 1.005951800115730053476254e-166L, 1.796596257267014451909506e-171L, 1.615495504989693244106132e-176L, 6.267289952280966854143155e-182L, 8.315216118625034527572313e-188L, 2.571712580908051776342705e-194L, 8.899167767891703150223339e-202L, 5.235854530678407140045257e-211L }; namespace npstat { GaussHermiteQuadrature::GaussHermiteQuadrature(const unsigned npoints) : a_(0), w_(0), npoints_(npoints) { switch (npoints) { case 16U: a_ = x16; w_ = w16; break; case 32U: a_ = x32; w_ = w32; break; case 64U: a_ = x64; w_ = w64; break; case 100U: a_ = x100; w_ = w100; break; case 128U: a_ = x128; w_ = w128; break; case 256U: a_ = x256; w_ = w256; break; default: npoints_ = 0; throw std::invalid_argument( "In npstat::GaussHermiteQuadrature constructor: " "unsupported number of abscissae requested"); } } std::vector GaussHermiteQuadrature::allowedNPonts() { std::vector v(allowed, allowed+sizeof(allowed)/sizeof(allowed[0])); return v; } unsigned GaussHermiteQuadrature::minimalExactRule(const unsigned polyDegree) { for (unsigned i=0; i #include #include "npstat/nm/lapack_double.h" #include "npstat/nm/SimpleFunctors.hh" namespace npstat { /** // Gauss-Legendre quadrature. Internally, operations are performed // in lapack_double precision. */ class GaussLegendreQuadratureQ { public: /** // At the moment, the following numbers of points are supported: // 2, 4, 6, 8, 10, 12, 16, 32, 64, 100, 128, 256, 512, 1024. // // If an unsupported number of points is given in the // constructor, std::invalid_argument exception will be thrown. */ explicit GaussLegendreQuadratureQ(unsigned npoints); /** Return the number of quadrature points */ inline unsigned npoints() const {return npoints_;} /** // The abscissae are returned for positive points only, // so the buffer length should be at least npoints/2. */ void getAbscissae(lapack_double* abscissae, unsigned len) const; + /** Return abscissae for all points */ + void getAllAbscissae(lapack_double* abscissae, unsigned len) const; + /** // The weights are returned for positive points only, // so the buffer length should be at least npoints/2. */ void getWeights(lapack_double* weights, unsigned len) const; + /** Return weights for all points */ + void getAllWeights(lapack_double* weights, unsigned len) const; + /** Perform the quadrature on [a, b] interval */ template lapack_double integrate(const Functor1& fcn, lapack_double a, lapack_double b) const; /** // This method splits the interval [a, b] into "nsplit" // subintervals of equal length, applies Gauss-Legendre // quadrature to each subinterval, and sums the results. */ template lapack_double integrate(const Functor1& fcn, lapack_double a, lapack_double b, unsigned nsplit) const; /** // Weighted integration points on the given interval, suitable // for constructing orthogonal polynomials w.r.t. the given // weight function (in particular, by ContOrthoPoly1D class). // Naturally, rule with "npoints" points must be able to calculate // polynomial normalization integrals exactly. */ template std::vector > weightedIntegrationPoints( const Functor& weight, lapack_double a, lapack_double b) const; /** Check if the rule with the given number of points is supported */ static bool isAllowed(unsigned npoints); /** The complete set of allowed rules, in the increasing order */ static std::vector allowedNPonts(); /** // Minimum number of points, among the supported rules, which // integrates a polynomial with the given degree exactly. // Returns 0 if the degree is out of range. */ static unsigned minimalExactRule(unsigned polyDegree); private: GaussLegendreQuadratureQ(); const lapack_double* a_; const lapack_double* w_; mutable std::vector > buf_; unsigned npoints_; }; } #include "npstat/nm/GaussLegendreQuadratureQ.icc" #endif // NPSTAT_GAUSSLEGENDREQUADRATUREQ_HH_ Index: trunk/npstat/nm/RectangleQuadrature1D.cc =================================================================== --- trunk/npstat/nm/RectangleQuadrature1D.cc (revision 0) +++ trunk/npstat/nm/RectangleQuadrature1D.cc (revision 726) @@ -0,0 +1,38 @@ +#include +#include + +#include "npstat/nm/RectangleQuadrature1D.hh" + +namespace npstat { + RectangleQuadrature1D::RectangleQuadrature1D(const unsigned npt) + : npoints_(npt) + { + if (!npoints_) throw std::invalid_argument( + "In npstat::RectangleQuadrature1D constructor: " + "number of integration points must be positive"); + } + + void RectangleQuadrature1D::getAllAbscissae( + long double* abscissae, unsigned len) const + { + if (len < npoints_) throw std::invalid_argument( + "In npstat::RectangleQuadrature1D::getAllAbscissae: " + "unsifficient length of the output buffer"); + assert(abscissae); + const long double step = 2.0L/npoints_; + for (unsigned i=0; i #include #include "npstat/nm/SimpleFunctors.hh" namespace npstat { /** // Quadrature for functions of the type f(x) exp(-x^2/2) on [0, Infinity] */ class SemiInfGaussianQuadrature { public: /** // At the moment, the following numbers of points are supported: // 4, 8, 16, 24, 32. // // If an unsupported number of points is given in the // constructor, std::invalid_argument exception will be thrown. */ explicit SemiInfGaussianQuadrature(unsigned npoints); /** Return the number of quadrature points */ inline unsigned npoints() const {return npoints_;} /** // Get the abscissae for the integration points. // The buffer length should be at least npoints. */ - void getAbscissae(long double* abscissae, unsigned len) const; + void getAllAbscissae(long double* abscissae, unsigned len) const; /** // Get the weights for the integration points. // The buffer length should be at least npoints. */ - void getWeights(long double* weights, unsigned len) const; + void getAllWeights(long double* weights, unsigned len) const; /** Perform the quadrature */ template long double integrate(const Functor1& fcn) const; /** // Perform the quadrature f(x) Sqrt[2/Pi]/sigma Exp[-(x/sigma)^2/2] // (the weight is normalized to unit integral on [0, Infinity]) */ template long double integrateProb(long double sigma, const Functor1& fcn) const; /** Check if the rule with the given number of points is supported */ static bool isAllowed(unsigned npoints); /** The complete set of allowed rules, in the increasing order */ static std::vector allowedNPonts(); /** // Minimum number of points, among the supported rules, which // integrates a polynomial with the given degree exactly (with // the appropriate weight). Returns 0 if the degree is out of range. */ static unsigned minimalExactRule(unsigned polyDegree); private: SemiInfGaussianQuadrature(); const long double* a_; const long double* w_; mutable std::vector > buf_; unsigned npoints_; #ifdef SWIG public: inline std::vector abscissae2() const { return std::vector(a_, a_+npoints_); } inline std::vector weights2() const { return std::vector(w_, w_+npoints_); } #endif // SWIG }; } #include "npstat/nm/SemiInfGaussianQuadrature.icc" #endif // NPSTAT_SEMIINFGAUSSIANQUADRATURE_HH_ Index: trunk/npstat/nm/RectangleQuadrature1D.icc =================================================================== --- trunk/npstat/nm/RectangleQuadrature1D.icc (revision 0) +++ trunk/npstat/nm/RectangleQuadrature1D.icc (revision 726) @@ -0,0 +1,29 @@ +#include +#include + +namespace npstat { + template + inline long double RectangleQuadrature1D::integrate( + const Functor1& function, + const long double left, const long double right) const + { + if (buf_.size() != npoints_) + buf_.resize(npoints_); + std::pair* results = &buf_[0]; + const long double step = (right - left)/npoints_; + FcnArg a; + long double v; + for (unsigned i=0; i(left + (i + 0.5L)*step); + v = static_cast(function(a)); + results[i].first = std::abs(v); + results[i].second = v; + } + std::sort(buf_.begin(), buf_.end()); + v = 0.0L; + for (unsigned i=0; i - #include "npstat/nm/GaussLegendreQuadrature.hh" static const unsigned allowed[] = {2U, 4U, 6U, 8U, 10U, 12U, 16U, 32U, 64U, 100U, 128U, 256U, 512U, 1024U}; static const long double x2[1] = { 0.577350269189625764509148780502L }; static const long double w2[1] = { 1.0L }; static const long double x4[2] = { 0.339981043584856264802665759103L, 0.861136311594052575223946488893L }; static const long double w4[2] = { 0.652145154862546142626936050778L, 0.347854845137453857373063949222L }; static const long double x6[3] = { 0.238619186083196908630501721681L, 0.66120938646626451366139959502L, 0.932469514203152027812301554494L }; static const long double w6[3] = { 0.46791393457269104738987034399L, 0.360761573048138607569833513838L, 0.171324492379170345040296142173L }; static const long double x8[4] = { 0.18343464249564980493947614236L, 0.525532409916328985817739049189L, 0.796666477413626739591553936476L, 0.960289856497536231683560868569L }; static const long double w8[4] = { 0.362683783378361982965150449277L, 0.313706645877887287337962201987L, 0.222381034453374470544355994426L, 0.10122853629037625915253135431L }; static const long double x10[5] = { 0.14887433898163121088482600113L, 0.433395394129247190799265943166L, 0.679409568299024406234327365115L, 0.865063366688984510732096688423L, 0.973906528517171720077964012084L }; static const long double w10[5] = { 0.295524224714752870173892994651L, 0.269266719309996355091226921569L, 0.219086362515982043995534934228L, 0.149451349150580593145776339658L, 0.0666713443086881375935688098933L }; static const long double x12[6] = { 0.125233408511468915472441369464L, 0.367831498998180193752691536644L, 0.587317954286617447296702418941L, 0.769902674194304687036893833213L, 0.904117256370474856678465866119L, 0.981560634246719250690549090149L }; static const long double w12[6] = { 0.249147045813402785000562436043L, 0.233492536538354808760849898925L, 0.20316742672306592174906445581L, 0.160078328543346226334652529543L, 0.106939325995318430960254718194L, 0.047175336386511827194615961485L }; static const long double x16[8] = { 0.095012509837637440185319335425L, 0.28160355077925891323046050146L, 0.458016777657227386342419442984L, 0.617876244402643748446671764049L, 0.755404408355003033895101194847L, 0.865631202387831743880467897712L, 0.944575023073232576077988415535L, 0.98940093499164993259615417345L }; static const long double w16[8] = { 0.189450610455068496285396723208L, 0.182603415044923588866763667969L, 0.16915651939500253818931207903L, 0.149595988816576732081501730547L, 0.124628971255533872052476282192L, 0.0951585116824927848099251076022L, 0.0622535239386478928628438369944L, 0.027152459411754094851780572456L }; static const long double x32[16] = { 0.0483076656877383162348125704405L, 0.144471961582796493485186373599L, 0.239287362252137074544603209166L, 0.33186860228212764977991680573L, 0.421351276130635345364119436172L, 0.506899908932229390023747474378L, 0.587715757240762329040745476402L, 0.663044266930215200975115168663L, 0.732182118740289680387426665091L, 0.79448379596794240696309729897L, 0.849367613732569970133693004968L, 0.896321155766052123965307243719L, 0.934906075937739689170919134835L, 0.964762255587506430773811928118L, 0.985611511545268335400175044631L, 0.997263861849481563544981128665L }; static const long double w32[16] = { 0.0965400885147278005667648300636L, 0.0956387200792748594190820022041L, 0.0938443990808045656391802376681L, 0.0911738786957638847128685771116L, 0.0876520930044038111427714627518L, 0.0833119242269467552221990746043L, 0.0781938957870703064717409188283L, 0.0723457941088485062253993564785L, 0.0658222227763618468376500637069L, 0.0586840934785355471452836373002L, 0.0509980592623761761961632446895L, 0.0428358980222266806568786466061L, 0.0342738629130214331026877322524L, 0.0253920653092620594557525897892L, 0.0162743947309056706051705622064L, 0.00701861000947009660040706373885L }; static const long double x64[32] = { 0.0243502926634244325089558428537L, 0.0729931217877990394495429419403L, 0.121462819296120554470376463492L, 0.169644420423992818037313629748L, 0.217423643740007084149648748989L, 0.26468716220876741637396417251L, 0.31132287199021095615751269856L, 0.357220158337668115950442615046L, 0.40227015796399160369576677126L, 0.446366017253464087984947714759L, 0.489403145707052957478526307022L, 0.531279464019894545658013903544L, 0.571895646202634034283878116659L, 0.611155355172393250248852971019L, 0.648965471254657339857761231993L, 0.685236313054233242563558371031L, 0.719881850171610826848940217832L, 0.752819907260531896611863774886L, 0.783972358943341407610220525214L, 0.813265315122797559741923338086L, 0.840629296252580362751691544696L, 0.86599939815409281976078338507L, 0.889315445995114105853404038273L, 0.910522137078502805756380668008L, 0.929569172131939575821490154559L, 0.946411374858402816062481491347L, 0.961008799652053718918614121897L, 0.973326827789910963741853507352L, 0.983336253884625956931299302157L, 0.991013371476744320739382383443L, 0.996340116771955279346924500676L, 0.999305041735772139456905624346L }; static const long double w64[32] = { 0.0486909570091397203833653907347L, 0.048575467441503426934799066784L, 0.048344762234802957169769527158L, 0.0479993885964583077281261798713L, 0.0475401657148303086622822069442L, 0.0469681828162100173253262857546L, 0.0462847965813144172959532492323L, 0.0454916279274181444797709969713L, 0.0445905581637565630601347100309L, 0.0435837245293234533768278609737L, 0.0424735151236535890073397679088L, 0.0412625632426235286101562974736L, 0.0399537411327203413866569261283L, 0.0385501531786156291289624969468L, 0.0370551285402400460404151018096L, 0.0354722132568823838106931467152L, 0.0338051618371416093915654821107L, 0.0320579283548515535854675043479L, 0.0302346570724024788679740598195L, 0.0283396726142594832275113052002L, 0.0263774697150546586716917926252L, 0.0243527025687108733381775504091L, 0.0222701738083832541592983303842L, 0.0201348231535302093723403167285L, 0.0179517157756973430850453020011L, 0.0157260304760247193219659952975L, 0.013463047896718642598060766686L, 0.0111681394601311288185904930192L, 0.00884675982636394772303091465973L, 0.00650445796897836285611736039998L, 0.00414703326056246763528753572855L, 0.00178328072169643294729607914497L }; static const long double x100[50] = { 0.0156289844215430828722166999974L, 0.0468716824215916316149239129338L, 0.0780685828134366366948173712016L, 0.109189203580061115003426006579L, 0.140203137236113973207514604682L, 0.171080080538603274887532374707L, 0.20178986409573599723604885953L, 0.232302481844973969649509963208L, 0.262588120371503479168929336255L, 0.292617188038471964737555888235L, 0.322360343900529151722476582398L, 0.351788526372421720972343829549L, 0.38087298162462995676336254887L, 0.409585291678301542528868400057L, 0.437897402172031513108978043622L, 0.465781649773358042249216623396L, 0.493210789208190933569308793449L, 0.520158019881763056646815749455L, 0.546597012065094167467994257182L, 0.572501932621381191316870443526L, 0.597847470247178721264806545149L, 0.622608860203707771604190845172L, 0.646761908514129279832630304459L, 0.670283015603141015802587014323L, 0.693149199355801965948647941675L, 0.715338117573056446459967122704L, 0.73682808980202070551242771482L, 0.757598118519707176035667964438L, 0.777627909649495475627551386834L, 0.796897892390314476389572882183L, 0.815389238339176254393988758649L, 0.833083879888400823542915833845L, 0.84996452787959128429336259142L, 0.866014688497164623410739969676L, 0.881218679385018415573316825428L, 0.89556164497072698669852102243L, 0.909029570982529690467126337789L, 0.921609298145333952666951328482L, 0.933288535043079545924333668131L, 0.944055870136255977962774706415L, 0.953900782925491742849336930894L, 0.96281365425581552729365932603L, 0.970785775763706331930897857898L, 0.977809358486918288553781088429L, 0.983877540706057015496100155511L, 0.988984395242991748004418745808L, 0.993124937037443459652009892849L, 0.996295134733125149186131732241L, 0.998491950639595818400163359186L, 0.999713726773441233678228469342L }; static const long double w100[50] = { 0.0312554234538633569476424743862L, 0.0312248842548493577323764986481L, 0.0311638356962099067838183212172L, 0.0310723374275665165878101702429L, 0.0309504788504909882340634634707L, 0.0307983790311525904277139030306L, 0.0306161865839804484964594432621L, 0.0304040795264548200165078598188L, 0.0301622651051691449190686816105L, 0.0298909795933328309168368066686L, 0.0295904880599126425117545106788L, 0.0292610841106382766201190234956L, 0.0289030896011252031348762281345L, 0.0285168543223950979909367628645L, 0.028102755659101173317648330187L, 0.0276611982207923882942041558704L, 0.0271926134465768801364915678022L, 0.0266974591835709626603846641863L, 0.0261762192395456763423087417573L, 0.0256294029102081160756420098622L, 0.0250575444815795897037642256209L, 0.0244612027079570527199750233498L, 0.0238409602659682059625604119023L, 0.0231974231852541216224888541827L, 0.0225312202563362727017969709317L, 0.0218430024162473863139537413044L, 0.021133442112527641542672300441L, 0.0204032326462094327668388516576L, 0.0196530874944353058653814702454L, 0.0188837396133749045529411658815L, 0.0180959407221281166643907514205L, 0.0172904605683235824393441983667L, 0.0164680861761452126431049800882L, 0.0156296210775460027239368659538L, 0.0147758845274413017688799875204L, 0.013907710703718772687954149108L, 0.0130259478929715422855585837589L, 0.0121314576629794974077447924487L, 0.0112251140231859771172215733663L, 0.0103078025748689695857821017278L, 0.00938041965369445795141823766081L, 0.0084438714696689714026208349023L, 0.0074990732554647115788287440164L, 0.0065469484508453227641521033315L, 0.00558842800386551515721194634844L, 0.00462445006342211935109578908298L, 0.00365596120132637518234245872753L, 0.002683925371553482419439590429L, 0.00170939265351810523952935837149L, 0.00073463449050567173040632065833L }; static const long double x128[64] = { 0.0122236989606157641980521196674L, 0.0366637909687334933302153487894L, 0.0610819696041395681037870235223L, 0.0854636405045154986364980344602L, 0.109794231127643746672974667401L, 0.134059199461187785117575317261L, 0.158244042714224933997475452139L, 0.182334305985337182410382574861L, 0.206315590902079217154058010828L, 0.230173564226659986410986577212L, 0.253893966422694320855617996496L, 0.277462620177904402806231634076L, 0.300865438877677202667154094507L, 0.324088435024413375183252279167L, 0.347117728597635508426162771971L, 0.369939555349859026616591741168L, 0.392540275033267442735648189122L, 0.414906379552275015492273879246L, 0.437024501037104162937042943417L, 0.458881419833552195449089130423L, 0.480464072404172025858275706671L, 0.501759559136144464289606293342L, 0.522755152051175478453947939496L, 0.543438302412810363444193627172L, 0.563796648226618083914430770208L, 0.583818021628763089550038857284L, 0.603490456158548624203573197531L, 0.622802193910584910761539598641L, 0.641741692562307557153524916177L, 0.660297632272646052105946834791L, 0.678458922447719259367755656705L, 0.696214708369514332385086602419L, 0.713554377683587413343859913031L, 0.730467566741908806471736942954L, 0.746944166797061981169882421434L, 0.762974330044094722779769143486L, 0.778548475506411966850494066699L, 0.793657294762193290243332946694L, 0.808291757507913660119642248581L, 0.822443116955643842464594185856L, 0.836102915060906847116875309814L, 0.849262987577968969163600128999L, 0.861915468939548460590632271595L, 0.874052796958031798695417954838L, 0.885667717345397217408292424532L, 0.896753288049158184386447397626L, 0.907302883401756813921485947489L, 0.917310198080960537036483580142L, 0.926769250878947843334624518175L, 0.935674388277916375783126754801L, 0.9440202878302201821211114179L, 0.951801961341264386217796301592L, 0.959014757853699928098918549973L, 0.965654366431965268645829026589L, 0.971716818747136580904338360183L, 0.977198491463907387165374426523L, 0.982096108435718536024765629892L, 0.98640674272458620887123551924L, 0.990127818491734383337930315472L, 0.993257112900212935303437221086L, 0.995792758534981186864161209621L, 0.997733248625514019882157443348L, 0.999077459977375895011987757684L, 0.999824887947131914473608082982L }; static const long double w128[64] = { 0.0244461801962625182113258526106L, 0.0244315690978500450548485614286L, 0.0244023556338495820932979896942L, 0.0243585572646906258532685202463L, 0.0243002001679718653234426063638L, 0.0242273192228152481200933084418L, 0.0241399579890192849977166538905L, 0.0240381686810240526375873168196L, 0.0239220121367034556724504088171L, 0.0237915577810034006387807098854L, 0.0236468835844476151436513923029L, 0.0234880760165359131530252732818L, 0.0233152299940627601224156712728L, 0.0231284488243870278792979024028L, 0.0229278441436868469204109872093L, 0.0227135358502364613097126359229L, 0.0224856520327449668718246039406L, 0.0222443288937997651046291336072L, 0.0219897106684604914341221065992L, 0.0217219495380520753752609577676L, 0.021441205539208460137111853878L, 0.0211476464682213485370195351804L, 0.0208414477807511491135839484229L, 0.0205227924869600694322849677882L, 0.0201918710421300411806731584061L, 0.0198488812328308622199444132649L, 0.0194940280587066028230219186812L, 0.0191275236099509454865185316678L, 0.0187495869405447086509195484738L, 0.0183604439373313432212892909913L, 0.017960327185008685940196927525L, 0.0175494758271177046487069256344L, 0.0171281354231113768306809876188L, 0.0166965578015892045890915079538L, 0.0162550009097851870516574564771L, 0.0158037286593993468589656316874L, 0.0153430107688651440859908537414L, 0.0148731226021473142523854985201L, 0.0143943450041668461768238920085L, 0.0139069641329519852442880073956L, 0.0134112712886163323144889516162L, 0.0129075627392673472204428340039L, 0.0123961395439509229688217281973L, 0.0118773073727402795758911069256L, 0.0113513763240804166932816684525L, 0.0108186607395030762476596462775L, 0.0102794790158321571332153403264L, 0.00973415341500680586354826609356L, 0.00918300987166087433447874368843L, 0.00862637779861674970497884378197L, 0.00806458989048605797292859869786L, 0.00749798192563472868767196268847L, 0.00692689256689881356342667036033L, 0.00635166316170718878721432782623L, 0.00577263754286569858933461762607L, 0.00519016183267633020507076713485L, 0.00460458425670295511829054198028L, 0.0040162549837386423131943434863L, 0.00342552604091021577433778466013L, 0.00283275147145799109528573464682L, 0.00223828843096261874362205427272L, 0.0016425030186690295387908755948L, 0.00104581267934034877931285160011L, 0.000449380960292090376394292239989L }; static const long double x256[128] = { 0.00612391237518952950117016496227L, 0.0183708184788136651179262920605L, 0.0306149687799790293662785813214L, 0.042854526536379098381242288682L, 0.0550876556946339841045614164248L, 0.067312521165716400242290288817L, 0.0795272891002329659032270684566L, 0.0917301271635195520311456005978L, 0.103919204810509403639196896559L, 0.116092693560332804940734863887L, 0.128248767270607094742049596212L, 0.140385602411375885913024875641L, 0.152501378338656395374606840669L, 0.164594277567553849829284507555L, 0.176662486044901997403721815255L, 0.188704193421388826461503572234L, 0.200717593323126670068000730614L, 0.212700883622625957937040153463L, 0.224652266709131967147878316315L, 0.236569949758284018477508408869L, 0.24845214500105666683324268886L, 0.260297069991942541978560859024L, 0.272102947876336609505244723296L, 0.283868007657081741799765765171L, 0.295590484460135614563786795633L, 0.30726861979931907625861025422L, 0.318900661840106275631683382156L, 0.330484865662416976229187036473L, 0.342019493522371636480729674157L, 0.353502815112969989537790153038L, 0.36493310782365401853346488052L, 0.376308656998716390283055712921L, 0.387627756194515583637984588084L, 0.39888870743545912771346321276L, 0.410089821468716550006433574842L, 0.421229418017623824976812371852L, 0.432305826033741309953441072147L, 0.44331738394752735721692575276L, 0.454262439917589998774455201094L, 0.465139352078479313645570450481L, 0.47594648878698330639073752309L, 0.48668222886689035010362141941L, 0.497344961852181477119512385353L, 0.507933088228616036231924919033L, 0.518445019673674476221661709631L, 0.528879179294822261951476413964L, 0.539234001866059181127936244075L, 0.549507934062718557042426884388L, 0.559699434694481145136907431121L, 0.569806974936568759057667535465L, 0.579829038559082944921831712119L, 0.589764122154454300785786143912L, 0.599610735362968321730388226636L, 0.60936740109633393952231084466L, 0.619032655759261219430967634291L, 0.628605049469014975432209867767L, 0.638083146272911368668688583383L, 0.647465524363724862617016228829L, 0.656750776292973221887500235396L, 0.665937509182048559906408413877L, 0.675024344931162763855918731538L, 0.684009920426075953124877107352L, 0.692892887742576960105341606356L, 0.701671914348685159406083549883L, 0.710345683304543313394566316975L, 0.718912893459971448372639850248L, 0.727372259649652126586894398148L, 0.735722512885917834620372850235L, 0.743962400549111568455683121575L, 0.752090686575492059587529728368L, 0.76010615164265545494190679754L, 0.768007593352445635975890600729L, 0.775793826411325739132052574582L, 0.783463682808183820750670206739L, 0.791016011989545994546707497985L, 0.798449681032170758782542860549L, 0.805763574812998623257389104687L, 0.812956596176431543136410438495L, 0.820027666098917067403478081822L, 0.826975723850812514289092898047L, 0.833799727155504894348443899986L, 0.840498652345762713895067997292L, 0.847071494517296207187072432785L, 0.853517267679502965073035535714L, 0.859835004903376350696173097846L, 0.866023758466554519297515431123L, 0.872082599995488289130045899567L, 0.878010620604706543986434867952L, 0.883806931033158284859826181734L, 0.889470661777610888828676580534L, 0.895000963223084577441222800002L, 0.900397005770303544771619995416L, 0.9056579799601446470826819058L, 0.910783096595065011890907203179L, 0.915771586857490384526669626561L, 0.920622702425146495505047084323L, 0.925335715583316202872730291856L, 0.929909919334005641180245550881L, 0.934344627502003094292476542768L, 0.938639174837814804981926084106L, 0.942792917117462443183076140631L, 0.946805231239127481372051725052L, 0.950675515316628276363852124711L, 0.95440318876971624176444794114L, 0.957987692411178129365790446493L, 0.961428488530732144006407468736L, 0.964725060975706430932612279685L, 0.96787691522848945490900377771L, 0.970883578480743029320923299728L, 0.973744599704370405266078557889L, 0.97645954971923415562101065175L, 0.979028021257622038824238035283L, 0.981449629025464405769303114157L, 0.983724009760315496166686117821L, 0.985850822286125956479245123868L, 0.987829747564860608916487712732L, 0.989660488745065218319243747264L, 0.991342771207583086922188510456L, 0.992876342608822117143533802322L, 0.994260972922409664962877548324L, 0.995496454481096356592647052789L, 0.99658260202338154043050442427L, 0.997519252756720827563408758638L, 0.998306266473006444055500482418L, 0.998943525843408856555026289786L, 0.999430937466261408240854181711L, 0.999768437409263186104878585512L, 0.999956050018992230734801210168L }; static const long double w256[128] = { 0.0122476716402897559040703264897L, 0.0122458343697479201424638575499L, 0.0122421601042728007697280832602L, 0.0122366493950401581092425747674L, 0.0122293030687102789041462660832L, 0.0122201222273039691917087372273L, 0.0122091082480372404075140943707L, 0.0121962627831147135181809741965L, 0.012181587759481772174047585032L, 0.0121650853785355020613072918389L, 0.0121467581157944598155598376642L, 0.0121266087205273210347184922045L, 0.0121046402153404630977578297364L, 0.0120808558957245446559751839755L, 0.0120552593295601498143470853274L, 0.0120278543565825711612675334976L, 0.0119986450878058119345367100708L, 0.0119676359049058937290072826699L, 0.0119348314595635622558732016964L, 0.0119002366727664897542872042371L, 0.0118638567340710787319045729076L, 0.0118256971008239777711607379581L, 0.0117857634973434261816901176269L, 0.0117440619140605503053767327586L, 0.0117005986066207402881898233592L, 0.0116553800949452421212989397303L, 0.0116084131622531057220847066772L, 0.0115597048540436357726686569503L, 0.0115092624770394979585863924387L, 0.011457093598090639152334392298L, 0.0114032060430391859648470595523L, 0.0113476078955454919416257142968L, 0.0112903074958755095083675941213L, 0.0112313134396496685726568020834L, 0.0111706345765534494627108819383L, 0.0111082800090098436304608154507L, 0.0110442590908139012635175710436L, 0.0109785814257295706379882034477L, 0.0109112568660490397007968477876L, 0.0108422955111147959952934770584L, 0.0107717077058046266366536319272L, 0.0106995040389797856030482005827L, 0.0106256953418965611339616818014L, 0.010550292686581481517533575536L, 0.0104733073841704030035695669267L, 0.0103947509832117289971017252053L, 0.0103146352679340150682607139973L, 0.0102329722564782196569548571604L, 0.0101497741990948656546340660419L, 0.0100650535763063833094609789296L, 0.00997882309703491012473394949458L, 0.00989109569669582860263068380918L, 0.00980188453525732782549880024998L, 0.00971120299526627996424967049581L, 0.00961906467984072785716216440052L, 0.00952548341062928481182968575443L, 0.00943047322573775274735276448237L, 0.00933404837762326971246601448636L, 0.00923622333095630268737871671386L, 0.00913701276045080640200047221868L, 0.00903643154866287368022777557239L, 0.00893449478375820754840841708495L, 0.00883121775724875002531827268512L, 0.00872661596169880714033663221736L, 0.00862070508840101430536883841018L, 0.0085135010250224906938383547897L, 0.00840501985322153575618030169816L, 0.00829527784623522542517141255288L, 0.00818429146643826993561976100372L, 0.00807207736287349950094697480413L, 0.00795865236875434835361316122694L, 0.00784403349893971186681031615122L, 0.00772823794738155563111019495784L, 0.00761128308454565946161871961804L, 0.00749318645480588335859976113332L, 0.00737396577381234643757244069469L, 0.00725363892583391378382913721418L, 0.00713222396107539007167242298552L, 0.00700973909296982262123443619368L, 0.00688620269544632034671332377453L, 0.00676163330017379878092786110788L, 0.00663604959378106504459003835507L, 0.00650947041505366026780989995138L, 0.00638191475210788057037516427494L, 0.00625340173954240127206364597525L, 0.0061239506555679325423890811866L, 0.00599358091911533822112769687036L, 0.00586231208692265306066159880109L, 0.00573016385060143717738441755539L, 0.00559715603368291007755144525719L, 0.00546330858864431027757053185663L, 0.00532864159391593031708111147879L, 0.00519317525086928093032875362964L, 0.00505692988078684238755781607621L, 0.00491992592181386566955877656549L, 0.00478218392589269137293173404476L, 0.00464372455568006031397909235247L, 0.00450456858144789706864179231592L, 0.00436473687796805668156842006212L, 0.00422425042138153627235650490599L, 0.00408313028605266840859977592119L, 0.003941397641408833627729034984L, 0.00379907374876625799811701920824L, 0.00365617995814250216938924130522L, 0.00351273770505630733097105498443L, 0.00336876850731555101201910624893L, 0.00322429396179419815701071342688L, 0.00307933574119933758320535283158L, 0.00293391559082971664601232541422L, 0.00278805532532770688057476107625L, 0.00264177682542749056412082925158L, 0.0024951020347037068508395354372L, 0.00234805295632731201700646090869L, 0.00220065164983991049968488341886L, 0.0020529202279661431745487818492L, 0.00190488085349971840441914117458L, 0.00175655573633072999360691452952L, 0.00160796713074932724244993956898L, 0.00145913733331073320108838649958L, 0.00131008868190250445783168042706L, 0.00116084355756772472397059811346L, 0.00101142439320844045260581284143L, 0.000861853701420089037814093416251L, 0.000712154163473320666908989151123L, 0.000562348954031409802815236747593L, 0.000412463254426176328432185837736L, 0.000262534944296445906287457562499L, 0.00011278901782227217551253887725L }; static const long double x512[256] = { 0.00306496218515939615292319328839L, 0.00919477138643291080474422516323L, 0.0153242350848981855249676518038L, 0.0214531229597748745137841289115L, 0.0275812047119197840615246277254L, 0.0337082500724805951232271282329L, 0.0398340288115484476830396356646L, 0.0459583107468090617788759568481L, 0.052080865752192070112727142892L, 0.0582014637665182372392329810929L, 0.0643198748021442404045318767531L, 0.070435868953604687199030920713L, 0.0765492164062510452915674480044L, 0.0826596874448871596284650556372L, 0.088767052462401032609216503144L, 0.0948710819683925428909483497913L, 0.100971546597796778626432310822L, 0.107068217119502661105200407263L, 0.113160864444966534944288847502L, 0.11924925963682040116427256429L, 0.125333173917474469687551331053L, 0.131412378677713708009301832442L, 0.137486645485288063017109945177L, 0.14355574609349603317303531937L, 0.149619452449761268521727204381L, 0.155677536704201876250196947994L, 0.161729771218192109798948868829L, 0.167775928572916119810366960064L, 0.173815781577913445498539373741L, 0.179849103279615925335064650706L, 0.185875666969875706267811539686L, 0.19189524619448403102408587442L, 0.197907614761680483396180781858L, 0.203912546750652371765837456248L, 0.209909816520023931494709380629L, 0.215899198716335027190489284482L, 0.221880468282509036252910918884L, 0.227853400466309595510362082706L, 0.233817770828785893176325969794L, 0.239773355252706188785289102895L, 0.245719929950979244210099701852L, 0.251657271475063349317013679919L, 0.257585156723362626280809503858L, 0.263503362949610297060370375174L, 0.269411667771238599025004629442L, 0.275309849177735034223484500919L, 0.281197685538984638301310608338L, 0.28707495561359795559703538881L, 0.292941438557224407485583500584L, 0.298796913930850741585370749916L, 0.304641161709084250006624748499L, 0.310473962288420445390629210862L, 0.316295096495494884073628050472L, 0.322104345595318826304813284284L, 0.327901491299498424055159824798L, 0.333686315774437127572837705056L, 0.339458601649521002471504887414L, 0.345218132025286649779937857083L, 0.350964690481571422035168567066L, 0.356698061085645629166540418616L, 0.362418028400326428594847833627L, 0.36812437749207309465895817332L, 0.373816893939063363182005420127L, 0.379495363839250547700365875813L, 0.385159573818401124601150417642L, 0.3908093110381124851478484467L, 0.39644436320381055311900798166L, 0.402064518572726967541406394093L, 0.407669565961855530767028619642L, 0.413259294755887622922295460078L, 0.418833494915126284548344538554L, 0.424391956983378670052730886273L, 0.42993447209582657540565290415L, 0.435460831986874744337692019042L, 0.440970828997976658131049783228L, 0.446464256085437514942343072718L, 0.451940906828194105452144633463L, 0.457400575435571292504600297711L, 0.462843056755014803279583125284L, 0.468268146279800043429925482963L, 0.473675640156716643517269214845L, 0.479065335193728448991957722467L, 0.484437028867608665885127701805L, 0.489790519331549875314707803419L, 0.495125605422748630851361514248L, 0.500442086669964353745486621932L, 0.505739763301052241982167828607L, 0.511018436250469910107436142022L, 0.516277907166757477756281897897L, 0.52151797841999082581056056922L, 0.526738453109207740123184408444L, 0.531939135069806663763770562885L, 0.537119828880917779770179322772L, 0.542280339872746147430085931924L, 0.547420474133886616166846847293L, 0.552540038518610242164407019019L, 0.557638840654121933936808831235L, 0.562716688947789054128965561747L, 0.567773392594340705926711965664L, 0.57280876158303743355570085912L, 0.577822606704811067460435986004L, 0.582814739559374445876576223285L, 0.587784972562300745641572168998L, 0.592733118952072156230660832724L, 0.597658992797097632157204606265L, 0.602562409002699460038273651538L, 0.607443183318068377798192649499L, 0.612301132343186984664459482364L, 0.617136073535721181801950475306L, 0.621947825217879384632609538887L, 0.626736206583239249098831798399L, 0.631501037703541655349450575069L, 0.636242139535451693557574037241L, 0.640959333927286397819448246688L, 0.645652443625708975333000105692L, 0.650321292282389279313689926576L, 0.654965704460630275373731702969L, 0.659585505641960252368572013432L, 0.66418052223269053000170783305L, 0.668750581570438416775421017048L, 0.673295511930615173180764153942L, 0.677815142532878736335099819507L, 0.682309303547550963599623607951L, 0.686777826101999154042540941966L, 0.691220542286981607955868497444L, 0.695637285162956985985142712245L, 0.70002788876635723079158953623L, 0.704392188115823815535490242722L, 0.708730019218407084847516349288L, 0.713041219075728455341650748316L, 0.717325625690105244118909958747L, 0.72158307807063789511538158824L, 0.72581341623925937456103892661L, 0.730016481236746508237338043705L, 0.734192115128693034651688487821L, 0.738340161011444149685463009942L, 0.742460463017992319719220698317L, 0.746552866323834141694207212232L, 0.750617217152788030032910862254L, 0.754653362782772511813439203148L, 0.758661151551544913072682391336L, 0.762640432862400220601591321717L, 0.766591057189829905092364715924L, 0.770512876085140493001853814129L, 0.774405742182031676007999768128L, 0.778269509202133748456560606578L, 0.782104031960504164723704829062L, 0.785909166371083009956190097345L, 0.789684769452107179194750676034L, 0.7934306993314830614379285157L, 0.797146815252117526762842198662L, 0.800832977577207016186237161221L, 0.804489047795484535523541204203L, 0.808114888526424356085502609785L, 0.811710363525404226641255274283L, 0.815275337688824902673277004688L, 0.818809677059186800553624165659L, 0.822313248830123585881978662936L, 0.825785921351392506844372086102L, 0.829227564133821285076896817941L, 0.832638047854211378151215007389L, 0.83601724436019742943817332295L, 0.839365026675062722752264065292L, 0.842681269002510460832981144238L, 0.845965846731390688379242176275L, 0.849218636440382682019925061625L, 0.852439515902632631277138385095L, 0.855628364090346436259049424907L, 0.858785061179337449505871110056L, 0.861909488553528991105899742515L, 0.865001528809411467898238702266L, 0.868061065760453929284979961876L, 0.871087984441469893888085691797L, 0.874082171112937283004957630597L, 0.877043513265272298541643886114L, 0.87997189962305708483375378315L, 0.882867220149221015502374494586L, 0.885729366049175448235552735976L, 0.888558229774901792135166270887L, 0.891353705028992734024210373297L, 0.894115686768646471870612538548L, 0.896844071209613805250615603518L, 0.899538755830097934547488595958L, 0.902199639374606822359792743261L, 0.90482662185775797237760749359L, 0.907419604568035482774972924668L, 0.909978490071499232962300622749L, 0.912503182215446064343621439287L, 0.914993586132022817530259524544L, 0.917449608241791090274840895352L, 0.91987115625724358220746573334L, 0.922258139186271894279414128725L, 0.924610467335585652648948636642L, 0.926928052314082828578676798739L, 0.929210807036171127754619317392L, 0.931458645725040324283700217221L, 0.933671483915885416478974546254L, 0.935849238459080483400720378159L, 0.937991827523303122986781252861L, 0.940099170598609354477553890866L, 0.942171188499458869720155492123L, 0.944207803367690519823056208116L, 0.946208938675447925527430381327L, 0.948174519228055101565424546984L, 0.950104471166841987189414658798L, 0.951998721971919776981327391231L, 0.953857200464905947988737167972L, 0.955679836811598881186619986715L, 0.957466562524601977232744814278L, 0.959217310465897168473750689404L, 0.96093201484936773117185340264L, 0.962610611243270303963775402835L, 0.964253036572656020640206806406L, 0.965859229121740667454004728797L, 0.967429128536223777338923331554L, 0.968962675825556575661586391082L, 0.970459813365158694455504972402L, 0.971920484898583574520652189754L, 0.973344635539632477346447137897L, 0.974732211774417031571256004783L, 0.976083161463370241683030009389L, 0.977397433843205889968186148107L, 0.978674979528826266430957230887L, 0.979915750515178165672628492935L, 0.981119700179057094732231118461L, 0.982286783280859641916642875645L, 0.983416955966283964068145464381L, 0.984510175767978359071612566676L, 0.985566401607137902469262168815L, 0.98658559379504914296036839519L, 0.987567714034582872984890977136L, 0.988512725421635020014848710251L, 0.989420592446515745377704773058L, 0.990291280995286896210689856142L, 0.991124758351048041552839949908L, 0.991920993195171450024436980559L, 0.992679955608486557354676322608L, 0.993401617072414765785927111574L, 0.994085950470055879370282473806L, 0.994732930087228222502793607544L, 0.995342531613465715147603149987L, 0.9959147321429772566997087651L, 0.996449510175577402283759968793L, 0.996946845617603880436737038039L, 0.997406719782849832161118287627L, 0.997829115393562846603647010356L, 0.998214016581612795387692324594L, 0.998561408890039727557367662576L, 0.998871279275449424654176863555L, 0.999143616112378238245339981275L, 0.999378409202599251448016145201L, 0.999575649798310855593610910525L, 0.9997353306710426625827368052L, 0.999857446369979438544627531375L, 0.999941994606845653636128684538L, 0.999988990984381867987284124899L }; static const long double w512[256] = { 0.00612990517540578575915635106705L, 0.00612967483803649866642780791321L, 0.00612921417195308343954705418706L, 0.00612852319446553276934021363101L, 0.00612760193153802263845082620519L, 0.00612645041778793669124259621409L, 0.00612506869648456545069755039831L, 0.0061234568195474804311878456469L, 0.0061216148475445832082155821017L, 0.00611954284968982951842879786615L, 0.00611724090384062847543288735157L, 0.00611470909649491699912453765166L, 0.0061119475227879095684794575118L, 0.006108956286488523419925222868L, 0.00610573549999547932562602314649L, 0.00610228528433307809819650528097L, 0.00609860576914665298054681965711L, 0.00609469709269769809173991607314L, 0.00609055940185867311191466067772L, 0.00608619285210748440149398931786L, 0.00608159760752164276205562166693L, 0.00607677384077209805839337704589L, 0.00607172173311675093343940043445L, 0.00606644147439364185985116953711L, 0.00606093326301381778419155499257L, 0.00605519730595387663174499031016L, 0.00604923381874818995211752066038L, 0.00604304302548080399786268539428L, 0.00603662515877701954045839366887L, 0.00602998045979465074003172177876L, 0.00602310917821496339728844112896L, 0.00601601157223329292815162407433L, 0.00600868790854934241364841839906L, 0.00600113846235716108960557780292L, 0.00599336351733480365272213368161L, 0.00598536336563367077158124153634L, 0.00597713830786753120314228285162L, 0.00596868865310122592721830012128L, 0.00596001471883905472339233932361L, 0.00595111683101284562675882157751L, 0.00594199532396970771079221557757L, 0.00593265054045946765754458695226L, 0.00592308283162179058725561279245L, 0.00591329255697298563132292278374L, 0.00590328008439249674442671684058L, 0.00589304579010907926343006775972L, 0.00588259005868666273248470176306L, 0.00587191328300990052556091618182L, 0.00586101586426940680938919897228L, 0.00584989821194668140154961702939L, 0.00583856074379872309017269792427L, 0.00582700388584233199342190206511L, 0.00581522807233810154861242950009L, 0.00580323374577410073248358859287L, 0.00579102135684924712578183438701L, 0.00577859136445637144692842526788L, 0.00576594423566497419113901102542L, 0.00575308044570367502293191800101L, 0.00574000047794235558150700294525L, 0.00572670482387399636999727271794L, 0.00571319398309620841109057915416L, 0.00569946846329246036298816537807L, 0.00568552878021300180111023060985L, 0.00567137545765548338237556510423L, 0.00565700902744527462027225629973L, 0.00564243002941548001029905358086L, 0.00562763901138665425669177532253L, 0.0056126365291462173626557222068L, 0.00559742314642757035760300034679L, 0.00558199943488891244614253277044L, 0.00556636597409176037478992565081L, 0.00555052335147917082355383477259L, 0.00553447216235366664071462767639L, 0.00551821300985486775023953844447L, 0.00550174650493682757237574706331L, 0.00548507326634507580902846677425L, 0.00546819392059336845656477504601L, 0.00545110910194014591968516222288L, 0.00543381945236470011097318318976L, 0.0054163256215430514316687694595L, 0.00539862826682353654011228109039L, 0.00538072805320210782517384021392L, 0.00536262565329734551281548240993L, 0.00534432174732518334473178172494L, 0.00532581702307334877877744412277L, 0.00530711217587551867161751824834L, 0.00528820790858519141472693858908L, 0.00526910493154927650552069280937L, 0.00524980396258140254601359196695L, 0.00523030572693494467198902064647L, 0.00521061095727577242619875632486L, 0.00519072039365471909962057750332L, 0.00517063478347977357526653373034L, 0.00515035488148799571946203448679L, 0.00512988144971715637590393636853L, 0.00510921525747710302815417893452L, 0.00508835708132085220653385034587L, 0.0050673077050154097256504673807L, 0.00504606791951231984901834498646L, 0.00502463852291794448741782419526L, 0.00500302032046347354778344151667L, 0.00498121412447466755951347696331L, 0.00495922075434133371515333238436L, 0.00493704103648653647242248912969L, 0.00491467580433554387452899822722L, 0.00489212589828451075564619286515L, 0.00486939216566890000831320933863L, 0.00484647546073164309936358774359L, 0.00482337664459104103078432828168L, 0.00480009658520840695166093550762L, 0.00477663615735545163707182537309L, 0.00475299624258141305945763443255L, 0.00472917772917993128760709478881L, 0.00470518151215566995797086178516L, 0.00468100849319068557253764543306L, 0.00465665958061054588698284427954L, 0.00463213568935019866222825691318L, 0.00460743774091959206193199851465L, 0.00458256666336904798776012662488L, 0.00455752339125438965357533241402L, 0.00453230886560182470891303393578L, 0.00450692403387258523130097088344L, 0.00448136984992732591611460298616L, 0.00445564727399028180174691520903L, 0.00442975727261318687690729324519L, 0.00440370081863895492584961543017L, 0.00437747889116512397626427734466L, 0.00435109247550706572345219037598L, 0.00432454256316096131323054499988L, 0.00429783015176654487479997543301L, 0.00427095624506961620353037884326L, 0.00424392185288432400229770614435L, 0.00421672799105522109862623165414L, 0.00418937568141909306345980720756L, 0.00416186595176656166590109693147L, 0.00413419983580346460671945874452L, 0.00410637837311201298183567745331L, 0.0040784026091117279353448546683L, 0.00405027359502015796993711824547L, 0.00402199238781337839081912727542L, 0.00399356005018627436742731975392L, 0.00396497765051260910535618435729L, 0.00393624626280487862900124418616L, 0.00390736696667395468343663169937L, 0.0038783408472885172720108271218L, 0.00384916899533427835405104842995L, 0.0038198525069729982349166452132L, 0.00379039248380129618843439177154L, 0.00376079003280925685948353249231L, 0.00373104626633883400217554626897L, 0.00370116230204205311669261405454L, 0.00367113926283901455540944884741L, 0.00364097827687569867642524207221L, 0.00361068047748157463007576406174L, 0.00358024700312701437137990763669L, 0.0035496789973805134986999708781L, 0.0035189776088657205261605372254L, 0.00348814399121827620457673925841L, 0.00345717930304246451278881173629L, 0.00342608470786767694838598968184L, 0.00339486137410469175382884566049L, 0.0033635104750017697209449634107L, 0.0033320331886005682236783110781L, 0.00330043069769187513581772987522L, 0.00326870418977116429721454486131L, 0.00323685485699397419872341806455L, 0.00320488389613111156276422199743L, 0.00317279250852368150300597826487L, 0.00314058190003794595321689537206L, 0.00310825328102001206180742305092L, 0.0030758078662503522550162546364L, 0.00304324687489815767805266824838L, 0.00301057153047552672981290518898L, 0.00297778306079149041303394777365L, 0.00294488269790587622793570847359L, 0.00291187167808301234353305040586L, 0.00287875124174527378687316644691L, 0.00284552263342647239647278886076L, 0.00281218710172509229219485494633L, 0.00277874589925737261971726441066L, 0.0027452002826102393336092057284L, 0.00271155151229408778884556518875L, 0.00267780085269541791635999026041L, 0.00264394957202932376396563780298L, 0.00260999894229183918966353871013L, 0.00257595023921214150001668890877L, 0.00254180474220461483189922235558L, 0.00250756373432077508154127649758L, 0.00247322850220105819038975878246L, 0.0024388003360264736029031865534L, 0.00240428052947012471700717667646L, 0.00236967037964859815357058218342L, 0.00233497118707322367693834688778L, 0.00230018425560120660429726264153L, 0.0022653108923866345474809695059L, 0.00223035240783136033677243255092L, 0.00219531011553576298237450511838L, 0.00216018533224938853553954723609L, 0.00212497937782147271793582149612L, 0.00208969357515134719475359745776L, 0.00205432925013873137440675322088L, 0.00201888773163391162557695260949L, 0.00198337035138780981091529317852L, 0.00194777844400194304613344798662L, 0.00191211334687827660369979113243L, 0.00187637640016897189217950786079L, 0.00184056894672603145576787571783L, 0.00180469233205084295420366853558L, 0.00176874790424362410157834268939L, 0.00173273701395277056429954409534L, 0.0016966610143241088445575437164L, 0.00166052126095005620729028432962L, 0.00162431911181868974742388305639L, 0.00158805592726272674214793259402L, 0.00155173306990841849289423969563L, 0.00151535190462435993713870754812L, 0.00147891379847021740596401969322L, 0.00144242012064537702598855133335L, 0.00140587224243751642255519891598L, 0.00136927153717110258693447298694L, 0.00133261938015581904014032027595L, 0.00129591714863492578249914634496L, 0.00125916622173355599305612324763L, 0.00122236798040695408089153155959L, 0.00118552380738866055490695373485L, 0.00114863508713865036070797001099L, 0.00111170320579143296496527363804L, 0.00107472955110412474282509922494L, 0.00103771551240450743005444093012L, 0.00100066248053909097060317576798L, 0.000963571847821205679850121237638L, 0.000926445007979158269745478052648L, 0.000889283356104500537201195443938L, 0.000852088288600480940279222723099L, 0.000814861203130781996560179777211L, 0.000777603498568697243801431687533L, 0.000740316574946981896286689421933L, 0.000703001833408741143389999000887L, 0.000665660676159934340938228006916L, 0.000628294506424435839087968259946L, 0.000590904728403223016240015796968L, 0.000553492747240389464784676329256L, 0.000516059969000767437099338342465L, 0.000478607800667950906691973343589L, 0.000441137650179540563649266431146L, 0.00040365092653331987974471362095L, 0.000366149040035626853014130994255L, 0.00032863340285233341625222966528L, 0.000291105430251488512531936852608L, 0.000253566543570586513586581466842L, 0.000216018177976990858338809692334L, 0.000178461805545953294607710872144L, 0.000140899017388198493012433072726L, 0.000103331903496913236296818011712L, 0.0000657657316592401958310144229351L, 0.0000282526373739346920387450107845L }; static const long double x1024[512] = { 0.00153323135606263840653874557698L, 0.00459967965091326047432481664699L, 0.00766608469407548676278393783334L, 0.0107324176515422803327457687263L, 0.0137986496899844401539047991594L, 0.016864751977021726544996216254L, 0.0199306956814939776907023963273L, 0.0229964519737322146859283275868L, 0.0260619920258297325581921489285L, 0.0291272870119131747190088406895L, 0.0321923081084135882953009236236L, 0.0352570264943374577920498112228L, 0.038321413351537714537605216094L, 0.0413854398649847193632977315078L, 0.0444490772230372159692513923272L, 0.0475122966177132524285686629264L, 0.0505750692449610682823599008303L, 0.0536373663049299446784129008397L, 0.056699159002241015006645632289L, 0.059760418546258033484856738574L, 0.0628211161513580991486837696691L, 0.0658812230372023327000984613205L, 0.0689407104290065036692116550137L, 0.0719995495578116053446276664898L, 0.0750577116607543749280790531468L, 0.0781151679813377563695877974777L, 0.0811718897697013033399379099354L, 0.0842278482828915197978073551969L, 0.0872830147851321356094940154384L, 0.0903373605480943146797811174135L, 0.0933908568511667930531221610949L, 0.0964434749817259444449838904443L, 0.0994951862354057706638682353085L, 0.102545961916367814385240421096L, 0.105595773337570991739320583119L, 0.108644591821041342175450228439L, 0.111692388698141693066522752604L, 0.11473913530984123651776893456L, 0.117784803006985015845013892659L, 0.120829363150563319188371380315L, 0.123872787111980977728214523563L, 0.126915046273326565971159146231L, 0.129956112027641501574716683282L, 0.132995955779189042180218340471L, 0.136034548943723176724580609829L, 0.139071862948757408702474486625L, 0.14210786923383342885147674497L, 0.145142539250789674733821406571L, 0.148175844464029774689433070573L, 0.151207756350790873636011051911L, 0.154238246401411838193044290894L, 0.157267286119601338607771737488L, 0.16029484702270580496226136917L, 0.163320900641977255141963160505L, 0.166345418522840992047297174563L, 0.169368372225163167531067479652L, 0.172389733323518210545745797995L, 0.175409473407456116985945654175L, 0.178427564081769598712708298375L, 0.181443976966761089247545820443L, 0.18445868369850960362553463317L, 0.187471655929137449898123874158L, 0.190482865327076789777718242461L, 0.193492283577336045917513335602L, 0.196499882381766153321503671347L, 0.199505633459326652381049253121L, 0.202509508546351621035875754421L, 0.205511479396815443558896142075L, 0.20851151778259841346577781637L, 0.211509595493752168051739103591L, 0.214505684338764952059642178639L, 0.217499756144826707985056207308L, 0.22049178275809399052559466428L, 0.223481736043954702683484388778L, 0.226469587887292651032000969368L, 0.229455310192751917658105486997L, 0.232438874885001046295341474962L, 0.235420253908997040162798159833L, 0.238399419230249169027716612123L, 0.241376342835082583011109342954L, 0.244350996730901730657581116223L, 0.247323352946453578792379287881L, 0.250293383532090631690565817383L, 0.253261060560033747085090203844L, 0.256226356124634746542452962996L, 0.259189242342638817736582862904L, 0.262149691353446706153507958224L, 0.265107675319376693761380486288L, 0.268063166425926362182418894794L, 0.271016136882034137905356641586L, 0.273966558920340617079036922766L, 0.2769144047974496674298651271L, 0.27985964679418930484792656264L, 0.282802257215872342188695836193L, 0.285742208392556807839406167676L, 0.288679472679306131601311869376L, 0.291614022456449095441265194376L, 0.294545830129839546668239738311L, 0.297474868131115871092666543352L, 0.300401108917960223728705981971L, 0.303324524974357514601858369288L, 0.306245088810854147226619045272L, 0.309162772964816507321209360082L, 0.312077550000689199328763565554L, 0.314989392510253028316723041094L, 0.317898273112882724828583540868L, 0.320804164455804410264558218534L, 0.323707039214352800370159043187L, 0.326606870092228144414161842755L, 0.329503629821752897639905575554L, 0.332397291164128124576384513816L, 0.335287826909689630798122801086L, 0.33817520987816382072537429468L, 0.341059412918923279058766700866L, 0.343940408911242073445107729925L, 0.346818170764550775973692316185L, 0.349692671418691201105093840064L, 0.352563883844170857637088729996L, 0.355431781042417112315052787022L, 0.358296336046031062696879038309L, 0.361157521919041116885200862573L, 0.364015311757156277742460514525L, 0.366869678688019129207141981166L, 0.369720595871458522332288303852L, 0.372568036499741958670247070256L, 0.375411973797827668630433693047L, 0.378252381023616382439770320572L, 0.381089231468202791338348742128L, 0.383922498456126696645778429229L, 0.386752155345623844336615867421L, 0.389578175528876442766228552896L, 0.392400532432263361191426426708L, 0.395219199516610006733195068716L, 0.398034150277437877431888645323L, 0.400845358245213789048286371127L, 0.40365279698559877326698407616L, 0.406456440099696644961682338646L, 0.409256261224302236185044519005L, 0.412052234032149294548931885009L, 0.414844332232158043663978821063L, 0.417632529569682403310648836789L, 0.42041679982675686701711170167L, 0.423197116822343034722503503309L, 0.425973454412575798207374726569L, 0.428745786491009176976396549049L, 0.431514086988861802281682414247L, 0.434278329875262046978390546529L, 0.437038489157492798907603380461L, 0.439794538881235875504831859951L, 0.4425464531308160773358661884L, 0.445294206029444878265089847987L, 0.448037771739463749964790522359L, 0.45077712446258711847743992028L, 0.453512238440144950546374375839L, 0.456243087953324967433789461077L, 0.458969647323414483948464656733L, 0.461691890912041870409158353134L, 0.464409793121417635273159063073L, 0.467123328394575126163045688406L, 0.469832471215610847028297958508L, 0.472537196109924389182007718031L, 0.475237477644457973956572549455L, 0.477933290427935604725905238807L, 0.480624609111101826045365796146L, 0.483311408386960087664317091451L, 0.485993662991010711169920626783L, 0.48867134770148845702452550189L, 0.491344437339599689762761207832L, 0.494012906769759139118223466313L, 0.49667673089982625485344188561L, 0.499335884681341153070638691751L, 0.501990343109760151784629179767L, 0.504640081224690893543076778498L, 0.507285074110127052883198697102L, 0.509925296894682626417921985701L, 0.512560724751825803348414459709L, 0.515191332900112414203860270486L, 0.517817096603418955613315916851L, 0.520437991171175188918469145551L, 0.523053991958596310440130446281L, 0.525665074366914691215314670883L, 0.528271213843611184025818658787L, 0.530872385882645995543269593735L, 0.53346856602468912141970811194L, 0.536059729857350342156879890715L, 0.53864585301540877759153953058L, 0.541226911181041997838220964077L, 0.543802880084054688535099342005L, 0.546373735502106868242760323247L, 0.548939453260941655849903888468L, 0.551500009234612585844241171061L, 0.554055379345710469311094311009L, 0.556605539565589798526480948939L, 0.559150465914594693015756648232L, 0.56169013446228438495320022246L, 0.56422452132765824178225861292L, 0.566753602679380323940519566038L, 0.569277354736003475577851861933L, 0.571795753766192946160544202346L, 0.57430877608894954085868503723L, 0.576816398073832297618456552972L, 0.57931859614118068882546671997L, 0.581815346762336345469713661075L, 0.584306626459864301727266613374L, 0.586792411807773757878257371609L, 0.589272679431738359485305279784L, 0.591747406009315990761047535749L, 0.594216568270168080058014748787L, 0.596680142996278415418679299726L, 0.599138107022171468128111053567L, 0.601590437235130222216301322775L, 0.604037110575413507861861631802L, 0.606478104036472836653468746282L, 0.608913394665168736670111559884L, 0.611342959561986585345898733987L, 0.613766775881251938089908415868L, 0.616184820831345350636302875596L, 0.618597071674916693104691455764L, 0.621003505729098953755504776673L, 0.623404100365721530429941637861L, 0.625798833011523007668867459587L, 0.628187681148363417509879369988L, 0.630570622313435981966608119406L, 0.632947634099478335199200847412L, 0.635318694154983223389821294295L, 0.637683780184408680341915291391L, 0.640042869948387676826919237336L, 0.642395941263937241707037723797L, 0.644742972004667052867683467966L, 0.647083940100987495998158193314L, 0.649418823540317189264157028043L, 0.651747600367289971920701315149L, 0.654070248683961354919145401889L, 0.65638674665001443156696195231L, 0.658697072482965246304087556759L, 0.661001204458367619664705849235L, 0.66329912091001742749845893912L, 0.66559080023015633253020967021L, 0.667876220869674966342626988743L, 0.670155361338315559871034484905L, 0.672428200204874020505147920487L, 0.674694716097401453897531220184L, 0.676954887703405128583821936609L, 0.67920869377004888152501655021L, 0.681456113104352962687363085834L, 0.683697124573393316780683368103L, 0.685931707104500300281239748522L, 0.688159839685456831870571268557L, 0.690381501364695974427051924862L, 0.692596671251497946712268925309L, 0.694805328516186562899681517215L, 0.697007452390325098098401081746L, 0.699203022166911578030330670351L, 0.7013920172005734910243169594L, 0.703574416907761920496399667194L, 0.705750200766945096090692761952L, 0.707919348318801361660898239158L, 0.710081839166411558277936810263L, 0.712237652975450820454680470717L, 0.714386769474379783784289551824L, 0.716529168454635202194191456239L, 0.718664829770819973023289778847L, 0.720793733340892568135560871225L, 0.722915859146355869288780066451L, 0.72503118723244540598272168923L, 0.727139697708316994016795581399L, 0.729241370747233772992718122153L, 0.731336186586752641003467562663L, 0.733424125528910084755441873161L, 0.735505167940407403376422163581L, 0.737579294252795324167646033152L, 0.739646484962658008564012876294L, 0.741706720631796446572177167944L, 0.743759981887411237962036017252L, 0.745806249422284758492883760263L, 0.747845503994962709461289005566L, 0.749877726429935048863548297614L, 0.751902897617816302471385365882L, 0.753920998515525253125395729693L, 0.755932010146464006556583173447L, 0.757935913600696432052197240314L, 0.759932690035125976287959358928L, 0.761922320673672848654659462107L, 0.763904786807450576413014923635L, 0.765880069794941928016609273135L, 0.767848151062174202948669394362L, 0.769809012102893886424396712886L, 0.771762634478740667316540179331L, 0.773708999819420817667886597646L, 0.77564808982287993216034697834L, 0.777579886255475025916336057485L, 0.779504370952145989014175857258L, 0.781421525816586396105303115917L, 0.783331332821413669527124527701L, 0.785233774008338594311442949091L, 0.787128831488334183494471990087L, 0.789016487441803892140565660309L, 0.790896724118749178497913922469L, 0.792769523838936410710594062432L, 0.794634868992063117517521658053L, 0.796492742037923581375013560393L, 0.798343125506573772445858632747L, 0.800186001998495621903989967148L, 0.802021354184760633010064856296L, 0.803849164807192828419485882864L, 0.805669416678531032190638039354L, 0.807482092682590484967372751371L, 0.809287175774423790816039986714L, 0.811084648980481194203654232953L, 0.812874495398770185610078958279L, 0.814656698199014434273427175089L, 0.816431240622812046574202843738L, 0.818198105983793148570049025691L, 0.819957277667776791199323861386L, 0.821708739132927176678094548764L, 0.823452473909909204621522473773L, 0.825188465602043336427009434339L, 0.826916697885459776462885444157L, 0.828637154509251968612842841994L, 0.830349819295629406732759305765L, 0.832054676140069757583003817846L, 0.833751709011470294805784588513L, 0.8354409019522986425235763572L, 0.837122239078742827141156295759L, 0.838795704580860635940282873005L, 0.840461282722728281062570444687L, 0.842118957842588367482643946207L, 0.843768714352997163580202825886L, 0.845410536740971172926181202755L, 0.847044409568133005904762103296L, 0.848670317470856549799587464662L, 0.850288245160411435979102325836L, 0.851898177423106802822581201201L, 0.853500099120434353035006981044L, 0.855093995189210704005607768594L, 0.856679850641719029871504781062L, 0.858257650565849993954584750614L, 0.859827380125241970246383097833L, 0.861389024559420552622449452477L, 0.862942569183937350474364801837L, 0.864487999390508069454289592756L, 0.866025300647149876033644436962L, 0.867554458498318044584259607635L, 0.869075458565041885697076205285L, 0.870588286545059954460240650024L, 0.872092928212954537425204961901L, 0.873589369420285416996228058144L, 0.87507759609572291198546796241L, 0.876557594245180193082661323304L, 0.878029349951944871995204913915L, 0.87949284937680986302128376754L, 0.880948078758203515825532233487L, 0.882395024412319018193567447222L, 0.883833672733243067548599437604L, 0.885264010193083810020198276597L, 0.886686023342098045862186250051L, 0.888099698808817700023521928038L, 0.889505023300175556682953175894L, 0.8909019836016302565651375088L, 0.892290566577290555862860689425L, 0.893670759170038845596928036043L, 0.89504254840165393025225748363L, 0.896405921372933064535668958915L, 0.897760865263813247107841028292L, 0.899107367333491770148892991035L, 0.90044541492054602362404855562L, 0.901774995443052553122845890342L, 0.903096096398705370152378117206L, 0.904408705364933513772078156591L, 0.905712809999017862464602165997L, 0.907008398038207195144416585914L, 0.908295457299833500212754946211L, 0.909573975681426531574682034451L, 0.910843941160827610541084720268L, 0.912105341796302672545500604771L, 0.91335816572665455761279765846L, 0.91460240117133454352383006324L, 0.91583803643055312062731752204L, 0.917065059885390007257327281769L, 0.918283459997903404721879971004L, 0.919493225311238490835352022196L, 0.920694344449735150974508869339L, 0.92188680611903494564517422653L, 0.923070599106187313553721501768L, 0.924245712279755009184763725632L, 0.925412134589918773893618218898L, 0.926569855068581239529331530223L, 0.927718862829470063611268889406L, 0.928859147068240295089500489157L, 0.92999069706257596972645427574L, 0.931113502172290934144551544641L, 0.932227551839428897591797451495L, 0.933332835588362710484563512569L, 0.934429343025892868794073236599L, 0.935517063841345243350385156623L, 0.936595987806668033144959674599L, 0.937666104776527941720197254028L, 0.938727404688405575741645560196L, 0.939779877562690064855892121332L, 0.940823513502772901944486937749L, 0.941858302695141002891576175135L, 0.942884235409468984990273622368L, 0.943901301998710663120150958737L, 0.944909492899189762835591051208L, 0.945908798630689849512120487223L, 0.946899209796543472705218347434L, 0.947880717083720524883487849611L, 0.948853311262915813705475972417L, 0.949816983188635847016833529894L, 0.950771723799284829751924459788L, 0.951717524117249871931418370786L, 0.952654375248985406954834739961L, 0.95358226838509681939445065427L, 0.954501194800423281504436760641L, 0.955411145854119797666548262097L, 0.956312112989738456001169531871L, 0.957204087735308886379992401969L, 0.958087061703417924084099638089L, 0.958961026591288478358726797801L, 0.959825974180857605123487884454L, 0.960681896338853783104373305469L, 0.961528785016873392661363026024L, 0.962366632251456396593043947469L, 0.963195430164161222207178976867L, 0.964015170961638843953746617349L, 0.964825846935706065924554922547L, 0.965627450463418003531133158417L, 0.966419974007139763680219467286L, 0.967203410114617322773794346333L, 0.967977751419047601868259122905L, 0.968742990639147738335027319724L, 0.969499120579223553372486574395L, 0.970246134129237214727001601321L, 0.970984024264874093988366867628L, 0.971712784047608817832883875091L, 0.972432406624770512595035306295L, 0.97314288522960724155656042166L, 0.973844213181349634349607196048L, 0.974536383885273707878551672556L, 0.975219390832762878173039627221L, 0.975893227601369162592826600469L, 0.976557887854873571813077537429L, 0.977213365343345691026945944534L, 0.97785965390320244981049550819L, 0.97849674745726608010336738216L, 0.979124640014821261767049022486L, 0.979743325671671455191183525912L, 0.980352798610194420427093275754L, 0.980953053099396922336603748751L, 0.981544083494968621253372931511L, 0.982125884239335148663295235096L, 0.982698449861710367420199619867L, 0.98326177497814781602305221545L, 0.98381585429159133649126720358L, 0.984360682591924885385602530391L, 0.984896254756021527533561838734L, 0.985422565747791612030353706464L, 0.985939610618230130099411647369L, 0.986447384505463254410422227794L, 0.986945882634794059467951687627L, 0.987435100318747422700359830509L, 0.987915032957114105897061011034L, 0.988385676036994016662730412304L, 0.988847025132838649580252157829L, 0.989299075906492706800681839239L, 0.989741824107234897809027588514L, 0.9901752655718179181502247727L, 0.99059939622450760694154016988L, 0.991014212077121283047389078054L, 0.99141970922906525985223323736L, 0.991815883867371538639494357995L, 0.992202732266733680672700811881L, 0.992580250789541858183865268118L, 0.992948435885917084609254264109L, 0.993307284093744624582035520509L, 0.993656792038706584405124636578L, 0.993996956434313683999766196458L, 0.994327774081936211674691361358L, 0.99464924187083416351255251106L, 0.994961356778186569759656634089L, 0.995264115869120011380091158613L, 0.995557516296736330963558775679L, 0.995841555302139543552595480213L, 0.99611623021446195481456489893L, 0.996381538450889496521512408737L, 0.996637477516686292799935604851L, 0.996884045005218475490308214732L, 0.997121238597977273836209298699L, 0.997349056064601413549163542189L, 0.997567495262898874518884503742L, 0.997776554138868077326501824802L, 0.997976230726718599874542034869L, 0.998166523148891572710918617663L, 0.998347429616079974651441835L, 0.998518948427249165428157542135L, 0.998681077969658177617157888442L, 0.998833816718882596438944273486L, 0.998977163238840375664980282799L, 0.999111116181822846226035527793L, 0.999235674288534816516385763215L, 0.999350836388150748665397051017L, 0.999456601398400049274905720456L, 0.999552968325707006496967740155L, 0.999639936265438246457648200123L, 0.9997175044023747284307006542L, 0.999785672011688962834174395161L, 0.999844438461171191608436692256L, 0.999893803216941987873147403472L, 0.999933765860617771122110323845L, 0.999964326153889455094333024951L, 0.999985484385028444767591359765L, 0.999997245054558440351618206183L }; static const long double w1024[512] = { 0.00306646030924390821155127849205L, 0.00306643147471719348497263095456L, 0.00306637380593490073244696654699L, 0.00306628730343930080568606100609L, 0.00306617196804379360840283787368L, 0.00306602780083290044775280720472L, 0.00306585480316225383636786114147L, 0.00306565297665858474507831982743L, 0.00306542232321970730644309281181L, 0.0030651628450145009692317916461L, 0.00306487454448289010402659857231L, 0.00306455742433582106013566382242L, 0.00306421148755523667403376986545L, 0.00306383673739404822956996472692L, 0.00306343317737610487020582803934L, 0.00306300081129616046357199253773L, 0.00306253964321983791865450006429L, 0.00306204967748359095594652456688L, 0.00306153091869466333092494484161L, 0.00306098337173104551123519665479L, 0.00306040704174142880799177715943L, 0.00305980193414515696162571397037L, 0.00305916805463217518273424665565L, 0.00305850540916297664841189951432L, 0.00305781400396854645456605111766L, 0.00305709384555030302474402796679L, 0.00305634494068003697602266653983L, 0.00305556729639984744253519974165L, 0.00305476092002207585723423010301L, 0.00305392581912923719251345278006L, 0.00305306200157394866033468625395L, 0.00305216947547885587253065739915L, 0.00305124824923655646197787005446L, 0.00305029833150952116535776216585L, 0.00304931973123001236824822575339L, 0.00304831245760000011331142615855L, 0.00304727652009107557236771203101L, 0.00304621192844436198316925508945L, 0.00304511869267042305171089861612L, 0.00304399682304916882093952569463L, 0.00304284633012975900674708215179L, 0.00304166722473050380215620479159L, 0.0030404595179387621506312125907L, 0.00303922322111083748947101683452L, 0.0030379583458718709642642954879L, 0.00303666490411573211541105719179L, 0.0030353429080049070377384909317L, 0.00303399236997038401426275841321L, 0.00303261330271153662517213728019L, 0.00303120571919600433313066429962L, 0.00302976963265957054602515828939L, 0.00302830505660603815830222265939L, 0.00302681200480710257206553674872L, 0.00302529049130222219912744344909L, 0.00302374053039848644523252768494L, 0.00302216213667048117769455595063L, 0.00302055532496015167771181106196L, 0.00301892011037666307864950834128L, 0.00301725650829625829160161939914L, 0.00301556453436211341956805727952L, 0.00301384420448419066160679177714L, 0.00301209553483908870834406599295L, 0.00301031854186989063024947444484L, 0.00300851324228600926010623907379L, 0.0030066796530630300711305820592L, 0.00300481779144255155221764325886L, 0.0030029276749320230818149250989L, 0.0030010093213045803019477686338L, 0.00299906274859887799394487105721L, 0.00299708797511892045743534694784L, 0.00299508501943388939421231276154L, 0.00299305390037796929858143630961L, 0.0029909946370501703558363399736L, 0.00298890724881414885052617797824L, 0.00298679175529802508620412395611L, 0.00298464817639419881836890507024L, 0.00298247653225916220233490289351L, 0.00298027684331331025778970885769L, 0.00297804913024074885182137315878L, 0.00297579341398910020222092032132L, 0.00297350971576930590288902196163L, 0.00297119805705542747319901742996L, 0.00296885845958444443319175573522L, 0.00296649094535604990650099724392L, 0.00296409553663244375293136087893L, 0.00296167225593812323263403170471L, 0.00295922112605967120384865465576L, 0.00295674217004554185620303252493L, 0.00295423541120584398158541996173L, 0.00295170087311212178462735991745L, 0.00294913857959713323485814449861L, 0.0029465485547546259626150983332L, 0.00294393082293911070081697909984L, 0.00294128540876563227473086659962L, 0.00293861233710953814188596844839L, 0.00293591163310624448431080691562L, 0.00293318332215099985529326741903L, 0.00293042742989864638288598448475L, 0.00292764398226337853240251538533L, 0.00292483300541849943017270495581L, 0.00292199452579617475084857704579L, 0.00291912857008718417057499847742L, 0.00291623516524067038836225002974L, 0.00291331433846388571802050564393L, 0.00291036611722193625303906552647L, 0.00290739052923752360681601090357L, 0.00290438760249068423066674763517L, 0.00290135736521852631206268251694L, 0.00289829984591496425557402966909L, 0.00289521507333045074901347471737L, 0.00289210307647170641730013130181L, 0.0028889638846014470665859075874L, 0.00288579752723810852120905968591L, 0.00288260403415556905606234401605L, 0.0028793834353828694269857914171L, 0.00287613576120393050181671207634L, 0.00287286104215726849475210182139L, 0.00286955930903570780670115685184L, 0.00286623059288609147432811532898L, 0.00286287492500898923050813019616L, 0.00285949233695840317894133795423L, 0.00285608286054147108569272265443L, 0.0028526465278181672904477828857L, 0.0028491833711010012402963918121L, 0.00284569342295471364887959614999L, 0.00284217671619597028375642915261L, 0.002838633283893053384870114982L, 0.00283506315936555071701531708562L, 0.00283146637618404225923033114704L, 0.00282784296816978453406034363859L, 0.00282419296939439257966006975926L, 0.00282051641417951956772624938499L, 0.00281681333709653407027261638206L, 0.00281308377296619497828206503022L, 0.00280932775685832407529281716147L, 0.00280554532409147626899744473633L, 0.00280173651023260748395562474417L, 0.00279790135109674021854349632098L, 0.00279403988274662676928445361956L, 0.0027901521414924101257281420374L, 0.00278623816389128253906632970029L, 0.00278229798674714176769620040841L, 0.00277833164711024500296345837138L, 0.00277433918227686047833944878338L, 0.00277032062978891676530828141468L, 0.00276627602743364975926169671571L, 0.00276220541324324735872113524121L, 0.0027581088254944918412281612992L, 0.00275398630270839993926605040964L, 0.00274983788364986061959697721651L, 0.0027456636073272705694208357316L, 0.00274146351299216739278328699505L, 0.00273723764013886052068216021452L, 0.00273298602850405983834283198838L, 0.00272870871806650203315467412776L, 0.00272440574904657466678209366401L, 0.00272007716190593797498508866229L, 0.00271572299734714439870561025648L, 0.0027113432963132558499973546743L, 0.00270693809998745871639790873469L, 0.002702507449792676607363438171L, 0.00269805138739118084640733996392L, 0.0026935699546841987126054774575L, 0.00268906319381151943515178018074L, 0.0026845311471510979446691188072L, 0.00267997385731865638500145935702L, 0.00267539136716728338923435938161L, 0.00267078371978703112371189227255L, 0.00266615095850451010383907380591L, 0.00266149312688248178547981737329L, 0.00265681026871944893578136086475L, 0.00265210242804924378727698865978L, 0.00264736964914061397913971645364L, 0.00264261197649680628948041450302L, 0.00263782945485514816260461611966L, 0.00263302212918662703516299267977L, 0.00262819004469546746515117385438L, 0.00262333324681870606773525200766L, 0.00261845178122576426189993256145L, 0.00261354569381801883193687739194L, 0.0026086150307283703078113358139L, 0.00260365983832080916846566722717L, 0.00259868016318997987213883085479L, 0.00259367605216074271780135100171L, 0.00258864755228773354182566071326L, 0.0025835947108549212540320824235L, 0.00257851757537516321727102096241L, 0.00257341619358975847472222194762L, 0.00256829061346799882911218692963L, 0.00256314088320671777807103549954L, 0.00255796705122983730987026371453L, 0.00255276916618791256380296745989L, 0.00254754727695767435948817855793L, 0.00254230143264156959940100036402L, 0.00253703168256729954895022807156L, 0.00253173807628735599844509679068L, 0.00252642066357855531131271748452L, 0.00252107949444157036294763685263L, 0.00251571461910046037459479205819L, 0.00251032608800219864668692461687L, 0.00250491395181619819607726961451L, 0.00249947826143383530162804651235L, 0.00249401906796797096263494594771L, 0.00248853642275247027458743295875L, 0.00248303037734171972678427077083L, 0.002477500983510142426343210494L, 0.00247194829325171125316329061307L, 0.00246637235877945995041764582034L, 0.00246077323252499215517413736245L, 0.00245515096713798837376048646617L, 0.00244950561548571090650991838914L, 0.00244383723065250672654260703082L, 0.00243814586593930831725744865339L, 0.00243243157486313247322788792186L, 0.00242669441115657706921466999715L, 0.00242093442876731580202749862404L, 0.00241515168185759090998664186956L, 0.00240934622480370387475454420622L, 0.00240351811219550411032647582009L, 0.00239766739883587564398817717798L, 0.00239179413974022179406733883256L, 0.00238589839013594784932459300155L, 0.00237998020546194175484848445053L, 0.00237403964136805280933763346154L, 0.00236807675371456837867200300468L, 0.00236209159857168863069383547279L, 0.00235608423221899929613743131328L, 0.00235005471114494246066550242249L, 0.00234400309204628539298834708117L, 0.00233792943182758741406056033148L, 0.00233183378760066481236841385227L, 0.00232571621668405381033941240716L, 0.00231957677660247158692385964657L, 0.00231341552508627536141654426812L, 0.00230723252007091954360488810724L, 0.00230102781969641095534808047142L, 0.00229480148230676212870985777435L, 0.0022885535664494426857856741021L, 0.00228228413087482880538304658023L, 0.00227599323453565078173184914064L, 0.00226968093658643868041926933923L, 0.00226334729638296609676203508329L, 0.00225699237348169202184636132082L, 0.00225061622763920082148386075656L, 0.00224421891881164033334940732338L, 0.00223780050715415808758463628606L, 0.00223136105302033565616841032143L, 0.00222490061696162113637317653825L, 0.00221841925972675977364368500644L, 0.00221191704226122272925203479442L, 0.00220539402570663399810045859966L, 0.00219885027140019548206065163803L, 0.00219228584087411022425579436861L, 0.00218570079585500380970871170901L, 0.00217909519826334393779685347948L, 0.0021724691102128581719719717407L, 0.00216582259400994987221951029783L, 0.00215915571215311231574980977154L, 0.0021524685273323410114302681252L, 0.002145761102428544213484581225L, 0.00213903350051295164000212073837L, 0.00213228578484652140181738728547L, 0.00212551801887934514733630509062L, 0.00211873026625005142890290027764L, 0.00211192259078520729631662825684L, 0.00210509505649871812312728620531L, 0.00209824772759122567135106428992L, 0.00209138066844950440026785386712L, 0.00208449394364585602497644226073L, 0.0020775876179375023304006817127L, 0.00207066175626597624645612456817L, 0.00206371642375651119010296754119L, 0.00205675168571742868002744485692L, 0.00204976760763952422971005302874L, 0.00204276425519545152465517884983L, 0.00203574169423910488957283670887L, 0.00202869999080500005131930142515L, 0.00202163921110765320341944829051L, 0.0020145594215409583780095827524L, 0.00200746068867756313105545802547L, 0.00200034307926824254671603972808L, 0.00199320666024127156673938225759L, 0.00198605149870179565079273189494L, 0.00197887766193119977364466641798L, 0.0019716852173864757651327201573L, 0.0019644742326995879988655268011L, 0.00195724477567683743562403970116L, 0.00194999691429822402744186080527L, 0.00194273071671680748836012449719L, 0.0019354462512580664378677414198L, 0.00192814358641925592305310964606L, 0.00192082279086876332550864620403L, 0.0019134839334454626590446808125L, 0.00190612708315806726428438560219L, 0.00189875230918448090622648944189L, 0.00189135968087114728087754311919L, 0.00188394926773239793707046190108L, 0.0018765211394497986196009747816L, 0.00186907536587149403982845487287L, 0.00186161201701155107990239277383L, 0.00185413116304930043679050422084L, 0.00184663287432867671229913474828L, 0.00183911722135755695529123732946L, 0.00183158427480709766232175389319L, 0.00182403410551107024292472808323L, 0.00181646678446519495580091451369L, 0.00180888238282647332216902893795L, 0.00180128097191251902255810406028L, 0.00179366262320088728333267704479L, 0.0017860274083284027592567369847L, 0.00177837539909048591841650355464L, 0.0017707066674404779358361916507L, 0.00176302128548896410213494089638L, 0.00175531932550309575358705333039L, 0.00174760085990591072996158726552L, 0.00173986596127565236653120008953L, 0.00173211470234508702665391754394L, 0.00172434715600082018134523163775L, 0.00171656339528261104227159370739L, 0.00170876349338268575460997309691L, 0.00170094752364504915623169538132L, 0.00169311555956479510968225686887L, 0.00168526767478741541344223417405L, 0.00167740394310810729896776883255L, 0.00166952443847107952002240711269L, 0.00166162923496885704082531424782L, 0.00165371840684158432955406015357L, 0.00164579202847632726375329018653L, 0.00163785017440637365421364953381L, 0.00162989291931053239389832328044L, 0.00162192033801243123850748597381L, 0.00161393250547981322528382447911L, 0.00160592949682383173667510598786L, 0.00159791138729834421548250909557L, 0.0015898782522992045381361197976L, 0.00158183016736355405275161595887L, 0.00157376720816911128863472319114L, 0.00156568945053346034391252201846L, 0.00155759697041333795798312062811L, 0.00154948984390391927548757929247L, 0.00154136814723810230852028161214L, 0.00153323195678579110380619397719L, 0.00152508134905317762158563798191L, 0.0015169164006820223329593208689L, 0.00150873718844893354245842633539L, 0.00150054378926464544261656212414L, 0.00149233628017329490733229166325L, 0.00148411473835169703082284453604L, 0.00147587924110861941898140467993L, 0.00146762986588405523996211586178L, 0.00145936669024849504082862108954L, 0.0014510897919021973371135661348L, 0.00144279924867445798214804719914L, 0.00143449513852287832303146890717L, 0.00142617753953263215012370120184L, 0.00141784652991573144695278231216L, 0.00140950218801029094744270972286L, 0.00140114459227979150737709197055L, 0.00139277382131234229702560109982L, 0.00138438995381994182187126871969L, 0.00137599306863773777838770780093L, 0.00136758324472328575182631765011L, 0.00135916056115580676298444089984L, 0.00135072509713544367093628889017L, 0.00134227693198251643871923551904L, 0.00133381614513677626897879955842L, 0.00132534281615665861658629162871L, 0.00131685702471853508525369457642L, 0.00130835885061596421518087500166L, 0.001299848373758941168780689247L, 0.00129132567417314632153794941954L, 0.00128279083199919276506855412937L, 0.00127424392749187272945536476901L, 0.00126568504101940293194762153637L, 0.00125711425306266885912084425266L, 0.00124853164421446798960425161573L, 0.0012399372951787519644927591601L, 0.00123133128676986771257058121176L, 0.00122271369991179753748336591301L, 0.00121408461563739817400563538499L, 0.0012054441150876388205600857798L, 0.00119679227951083815515502489462L, 0.00118812919026190034191588878869L, 0.00117945492880155003539638414091L, 0.0011707695766955663898643506745L, 0.00116207321561401608076692870517L, 0.00115336592733048534558905169001L, 0.00114464779372131105132866362453L, 0.00113591889676481079582138743469L, 0.00112717931854051205015664445717L, 0.00111842914122838034943644816089L, 0.00110966844710804653913726907474L, 0.00110089731855803308434449427573L, 0.00109211583805497944913808579714L, 0.00108332408817286655341708021177L, 0.00107452215158224031445956897168L, 0.00106571011104943428052375867973L, 0.0010568880494357913638046355028L, 0.00104805604969688468006965195793L, 0.00103921419488173750230572128167L, 0.0010303625681320423357186489753L, 0.00102150125268137912143495788607L, 0.00101263033185443257626487792571L, 0.00100374988906620867589408051301L, 0.000994860007821250288880548103189L, 0.000985960771712851968841788653612L, 0.000977052264422273912226442487046L, 0.000968134569717955089073194790778L, 0.000959207771454725554168812252447L, 0.000950271953573017946026079857926L, 0.000941327200098078181111438097192L, 0.000932373595139175350761228065684L, 0.000923411222888810828234660694533L, 0.000914440167621926593360957543713L, 0.000905460513695112782247588022405L, 0.000896472345545814469526178572056L, 0.000887475747691537690622523985959L, 0.000878470804729054711547224639905L, 0.000869457601333608553713845879972L, 0.000860436222258116781302192726472L, 0.000851406752332374558695366513652L, 0.000842369276462256985530779753142L, 0.000833323879628920716917319790979L, 0.000824270646888004876383449268379L, 0.000815209663368831269134302315512L, 0.000806141014273603903209883822018L, 0.00079706478487660782615142501215L, 0.000787981060523407284798930504079L, 0.000778889926630043215860130422624L, 0.00076979146868223007490961183187L, 0.00076068577223455201149706254534L, 0.000751572922909658398065568209166L, 0.000742453006397458720405052803784L, 0.000733326108454316837392584604057L, 0.000724192314902244617800783181635L, 0.00071505171162809496198842567638L, 0.00070590438458275421632411100948L, 0.000696750419780333988235144330944L, 0.000687589903297362369820411417411L, 0.000678422921271974578018822321182L, 0.000669249559903103019384978639861L, 0.00066006990544966678759232069799L, 0.000650884044229760601862639423446L, 0.000641692062619843194611280035717L, 0.00063249404705392515670175593269L, 0.000623290084022756248824388273799L, 0.000614080260073012187654059553199L, 0.00060486466180648091560591325711L, 0.000595643375879248363199306718551L, 0.00058641648900088371326492887601L, 0.000577184087933624176494281286713L, 0.000567946259491559288142666178553L, 0.000558703090539814736066169581624L, 0.000549454667993735730711800982875L, 0.000540201078818069928202613821768L, 0.000530942410026149918284358570704L, 0.000521678748679075289649374062554L, 0.000512410181884894286054767103006L, 0.000503136796797785067740063050513L, 0.000493858680617236593967708874239L, 0.000484575920587229144112424346381L, 0.000475288603995414496680957795094L, 0.000465996818172295788039090328693L, 0.000456700650490407075568117462675L, 0.000447400188363492633609534139671L, 0.000438095519245686015065277601574L, 0.000428786730630688917135159780695L, 0.000419473910050949896695830080573L, 0.000410157145076842989651439158507L, 0.000400836523315846299732474174892L, 0.000391512132411720636368067943947L, 0.000382184060043688299313105397342L, 0.000372852393925612130882145756577L, 0.000363517221805174986549892258786L, 0.000354178631463059813517511034062L, 0.000344836710712130577606442626655L, 0.000335491547396614345633262351405L, 0.00032614322939128491892479876781L, 0.000316791844600648531785799892986L, 0.000307437480958132287703715269362L, 0.000298080226425276221745471242611L, 0.000288720168990930172762027390776L, 0.000279357396670457056727411088077L, 0.000269991997504944701283411403878L, 0.000260624059560429203282257057514L, 0.000251253670927133913911847362014L, 0.000241880919718729804438369025659L, 0.000232505894071625373900130302021L, 0.00022312868214429782683080576813L, 0.000213749372116682609615402739822L, 0.000204368052189646579035930645127L, 0.000194984810584582789920980334006L, 0.000185599735543185006294015243947L, 0.000176212915327492524919380431583L, 0.000166824438220349528001259636599L, 0.000157434392526513893060945615834L, 0.00014804286657480799764995739366L, 0.000138649948721986175124385551527L, 0.000129255727359515526632582857719L, 0.000119860290925469582735448483973L, 0.000110463727925743756560316056417L, 0.000101066126973027601458832767686L, 0.0000916675768613669107253733725748L, 0.0000822681667164572752810456111658L, 0.000072867986319027466136678790909L, 0.0000634671268598044229932884970801L, 0.0000540656828939400071987917797702L, 0.0000446637581285753393838347674528L, 0.0000352614859871986975066672837936L, 0.0000258591246764618586715766963672L, 0.0000164577275798968681068057987567L, 0.00000707007641018258987129580517564L }; namespace npstat { GaussLegendreQuadrature::GaussLegendreQuadrature(const unsigned npoints) : a_(0), w_(0), npoints_(npoints) { switch (npoints) { case 2U: a_ = x2; w_ = w2; break; case 4U: a_ = x4; w_ = w4; break; case 6U: a_ = x6; w_ = w6; break; case 8U: a_ = x8; w_ = w8; break; case 10U: a_ = x10; w_ = w10; break; case 12U: a_ = x12; w_ = w12; break; case 16U: a_ = x16; w_ = w16; break; case 32U: a_ = x32; w_ = w32; break; case 64U: a_ = x64; w_ = w64; break; case 100U: a_ = x100; w_ = w100; break; case 128U: a_ = x128; w_ = w128; break; case 256U: a_ = x256; w_ = w256; break; case 512U: a_ = x512; w_ = w512; break; case 1024U: a_ = x1024; w_ = w1024; break; default: npoints_ = 0; throw std::invalid_argument( "In npstat::GaussLegendreQuadrature constructor: " "unsupported number of abscissae requested"); } } std::vector GaussLegendreQuadrature::allowedNPonts() { std::vector v(allowed, allowed+sizeof(allowed)/sizeof(allowed[0])); return v; } unsigned GaussLegendreQuadrature::minimalExactRule(const unsigned polyDegree) { for (unsigned i=0; i #include #include "npstat/nm/SimpleFunctors.hh" +#include "npstat/nm/AbsIntervalQuadrature1D.hh" namespace npstat { /** // Fejer quadrature. Internally, operations are performed // in long double precision. */ - class FejerQuadrature + class FejerQuadrature : public AbsIntervalQuadrature1D { public: explicit FejerQuadrature(unsigned npoints); + inline virtual ~FejerQuadrature() {} + /** Return the number of quadrature points */ inline unsigned npoints() const {return npoints_;} /** // The abscissae of the integration rule. // The buffer length should be at least npoints. */ - void getAbscissae(long double* abscissae, unsigned len) const; + void getAllAbscissae(long double* abscissae, unsigned len) const; /** // The weights of the integration rule. // The buffer length should be at least npoints. */ - void getWeights(long double* weights, unsigned len) const; + void getAllWeights(long double* weights, unsigned len) const; /** Perform the quadrature on [a, b] interval */ template long double integrate(const Functor1& fcn, long double a, long double b) const; //@{ /** // Weighted integration points (Chebyshev points in this case) // on the given interval, suitable for constructing orthogonal // polynomials w.r.t. the given weight function (in particular, // by ContOrthoPoly1D class). Naturally, rule with "npoints" // points must be able to calculate polynomial normalization // integrals exactly. */ template std::vector > weightedIntegrationPoints( const Functor& weight, long double a, long double b) const; template std::vector > weightedIntegrationPointsLD( const Functor& weight, long double a, long double b) const; //@} /** // Minimum number of points which integrates a polynomial // with the given degree exactly */ static unsigned minimalExactRule(unsigned polyDegree); private: FejerQuadrature(); std::vector a_; std::vector w_; mutable std::vector > buf_; unsigned npoints_; #ifdef SWIG public: inline std::vector abscissae2() const { return std::vector(a_.begin(), a_.end()); } inline std::vector weights2() const { return std::vector(w_.begin(), w_.end()); } #endif // SWIG }; } #include "npstat/nm/FejerQuadrature.icc" #endif // NPSTAT_FEJERQUADRATURE_HH_ Index: trunk/npstat/nm/SemiInfGaussianQuadrature.cc =================================================================== --- trunk/npstat/nm/SemiInfGaussianQuadrature.cc (revision 725) +++ trunk/npstat/nm/SemiInfGaussianQuadrature.cc (revision 726) @@ -1,209 +1,209 @@ #include #include #include "npstat/nm/SemiInfGaussianQuadrature.hh" static const unsigned allowed[] = {4U, 8U, 16U, 24U, 32U}; static const long double x4[4] = { 0.1891884656679243290128979L, 0.8829284441871048265177099L, 1.898635201026033700523118L, 3.199890790487880003820947L }; static const long double w4[4] = { 0.4600479141368865531562111L, 0.5955353746508146156968605L, 0.1887161938025806930202006L, 0.009014654725218389334610484L }; static const long double x8[8] = { 0.07492311676455893922276557L, 0.3781584044761421077832691L, 0.8715838973404047790594523L, 1.505071568300313929075073L, 2.246981509078310537962837L, 3.088530913861651684254462L, 4.04908276922991142368765L, 5.212801320529213982672174L }; static const long double w8[8] = { 0.189659033149590363152723L, 0.3794769921770111393122674L, 0.3902570380181665052619002L, 0.2226654966518453595846021L, 0.0633767220309546943177233L, 0.007591407548118500187833945L, 0.0002857611530656537853784407L, 1.686586748035605454239761e-6L }; static const long double x16[16] = { 0.02793589170072729925339991L, 0.1453843294578677844847097L, 0.3498731394391579314726867L, 0.6317238610158890058605988L, 0.980154254975464873819141L, 1.385086660726487105694736L, 1.838179686377704491754979L, 2.333246242708812302354253L, 2.866339577125563022190148L, 3.435761834337734010983741L, 4.042199289542951928362704L, 4.689205878459732580115888L, 5.384444355585162035569975L, 6.142787003373753071986793L, 6.995233726578337465407051L, 8.025687329032628646366107L }; static const long double w16[16] = { 0.07145261983854258606277078L, 0.1606667619613437734824571L, 0.2304055011905809966800292L, 0.2595970028857905512858743L, 0.2339655652545129730947059L, 0.164858397140373883445356L, 0.08768081108643750163479226L, 0.03382757775076844777847568L, 0.009064987912142623805170969L, 0.001606115711099596042573022L, 0.0001771814733827445172841926L, 0.00001124369887427931952844601L, 3.662823902026437858170459e-7L, 5.107501774601126771692312e-9L, 2.174604963637269706105677e-11L, 1.226717757951498517118791e-14L }; static const long double x24[24] = { 0.01546572428284263967158309L, 0.08102467456890859053226466L, 0.1971495597774370175831004L, 0.3610060868778612268925103L, 0.5689668040943317804934842L, 0.8170238621296853354221345L, 1.101140512570927519762387L, 1.417517883185255653127699L, 1.762770389346924215078403L, 2.134023433270852872718858L, 2.528955881522317545103751L, 2.945810315977091985315583L, 3.383390800591344448153514L, 3.841064291962996178510113L, 4.318779879592193935827666L, 4.817121166723755257882443L, 5.337413129910965390503086L, 5.881919719503349848587692L, 6.45420236959330413008426L, 7.059790264811718937141413L, 7.707527148649140750285707L, 8.412628265821523231899599L, 9.205170595246298124280356L, 10.16471787591427543551836L }; static const long double w24[24] = { 0.03963177373583971623520682L, 0.09092634417200772682452021L, 0.1378388705514305352209355L, 0.1747888048604865886698802L, 0.1945140755122695262325578L, 0.191050388085933371932191L, 0.1640804718514537606961942L, 0.1213237868670473137964304L, 0.07585085352846821444096815L, 0.03933583490926127777881721L, 0.01659145184837393220345831L, 0.005577558962540112735262391L, 0.001462903752340742782512164L, 0.0002925377088122708645115568L, 0.00004346182159496116522023304L, 4.654928147248950254973396e-6L, 3.465516883188886818939015e-7L, 1.712916429499539738584348e-8L, 5.291582829662127654312429e-10L, 9.396968158076974083736813e-12L, 8.476746787737468334671944e-14L, 3.178625220390072186141808e-16L, 3.40152384541126386684788e-19L, 4.065997163351630907255484e-23L }; static const long double x32[32] = { 0.01012878189691214624350868L, 0.05319424244367037906119417L, 0.1299787175951869406561715L, 0.2393691656090843915139899L, 0.3798543436482732972094256L, 0.5496455979334752304054161L, 0.7467901653542001362974571L, 0.9692758581539488690148097L, 1.215119792756784593423518L, 1.482437552089186111423254L, 1.769492731870456339905001L, 2.074729217030429624151045L, 2.396789740726666517125893L, 2.734524585497434861613664L, 3.086994052653475580640136L, 3.453467859430628176713422L, 3.833424142404338574398058L, 4.226550390562291219746039L, 4.632748495051340594863436L, 5.052146267879433987095272L, 5.485118365418631013862636L, 5.932320765862010050938686L, 6.394745207225159107082344L, 6.873804136784972385013229L, 7.371464544977494715968631L, 7.890464600740635307583666L, 8.434680157505573739773468L, 9.009785727262104274673841L, 9.624559242192175035329744L, 10.29381932756854327573723L, 11.04655434209949069750599L, 11.95902534091863383425986L }; static const long double w32[32] = { 0.02597243110108903860819742L, 0.05998522294742457352814454L, 0.09252557558551830268517582L, 0.12168023193887471387632L, 0.1446335439357877876644259L, 0.1580326574713564676245316L, 0.159011590601382923917026L, 0.1465931521001040721470653L, 0.1227765781762241411489409L, 0.09246888730922383493713899L, 0.06193718064832836683995573L, 0.0364772456420070742443799L, 0.01867171317426992524623413L, 0.00821064244096799641031966L, 0.003065342546002567706332197L, 0.000959945434125516832948747L, 0.0002490149086547299311600449L, 0.00005279972103866911857442108L, 9.01991491001127595483372e-6L, 1.221817490526120766201247e-6L, 1.288842643783733817900534e-7L, 1.036826850826123748376688e-8L, 6.20549587716442676346212e-10L, 2.681447130674892888385382e-11L, 8.058145645779520023829929e-13L, 1.605094827988058779886767e-14L, 1.987693079561206625936811e-16L, 1.399402923082974754596922e-18L, 4.90394420250063462879642e-21L, 6.889367999769572485562911e-24L, 2.581217575596987383656126e-27L, 9.281477150840712552103502e-32L }; namespace npstat { SemiInfGaussianQuadrature::SemiInfGaussianQuadrature(const unsigned npoints) : a_(0), w_(0), npoints_(npoints) { switch (npoints) { case 4U: a_ = x4; w_ = w4; break; case 8U: a_ = x8; w_ = w8; break; case 16U: a_ = x16; w_ = w16; break; case 24U: a_ = x24; w_ = w24; break; case 32U: a_ = x32; w_ = w32; break; default: npoints_ = 0; throw std::invalid_argument( "In npstat::SemiInfGaussianQuadrature constructor: " "unsupported number of abscissae requested"); } } std::vector SemiInfGaussianQuadrature::allowedNPonts() { std::vector v(allowed, allowed+sizeof(allowed)/sizeof(allowed[0])); return v; } unsigned SemiInfGaussianQuadrature::minimalExactRule(const unsigned polyDegree) { for (unsigned i=0; i&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = npstat/nm ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(include_HEADERS) \ $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = LTLIBRARIES = $(noinst_LTLIBRARIES) libnm_la_LIBADD = am_libnm_la_OBJECTS = ArrayShape.lo ArrayRange.lo SpecialFunctions.lo \ ConvolutionEngine1D.lo EquidistantSequence.lo \ GaussHermiteQuadrature.lo GaussLegendreQuadrature.lo \ MathUtils.lo OrthoPoly1D.lo GridAxis.lo rectangleQuadrature.lo \ LinInterpolatedTable1D.lo findPeak2D.lo bilinearSection.lo \ ConvolutionEngineND.lo FourierImage.lo SvdMethod.lo \ binomialCoefficient.lo UniformAxis.lo ArrayNDScanner.lo \ DualAxis.lo DiscreteBernsteinPoly1D.lo definiteIntegrals.lo \ EigenMethod.lo goldenSectionSearch.lo timestamp.lo \ OrthoPolyMethod.lo ContOrthoPoly1D.lo lapack_interface.lo \ AbsClassicalOrthoPoly1D.lo ClassicalOrthoPolys1D.lo \ matrixIndexPairs.lo truncatedInverseSqrt.lo FejerQuadrature.lo \ StorablePolySeries1D.lo SemiInfGaussianQuadrature.lo \ RecurrenceCoeffs.lo HeatEq1DNeumannBoundary.lo \ performSchultzIteration.lo GaussLegendreQuadratureQ.lo \ - GaussLegendreQuadrature2D.lo ScalableClassicalOrthoPoly1D.lo + GaussLegendreQuadrature2D.lo ScalableClassicalOrthoPoly1D.lo \ + RectangleQuadrature1D.lo libnm_la_OBJECTS = $(am_libnm_la_OBJECTS) AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CXXFLAGS) $(CXXFLAGS) AM_V_CXX = $(am__v_CXX_@AM_V@) am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@) am__v_CXX_0 = @echo " CXX " $@; am__v_CXX_1 = CXXLD = $(CXX) CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CXXLD = $(am__v_CXXLD_@AM_V@) am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@) am__v_CXXLD_0 = @echo " CXXLD " $@; am__v_CXXLD_1 = SOURCES = $(libnm_la_SOURCES) DIST_SOURCES = $(libnm_la_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(includedir)" HEADERS = $(include_HEADERS) am__extra_recursive_targets = python-recursive am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DEPS_CFLAGS = @DEPS_CFLAGS@ DEPS_LIBS = @DEPS_LIBS@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ FGREP = @FGREP@ FLIBS = @FLIBS@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ ac_ct_F77 = @ac_ct_F77@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = ${prefix}/include/npstat/nm infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ AM_CPPFLAGS = -I@top_srcdir@/ $(DEPS_CFLAGS) noinst_LTLIBRARIES = libnm.la libnm_la_SOURCES = ArrayShape.cc ArrayRange.cc SpecialFunctions.cc \ ConvolutionEngine1D.cc EquidistantSequence.cc GaussHermiteQuadrature.cc \ GaussLegendreQuadrature.cc MathUtils.cc OrthoPoly1D.cc GridAxis.cc \ rectangleQuadrature.cc LinInterpolatedTable1D.cc findPeak2D.cc \ bilinearSection.cc ConvolutionEngineND.cc FourierImage.cc SvdMethod.cc \ binomialCoefficient.cc UniformAxis.cc ArrayNDScanner.cc DualAxis.cc \ DiscreteBernsteinPoly1D.cc definiteIntegrals.cc EigenMethod.cc \ goldenSectionSearch.cc timestamp.cc OrthoPolyMethod.cc ContOrthoPoly1D.cc \ lapack_interface.cc AbsClassicalOrthoPoly1D.cc ClassicalOrthoPolys1D.cc \ matrixIndexPairs.cc truncatedInverseSqrt.cc FejerQuadrature.cc \ StorablePolySeries1D.cc SemiInfGaussianQuadrature.cc RecurrenceCoeffs.cc \ HeatEq1DNeumannBoundary.cc performSchultzIteration.cc \ GaussLegendreQuadratureQ.cc GaussLegendreQuadrature2D.cc \ - ScalableClassicalOrthoPoly1D.cc + ScalableClassicalOrthoPoly1D.cc RectangleQuadrature1D.cc include_HEADERS = AbsArrayProjector.hh \ AbsClassicalOrthoPoly1D.hh \ AbsClassicalOrthoPoly1D.icc \ absDifference.hh \ + AbsIntervalQuadrature1D.hh \ AbsMultivariateFunctor.hh \ AbsVisitor.hh \ allocators.hh \ areAllElementsUnique.hh \ ArrayND.hh \ ArrayND.icc \ ArrayNDScanner.hh \ ArrayRange.hh \ ArrayShape.hh \ bilinearSection.hh \ binomialCoefficient.hh \ BoxND.hh \ BoxND.icc \ BoxNDScanner.hh \ BoxNDScanner.icc \ CircularMapper1d.hh \ ClassicalOrthoPoly1DFromWeight.hh \ ClassicalOrthoPoly1DFromWeight.icc \ ClassicalOrthoPolys1D.hh \ closeWithinTolerance.hh \ CompareByIndex.hh \ ComplexComparesAbs.hh \ ComplexComparesFalse.hh \ ConstSubscriptMap.hh \ ContOrthoPoly1D.hh \ ContOrthoPoly1D.icc \ ConvolutionEngine1D.hh \ ConvolutionEngine1D.icc \ ConvolutionEngineND.hh \ ConvolutionEngineND.icc \ CoordinateSelector.hh \ definiteIntegrals.hh \ DiscreteBernsteinPoly1D.hh \ discretizedDistance.hh \ discretizedDistance.icc \ DualAxis.hh \ EigenMethod.hh \ EquidistantSequence.hh \ ExpMapper1d.hh \ FejerQuadrature.hh \ FejerQuadrature.icc \ fillArrayCentersPreservingAreas.hh \ findPeak2D.hh \ findRootInLogSpace.hh \ findRootInLogSpace.icc \ findRootNewtonRaphson.hh \ findRootNewtonRaphson.icc \ findRootUsingBisections.hh \ findRootUsingBisections.icc \ float128IO.hh \ FourierImage.hh \ GaussHermiteQuadrature.hh \ GaussHermiteQuadrature.icc \ GaussLegendreQuadrature.hh \ GaussLegendreQuadrature.icc \ GaussLegendreQuadrature2D.hh \ GaussLegendreQuadrature2D.icc \ GaussLegendreQuadratureQ.hh \ GaussLegendreQuadratureQ.icc \ GeneralizedComplex.hh \ goldenSectionSearch.hh \ goldenSectionSearch.icc \ GridAxis.hh \ HeatEq1DNeumannBoundary.hh \ interpolate.hh \ interpolate.icc \ Interval.hh \ Interval.icc \ isMonotonous.hh \ KDTree.hh \ KDTree.icc \ lapack.h \ lapack_double.h \ lapack_interface.hh \ lapack_interface.icc \ lapack_interface_double.icc \ lapack_interface_ldouble.icc \ lapack_interface_float.icc \ LinearMapper1d.hh \ LinInterpolatedTable1D.hh \ LinInterpolatedTable1D.icc \ LinInterpolatedTableND.hh \ LinInterpolatedTableND.icc \ LogMapper1d.hh \ LongerType.hh \ MathUtils.hh \ MathUtils.icc \ Matrix.hh \ matrixIndexPairs.hh \ Matrix.icc \ MinSearchStatus1D.hh \ MultivariateFunctorScanner.hh \ OrthoPoly1D.hh \ OrthoPoly1D.icc \ OrthoPolyMethod.hh \ OrthoPolyND.hh \ OrthoPolyND.icc \ PairCompare.hh \ performSchultzIteration.hh \ PointDimensionality.hh \ PreciseType.hh \ ProperDblFromCmpl.hh \ PtrBufferHandle.hh \ + RectangleQuadrature1D.hh \ + RectangleQuadrature1D.icc \ RecurrenceCoeffs.hh \ RecurrenceCoeffs.icc \ rectangleQuadrature.hh \ rescanArray.hh \ rescanArray.icc \ ScalableClassicalOrthoPoly1D.hh \ ScalableClassicalOrthoPoly1D.icc \ SemiInfGaussianQuadrature.hh \ SemiInfGaussianQuadrature.icc \ SimpleFunctors.hh \ SpecialFunctions.hh \ std_quadmath.hh \ StorablePolySeries1D.hh \ StorablePolySeries1D.icc \ SvdMethod.hh \ timestamp.hh \ Triple.hh \ truncatedInverseSqrt.hh \ UniformAxis.hh EXTRA_DIST = 00README.txt all: all-am .SUFFIXES: .SUFFIXES: .cc .lo .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign npstat/nm/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign npstat/nm/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): clean-noinstLTLIBRARIES: -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) @list='$(noinst_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } libnm.la: $(libnm_la_OBJECTS) $(libnm_la_DEPENDENCIES) $(EXTRA_libnm_la_DEPENDENCIES) $(AM_V_CXXLD)$(CXXLINK) $(libnm_la_OBJECTS) $(libnm_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AbsClassicalOrthoPoly1D.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ArrayNDScanner.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ArrayRange.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ArrayShape.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ClassicalOrthoPolys1D.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ContOrthoPoly1D.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ConvolutionEngine1D.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ConvolutionEngineND.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/DiscreteBernsteinPoly1D.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/DualAxis.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/EigenMethod.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/EquidistantSequence.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FejerQuadrature.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FourierImage.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GaussHermiteQuadrature.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GaussLegendreQuadrature.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GaussLegendreQuadrature2D.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GaussLegendreQuadratureQ.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GridAxis.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/HeatEq1DNeumannBoundary.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/LinInterpolatedTable1D.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/MathUtils.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/OrthoPoly1D.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/OrthoPolyMethod.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/RectangleQuadrature1D.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/RecurrenceCoeffs.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ScalableClassicalOrthoPoly1D.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SemiInfGaussianQuadrature.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SpecialFunctions.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/StorablePolySeries1D.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SvdMethod.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/UniformAxis.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bilinearSection.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/binomialCoefficient.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/definiteIntegrals.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/findPeak2D.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/goldenSectionSearch.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lapack_interface.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/matrixIndexPairs.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/performSchultzIteration.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rectangleQuadrature.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timestamp.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/truncatedInverseSqrt.Plo@am__quote@ .cc.o: @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $< .cc.obj: @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .cc.lo: @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-includeHEADERS: $(include_HEADERS) @$(NORMAL_INSTALL) @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(includedir)'"; \ $(MKDIR_P) "$(DESTDIR)$(includedir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \ $(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \ done uninstall-includeHEADERS: @$(NORMAL_UNINSTALL) @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(includedir)'; $(am__uninstall_files_from_dir) python-local: ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) $(HEADERS) installdirs: for dir in "$(DESTDIR)$(includedir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-includeHEADERS install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: python: python-am python-am: python-local uninstall-am: uninstall-includeHEADERS .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ clean-libtool clean-noinstLTLIBRARIES cscopelist-am ctags \ ctags-am distclean distclean-compile distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am \ install-includeHEADERS install-info install-info-am \ install-man install-pdf install-pdf-am install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am python-am python-local \ tags tags-am uninstall uninstall-am uninstall-includeHEADERS .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: Index: trunk/npstat/nm/GaussHermiteQuadrature.hh =================================================================== --- trunk/npstat/nm/GaussHermiteQuadrature.hh (revision 725) +++ trunk/npstat/nm/GaussHermiteQuadrature.hh (revision 726) @@ -1,98 +1,129 @@ #ifndef NPSTAT_GAUSSHERMITEQUADRATURE_HH_ #define NPSTAT_GAUSSHERMITEQUADRATURE_HH_ /*! // \file GaussHermiteQuadrature.hh // // \brief Gauss-Hermite quadratures in long double precision // // Author: I. Volobouev // // April 2010 */ #include #include +#include #include "npstat/nm/SimpleFunctors.hh" namespace npstat { /** // Gauss-Hermite quadrature. Internally, operations are performed // in long double precision. */ class GaussHermiteQuadrature { public: /** // At the moment, the following numbers of points are supported: // 16, 32, 64, 100, 128, 256. // // If an unsupported number of points is given in the // constructor, std::invalid_argument exception will be thrown. */ explicit GaussHermiteQuadrature(unsigned npoints); /** Return the number of quadrature points */ inline unsigned npoints() const {return npoints_;} /** // The abscissae are returned for positive points only, // so the buffer length should be at least npoints/2. */ void getAbscissae(long double* abscissae, unsigned len) const; + /** Return abscissae for all points */ + void getAllAbscissae(long double* abscissae, unsigned len) const; + /** // The weights are returned for positive points only, // so the buffer length should be at least npoints/2. */ void getWeights(long double* weights, unsigned len) const; + /** Return weights for all points */ + void getAllWeights(long double* weights, unsigned len) const; + /** Perform the quadrature */ template long double integrate(const Functor1& fcn) const; /** Perform the quadrature with Gaussian density weight */ template long double integrateProb(long double mean, long double sigma, const Functor1& fcn) const; /** Check if the rule with the given number of points is supported */ static bool isAllowed(unsigned npoints); /** The complete set of allowed rules, in the increasing order */ static std::vector allowedNPonts(); /** // Minimum number of points, among the supported rules, which // integrates a polynomial with the given degree exactly (with // the appropriate weight). Returns 0 if the degree is out of range. */ static unsigned minimalExactRule(unsigned polyDegree); private: GaussHermiteQuadrature(); const long double* a_; const long double* w_; mutable std::vector > buf_; unsigned npoints_; #ifdef SWIG public: inline std::vector abscissae2() const { return std::vector(a_, a_+npoints_/2U); } inline std::vector weights2() const { return std::vector(w_, w_+npoints_/2U); } + + inline std::vector allabscissae2() const + { + assert(a_); + std::vector abscissae(npoints_); + const unsigned halfpoints = npoints_/2; + for (unsigned i=0; i allweights2() const + { + assert(w_); + std::vector weights(npoints_); + const unsigned halfpoints = npoints_/2; + for (unsigned i=0; i #include #include "npstat/nm/FejerQuadrature.hh" namespace npstat { FejerQuadrature::FejerQuadrature(const unsigned npoints) : npoints_(npoints) { const long double pi = 3.14159265358979323846264338L; if (!npoints) throw std::invalid_argument( "In npstat::FejerQuadrature constructor:" " number of points must be positive"); a_.reserve(npoints); w_.reserve(npoints); const unsigned mmax = npoints/2U; for (unsigned i=npoints; i; --i) { const long double theta = (2*i - 1U)*pi/(2U*npoints); a_.push_back(cosl(theta)); long double sum = 0.0L; for (unsigned m=1; m<=mmax; ++m) sum += cosl(2U*m*theta)/(4U*static_cast(m)*m - 1U); w_.push_back(2*(1.0L - 2.0L*sum)/npoints); } } unsigned FejerQuadrature::minimalExactRule(const unsigned polyDegree) { return polyDegree + 1U; } - void FejerQuadrature::getAbscissae( + void FejerQuadrature::getAllAbscissae( long double* abscissae, const unsigned len) const { if (len < npoints_) throw std::invalid_argument( "In npstat::FejerQuadrature::getAbscissae: " "unsifficient length of the output buffer"); assert(abscissae); for (unsigned i=0; i&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/npstat pkgincludedir = $(includedir)/npstat pkglibdir = $(libdir)/npstat pkglibexecdir = $(libexecdir)/npstat am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = x86_64-pc-linux-gnu host_triplet = x86_64-pc-linux-gnu subdir = npstat/nm ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(include_HEADERS) \ $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = LTLIBRARIES = $(noinst_LTLIBRARIES) libnm_la_LIBADD = am_libnm_la_OBJECTS = ArrayShape.lo ArrayRange.lo SpecialFunctions.lo \ ConvolutionEngine1D.lo EquidistantSequence.lo \ GaussHermiteQuadrature.lo GaussLegendreQuadrature.lo \ MathUtils.lo OrthoPoly1D.lo GridAxis.lo rectangleQuadrature.lo \ LinInterpolatedTable1D.lo findPeak2D.lo bilinearSection.lo \ ConvolutionEngineND.lo FourierImage.lo SvdMethod.lo \ binomialCoefficient.lo UniformAxis.lo ArrayNDScanner.lo \ DualAxis.lo DiscreteBernsteinPoly1D.lo definiteIntegrals.lo \ EigenMethod.lo goldenSectionSearch.lo timestamp.lo \ OrthoPolyMethod.lo ContOrthoPoly1D.lo lapack_interface.lo \ AbsClassicalOrthoPoly1D.lo ClassicalOrthoPolys1D.lo \ matrixIndexPairs.lo truncatedInverseSqrt.lo FejerQuadrature.lo \ StorablePolySeries1D.lo SemiInfGaussianQuadrature.lo \ RecurrenceCoeffs.lo HeatEq1DNeumannBoundary.lo \ performSchultzIteration.lo GaussLegendreQuadratureQ.lo \ - GaussLegendreQuadrature2D.lo ScalableClassicalOrthoPoly1D.lo + GaussLegendreQuadrature2D.lo ScalableClassicalOrthoPoly1D.lo \ + RectangleQuadrature1D.lo libnm_la_OBJECTS = $(am_libnm_la_OBJECTS) AM_V_lt = $(am__v_lt_$(V)) am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) am__v_lt_0 = --silent am__v_lt_1 = AM_V_P = $(am__v_P_$(V)) am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY)) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_$(V)) am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_$(V)) am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I. depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CXXFLAGS) $(CXXFLAGS) AM_V_CXX = $(am__v_CXX_$(V)) am__v_CXX_ = $(am__v_CXX_$(AM_DEFAULT_VERBOSITY)) am__v_CXX_0 = @echo " CXX " $@; am__v_CXX_1 = CXXLD = $(CXX) CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CXXLD = $(am__v_CXXLD_$(V)) am__v_CXXLD_ = $(am__v_CXXLD_$(AM_DEFAULT_VERBOSITY)) am__v_CXXLD_0 = @echo " CXXLD " $@; am__v_CXXLD_1 = SOURCES = $(libnm_la_SOURCES) DIST_SOURCES = $(libnm_la_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(includedir)" HEADERS = $(include_HEADERS) am__extra_recursive_targets = python-recursive am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = ${SHELL} /home/igv/Hepforge/npstat/trunk/missing aclocal-1.15 AMTAR = $${TAR-tar} AM_DEFAULT_VERBOSITY = 1 AR = ar AUTOCONF = ${SHELL} /home/igv/Hepforge/npstat/trunk/missing autoconf AUTOHEADER = ${SHELL} /home/igv/Hepforge/npstat/trunk/missing autoheader AUTOMAKE = ${SHELL} /home/igv/Hepforge/npstat/trunk/missing automake-1.15 AWK = gawk CC = gcc CCDEPMODE = depmode=gcc3 CFLAGS = -g -O2 CPP = gcc -E CPPFLAGS = CXX = g++ CXXCPP = g++ -E CXXDEPMODE = depmode=gcc3 CXXFLAGS = -std=c++11 -O3 -Wall -W -Werror CYGPATH_W = echo DEFS = -DPACKAGE_NAME=\"npstat\" -DPACKAGE_TARNAME=\"npstat\" -DPACKAGE_VERSION=\"5.3.0\" -DPACKAGE_STRING=\"npstat\ 5.3.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"npstat\" -DVERSION=\"5.3.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" DEPDIR = .deps DEPS_CFLAGS = -I/usr/local/include DEPS_LIBS = -L/usr/local/lib -lfftw3 -lgeners -lkstest DLLTOOL = false DSYMUTIL = DUMPBIN = ECHO_C = ECHO_N = -n ECHO_T = EGREP = /bin/grep -E EXEEXT = F77 = g77 FFLAGS = -g -O2 FGREP = /bin/grep -F FLIBS = -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. -lgfortran -lm -lquadmath GREP = /bin/grep INSTALL = /usr/bin/install -c INSTALL_DATA = ${INSTALL} -m 644 INSTALL_PROGRAM = ${INSTALL} INSTALL_SCRIPT = ${INSTALL} INSTALL_STRIP_PROGRAM = $(install_sh) -c -s LD = /usr/bin/ld -m elf_x86_64 LDFLAGS = LIBOBJS = LIBS = LIBTOOL = $(SHELL) $(top_builddir)/libtool LIPO = LN_S = ln -s LTLIBOBJS = LT_SYS_LIBRARY_PATH = MAKEINFO = ${SHELL} /home/igv/Hepforge/npstat/trunk/missing makeinfo MANIFEST_TOOL = : MKDIR_P = /bin/mkdir -p NM = /usr/bin/nm -B NMEDIT = OBJDUMP = objdump OBJEXT = o OTOOL = OTOOL64 = PACKAGE = npstat PACKAGE_BUGREPORT = PACKAGE_NAME = npstat PACKAGE_STRING = npstat 5.3.0 PACKAGE_TARNAME = npstat PACKAGE_URL = PACKAGE_VERSION = 5.3.0 PATH_SEPARATOR = : PKG_CONFIG = /usr/bin/pkg-config PKG_CONFIG_LIBDIR = PKG_CONFIG_PATH = /usr/local/lib/pkgconfig RANLIB = ranlib SED = /bin/sed SET_MAKE = SHELL = /bin/bash STRIP = strip VERSION = 5.3.0 abs_builddir = /home/igv/Hepforge/npstat/trunk/npstat/nm abs_srcdir = /home/igv/Hepforge/npstat/trunk/npstat/nm abs_top_builddir = /home/igv/Hepforge/npstat/trunk abs_top_srcdir = /home/igv/Hepforge/npstat/trunk ac_ct_AR = ar ac_ct_CC = gcc ac_ct_CXX = g++ ac_ct_DUMPBIN = ac_ct_F77 = g77 am__include = include am__leading_dot = . am__quote = am__tar = $${TAR-tar} chof - "$$tardir" am__untar = $${TAR-tar} xf - bindir = ${exec_prefix}/bin build = x86_64-pc-linux-gnu build_alias = build_cpu = x86_64 build_os = linux-gnu build_vendor = pc builddir = . datadir = ${datarootdir} datarootdir = ${prefix}/share docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} dvidir = ${docdir} exec_prefix = ${prefix} host = x86_64-pc-linux-gnu host_alias = host_cpu = x86_64 host_os = linux-gnu host_vendor = pc htmldir = ${docdir} includedir = ${prefix}/include/npstat/nm infodir = ${datarootdir}/info install_sh = ${SHELL} /home/igv/Hepforge/npstat/trunk/install-sh libdir = ${exec_prefix}/lib libexecdir = ${exec_prefix}/libexec localedir = ${datarootdir}/locale localstatedir = ${prefix}/var mandir = ${datarootdir}/man mkdir_p = $(MKDIR_P) oldincludedir = /usr/include pdfdir = ${docdir} prefix = /usr/local program_transform_name = s,x,x, psdir = ${docdir} runstatedir = ${localstatedir}/run sbindir = ${exec_prefix}/sbin sharedstatedir = ${prefix}/com srcdir = . sysconfdir = ${prefix}/etc target_alias = top_build_prefix = ../../ top_builddir = ../.. top_srcdir = ../.. AM_CPPFLAGS = -I../../ $(DEPS_CFLAGS) noinst_LTLIBRARIES = libnm.la libnm_la_SOURCES = ArrayShape.cc ArrayRange.cc SpecialFunctions.cc \ ConvolutionEngine1D.cc EquidistantSequence.cc GaussHermiteQuadrature.cc \ GaussLegendreQuadrature.cc MathUtils.cc OrthoPoly1D.cc GridAxis.cc \ rectangleQuadrature.cc LinInterpolatedTable1D.cc findPeak2D.cc \ bilinearSection.cc ConvolutionEngineND.cc FourierImage.cc SvdMethod.cc \ binomialCoefficient.cc UniformAxis.cc ArrayNDScanner.cc DualAxis.cc \ DiscreteBernsteinPoly1D.cc definiteIntegrals.cc EigenMethod.cc \ goldenSectionSearch.cc timestamp.cc OrthoPolyMethod.cc ContOrthoPoly1D.cc \ lapack_interface.cc AbsClassicalOrthoPoly1D.cc ClassicalOrthoPolys1D.cc \ matrixIndexPairs.cc truncatedInverseSqrt.cc FejerQuadrature.cc \ StorablePolySeries1D.cc SemiInfGaussianQuadrature.cc RecurrenceCoeffs.cc \ HeatEq1DNeumannBoundary.cc performSchultzIteration.cc \ GaussLegendreQuadratureQ.cc GaussLegendreQuadrature2D.cc \ - ScalableClassicalOrthoPoly1D.cc + ScalableClassicalOrthoPoly1D.cc RectangleQuadrature1D.cc include_HEADERS = AbsArrayProjector.hh \ AbsClassicalOrthoPoly1D.hh \ AbsClassicalOrthoPoly1D.icc \ absDifference.hh \ + AbsIntervalQuadrature1D.hh \ AbsMultivariateFunctor.hh \ AbsVisitor.hh \ allocators.hh \ areAllElementsUnique.hh \ ArrayND.hh \ ArrayND.icc \ ArrayNDScanner.hh \ ArrayRange.hh \ ArrayShape.hh \ bilinearSection.hh \ binomialCoefficient.hh \ BoxND.hh \ BoxND.icc \ BoxNDScanner.hh \ BoxNDScanner.icc \ CircularMapper1d.hh \ ClassicalOrthoPoly1DFromWeight.hh \ ClassicalOrthoPoly1DFromWeight.icc \ ClassicalOrthoPolys1D.hh \ closeWithinTolerance.hh \ CompareByIndex.hh \ ComplexComparesAbs.hh \ ComplexComparesFalse.hh \ ConstSubscriptMap.hh \ ContOrthoPoly1D.hh \ ContOrthoPoly1D.icc \ ConvolutionEngine1D.hh \ ConvolutionEngine1D.icc \ ConvolutionEngineND.hh \ ConvolutionEngineND.icc \ CoordinateSelector.hh \ definiteIntegrals.hh \ DiscreteBernsteinPoly1D.hh \ discretizedDistance.hh \ discretizedDistance.icc \ DualAxis.hh \ EigenMethod.hh \ EquidistantSequence.hh \ ExpMapper1d.hh \ FejerQuadrature.hh \ FejerQuadrature.icc \ fillArrayCentersPreservingAreas.hh \ findPeak2D.hh \ findRootInLogSpace.hh \ findRootInLogSpace.icc \ findRootNewtonRaphson.hh \ findRootNewtonRaphson.icc \ findRootUsingBisections.hh \ findRootUsingBisections.icc \ float128IO.hh \ FourierImage.hh \ GaussHermiteQuadrature.hh \ GaussHermiteQuadrature.icc \ GaussLegendreQuadrature.hh \ GaussLegendreQuadrature.icc \ GaussLegendreQuadrature2D.hh \ GaussLegendreQuadrature2D.icc \ GaussLegendreQuadratureQ.hh \ GaussLegendreQuadratureQ.icc \ GeneralizedComplex.hh \ goldenSectionSearch.hh \ goldenSectionSearch.icc \ GridAxis.hh \ HeatEq1DNeumannBoundary.hh \ interpolate.hh \ interpolate.icc \ Interval.hh \ Interval.icc \ isMonotonous.hh \ KDTree.hh \ KDTree.icc \ lapack.h \ lapack_double.h \ lapack_interface.hh \ lapack_interface.icc \ lapack_interface_double.icc \ lapack_interface_ldouble.icc \ lapack_interface_float.icc \ LinearMapper1d.hh \ LinInterpolatedTable1D.hh \ LinInterpolatedTable1D.icc \ LinInterpolatedTableND.hh \ LinInterpolatedTableND.icc \ LogMapper1d.hh \ LongerType.hh \ MathUtils.hh \ MathUtils.icc \ Matrix.hh \ matrixIndexPairs.hh \ Matrix.icc \ MinSearchStatus1D.hh \ MultivariateFunctorScanner.hh \ OrthoPoly1D.hh \ OrthoPoly1D.icc \ OrthoPolyMethod.hh \ OrthoPolyND.hh \ OrthoPolyND.icc \ PairCompare.hh \ performSchultzIteration.hh \ PointDimensionality.hh \ PreciseType.hh \ ProperDblFromCmpl.hh \ PtrBufferHandle.hh \ + RectangleQuadrature1D.hh \ + RectangleQuadrature1D.icc \ RecurrenceCoeffs.hh \ RecurrenceCoeffs.icc \ rectangleQuadrature.hh \ rescanArray.hh \ rescanArray.icc \ ScalableClassicalOrthoPoly1D.hh \ ScalableClassicalOrthoPoly1D.icc \ SemiInfGaussianQuadrature.hh \ SemiInfGaussianQuadrature.icc \ SimpleFunctors.hh \ SpecialFunctions.hh \ std_quadmath.hh \ StorablePolySeries1D.hh \ StorablePolySeries1D.icc \ SvdMethod.hh \ timestamp.hh \ Triple.hh \ truncatedInverseSqrt.hh \ UniformAxis.hh EXTRA_DIST = 00README.txt all: all-am .SUFFIXES: .SUFFIXES: .cc .lo .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign npstat/nm/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign npstat/nm/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): clean-noinstLTLIBRARIES: -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) @list='$(noinst_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } libnm.la: $(libnm_la_OBJECTS) $(libnm_la_DEPENDENCIES) $(EXTRA_libnm_la_DEPENDENCIES) $(AM_V_CXXLD)$(CXXLINK) $(libnm_la_OBJECTS) $(libnm_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c include ./$(DEPDIR)/AbsClassicalOrthoPoly1D.Plo include ./$(DEPDIR)/ArrayNDScanner.Plo include ./$(DEPDIR)/ArrayRange.Plo include ./$(DEPDIR)/ArrayShape.Plo include ./$(DEPDIR)/ClassicalOrthoPolys1D.Plo include ./$(DEPDIR)/ContOrthoPoly1D.Plo include ./$(DEPDIR)/ConvolutionEngine1D.Plo include ./$(DEPDIR)/ConvolutionEngineND.Plo include ./$(DEPDIR)/DiscreteBernsteinPoly1D.Plo include ./$(DEPDIR)/DualAxis.Plo include ./$(DEPDIR)/EigenMethod.Plo include ./$(DEPDIR)/EquidistantSequence.Plo include ./$(DEPDIR)/FejerQuadrature.Plo include ./$(DEPDIR)/FourierImage.Plo include ./$(DEPDIR)/GaussHermiteQuadrature.Plo include ./$(DEPDIR)/GaussLegendreQuadrature.Plo include ./$(DEPDIR)/GaussLegendreQuadrature2D.Plo include ./$(DEPDIR)/GaussLegendreQuadratureQ.Plo include ./$(DEPDIR)/GridAxis.Plo include ./$(DEPDIR)/HeatEq1DNeumannBoundary.Plo include ./$(DEPDIR)/LinInterpolatedTable1D.Plo include ./$(DEPDIR)/MathUtils.Plo include ./$(DEPDIR)/OrthoPoly1D.Plo include ./$(DEPDIR)/OrthoPolyMethod.Plo +include ./$(DEPDIR)/RectangleQuadrature1D.Plo include ./$(DEPDIR)/RecurrenceCoeffs.Plo include ./$(DEPDIR)/ScalableClassicalOrthoPoly1D.Plo include ./$(DEPDIR)/SemiInfGaussianQuadrature.Plo include ./$(DEPDIR)/SpecialFunctions.Plo include ./$(DEPDIR)/StorablePolySeries1D.Plo include ./$(DEPDIR)/SvdMethod.Plo include ./$(DEPDIR)/UniformAxis.Plo include ./$(DEPDIR)/bilinearSection.Plo include ./$(DEPDIR)/binomialCoefficient.Plo include ./$(DEPDIR)/definiteIntegrals.Plo include ./$(DEPDIR)/findPeak2D.Plo include ./$(DEPDIR)/goldenSectionSearch.Plo include ./$(DEPDIR)/lapack_interface.Plo include ./$(DEPDIR)/matrixIndexPairs.Plo include ./$(DEPDIR)/performSchultzIteration.Plo include ./$(DEPDIR)/rectangleQuadrature.Plo include ./$(DEPDIR)/timestamp.Plo include ./$(DEPDIR)/truncatedInverseSqrt.Plo .cc.o: $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po # $(AM_V_CXX)source='$<' object='$@' libtool=no \ # DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ # $(AM_V_CXX_no)$(CXXCOMPILE) -c -o $@ $< .cc.obj: $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po # $(AM_V_CXX)source='$<' object='$@' libtool=no \ # DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ # $(AM_V_CXX_no)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .cc.lo: $(AM_V_CXX)$(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo # $(AM_V_CXX)source='$<' object='$@' libtool=yes \ # DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ # $(AM_V_CXX_no)$(LTCXXCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-includeHEADERS: $(include_HEADERS) @$(NORMAL_INSTALL) @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(includedir)'"; \ $(MKDIR_P) "$(DESTDIR)$(includedir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \ $(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \ done uninstall-includeHEADERS: @$(NORMAL_UNINSTALL) @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(includedir)'; $(am__uninstall_files_from_dir) python-local: ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) $(HEADERS) installdirs: for dir in "$(DESTDIR)$(includedir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-includeHEADERS install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: python: python-am python-am: python-local uninstall-am: uninstall-includeHEADERS .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ clean-libtool clean-noinstLTLIBRARIES cscopelist-am ctags \ ctags-am distclean distclean-compile distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am \ install-includeHEADERS install-info install-info-am \ install-man install-pdf install-pdf-am install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am python-am python-local \ tags tags-am uninstall uninstall-am uninstall-includeHEADERS .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: Index: trunk/npstat/nm/RectangleQuadrature1D.hh =================================================================== --- trunk/npstat/nm/RectangleQuadrature1D.hh (revision 0) +++ trunk/npstat/nm/RectangleQuadrature1D.hh (revision 726) @@ -0,0 +1,46 @@ +#ifndef NPSTAT_RECTANGLEQUADRATURE1D_HH_ +#define NPSTAT_RECTANGLEQUADRATURE1D_HH_ + +/*! +// \file RectangleQuadrature1D.hh +// +// \brief Trivial rectangle quadrature. Works well on certain functions. +// +// Author: I. Volobouev +// +// November 2020 +*/ + +#include +#include + +#include "npstat/nm/SimpleFunctors.hh" +#include "npstat/nm/AbsIntervalQuadrature1D.hh" + +namespace npstat { + class RectangleQuadrature1D : public AbsIntervalQuadrature1D + { + public: + explicit RectangleQuadrature1D(unsigned npoints); + + inline virtual ~RectangleQuadrature1D() {} + + inline unsigned npoints() const {return npoints_;} + void getAllAbscissae(long double* abscissae, unsigned len) const; + void getAllWeights(long double* weights, unsigned len) const; + + /** Perform the quadrature on the [a, b] interval */ + template + long double integrate(const Functor1& fcn, + long double a, long double b) const; + private: + RectangleQuadrature1D(); + + mutable std::vector > buf_; + unsigned npoints_; + }; +} + +#include "npstat/nm/RectangleQuadrature1D.icc" + +#endif // NPSTAT_RECTANGLEQUADRATURE1D_HH_ Index: trunk/NEWS =================================================================== --- trunk/NEWS (revision 725) +++ trunk/NEWS (revision 726) @@ -1,811 +1,813 @@ Version 5.3.0 - development * Added some facilities for quadruple precision calculations. They mostly rely on the __float128 type (gcc extension, libquadmath) and on compiling the LAPACK/BLAS libraries with the "-freal-8-real-16" switch. * Added the "GaussLegendreQuadratureQ" class capable of performing Gauss-Legendre quadratures in quadruple precision. * Added the "GaussLegendreQuadrature2D" class capable of performing tensor-product Gauss-Legendre quadratures in two dimensions. * Added OrthoPoly1DDeg functor. * Added class ScalableClassicalOrthoPoly1D. * Added class ClassicalOrthoPoly1DFromWeight. This also necessitated refactoring of the class DensityOrthoPoly1D. +* Added classes AbsIntervalQuadrature1D and RectangleQuadrature1D. + Version 5.2.0 - July 20 2020, by I. Volobouev * Added a number of .i files. * Added classes "DiscreteGauss1DBuilder" and "DiscreteGaussCopulaSmoother". * Added class "MatrixFilter1DBuilder". * Added facilities for saddlepoint approximations: classes AbsCGF1D and SeriesCGF1D, function saddlepointDistribution1D, as well as class ExpTiltedDistribution1D which can be useful in saddlepoint approximation precision studies. * Added class "DensityOrthoPoly1D" for building orthonormal polynomial systems using (almost) arbitrary 1-d densities as weights. * Added "empiricalMoment" method to the AbsDistribution1D class. * Added class "HeatEq1DNeumannBoundary". * Added methods "sampleAverages" and "sampleProductAverages" to the ContOrthoPoly1D class. * Added method "expectation" to the AbsDistribution1D class. Version 5.1.0 - Nov 17 2019, by I. Volobouev * Started using python-specific features (pythonprepend, etc) in the SWIG .i files. * Added function "scannedKSDistance". * Added Python API for persistence of several classes. Version 5.0.0 - Oct 17 2019, by I. Volobouev * C++11 support is now mandatory. * Added more classes and functions to Python API. Overhauled some of the existing interfaces. Updated everything to python3. * Increased the maximum order of "classical" Edgeworth expansions to 14. * Increased the maximum order of conversions between 1-d central moments and cumulants to 20. * Added "histoQuantiles" function. * Added "correctDensityEstimateGHU" function. * Added "randomHistoFill1D" utility function. * Added ComparisonDistribution1D class. * Added classes GaussND, LinTransformedDistroND, and DistributionMixND. * Added a lot of SWIG .i files Version 4.11.0 - July 22 2019, by I. Volobouev * Added support for cumulant calculations for various Wald statistics in the Poisson process model. * Added functions convertCumulantsToCentralMoments and convertCentralMomentsToCumulants (header file cumulantConversion.hh). * Added function "cumulantUncertainties". Version 4.10.0 - July 11 2019, by I. Volobouev * Added SemiInfGaussianQuadrature class. * Added functions arrayMoment, arrayMoments, and arrayCentralMoments. * Added enum EdgeworthSeriesMethod and class EdgeworthSeries1D. * Added DeltaMixture1D class. * Added enum LikelihoodStatisticType. * Added functions "mixtureModelCumulants" and "poissonProcessCumulants" in the header likelihoodStatisticCumulants.hh. Version 4.9.0 - Dec 18 2018, by I. Volobouev * Added "integratePoly" and "jointIntegral" methods to the AbsClassicalOrthoPoly1D class. * Added utility functions "truncatedInverseSqrt" and "matrixIndexPairs". * Added a number of functions to "orthoPoly1DVProducts.hh". * Added classes ChebyshevOrthoPoly1st and ChebyshevOrthoPoly2nd inheriting from AbsClassicalOrthoPoly1D. * Added class HermiteProbOrthoPoly1D. * Added FejerQuadrature class. * Added classe IsoscelesTriangle1D and Logistic1D. * Added classes AbsKDE1DKernel and KDE1DHOSymbetaKernel. * Added static function "optimalDegreeHart" to OSDE1D class. Version 4.8.0 - Jul 9 2018, by I. Volobouev * Added ShiftedLegendreOrthoPoly1D class. * Added Lanczos method to generate recurrence coefficients for the ContOrthoPoly1D class. * Added npstat/stat/orthoPoly1DVProducts.hh file with various utilities for statistical analyis of chaos polynomials. Version 4.7.0 - Jan 13 2018, by I. Volobouev * Added "UniPareto1D" distribution (uniform with Pareto tail to the right). * More coordinate/weight cases for the GaussLegendreQuadrature class. * Added ContOrthoPoly1D class -- continuous orthogonal polynomials with discrete measure. * Added functions "linearLeastSquares" and "tdSymEigen" to the Matrix class. * Added OSDE1D class. * Added classes LocationScaleFamily1D and SinhAsinhTransform1D. * Added new functors (CdfFunctor1D, etc) as AbsDistribution1D helpers. * Small fix in StatAccumulatorArr.cc. Version 4.6.0 - Jan 23 2017, by I. Volobouev * Updated 1-d LOrPE cross validation code (classes AbsBandwidthCV, BandwidthCVLeastSquares1D, BandwidthCVPseudoLogli1D) for use with weighted samples in the case the sample itself is available at the point cross validation is run. Version 4.5.0 - Aug 01 2016, by I. Volobouev * A small fix in OrthoPolyND.icc (switched from cycling over unsigned to unsigned long in the scalar product function). * Implemented Gauss-Hermite quadrature with Gaussian density weight. * Changed the meaning of Quadratic1D and LogQuadratic1D parameters to be consistent with Legendre polynomial coefficients on [-1, 1] (new parameters are 1/2 of old). * Added class MinuitUnbinnedFitFcn1D (to interfaces). * Added function "findRootNewtonRaphson". * Added "statUncertainties" header with various functions. Version 4.4.0 - May 9 2016, by I. Volobouev * Added "timestamp" function. * Improved implementation of BinnedDensity1D::unscaledQuantile function. Certain problems caused by round-off errors are now fixed. * Added the capability to use the single closest parameter cells (thus disabling actual interpolation between parameter values, for speed) to "GridInterpolatedDistribution". Version 4.3.0 - March 19 2016, by I. Volobouev * Put additional assert statements inside OrthoPolyND.icc to prevent phony "array subscript is above array bounds" messages in g++ 4.9.2. * Improved CmdLine.hh. * Additional methods in CopulaInterpolationND and GridInterpolatedDistribution. * Added function "volumeDensityFromBinnedRadial". * Added convenience method "globalFilter" to the OrthoPoly1D class. * Initiated the transition of the Python API from Python 2 to Python 3. Version 4.2.0 - October 29 2015, by I. Volobouev * Added interpolation methods for the marginals to classes "CopulaInterpolationND" and "GridInterpolatedDistribution". * Removed assert on underflow in the "igamc" function. Now in such cases this function simply returns 0.0. Version 4.1.0 - July 27 2015, by I. Volobouev * Made a few additional methods virtual in AbsNtuple. * Declared methods "columnIndices" of AbsNtuple const (as they should be). * Added function "weightedCopulaHisto" to build copulas for samples of weighted points. * Added function "weightedVariableBandwidthSmooth1D" to use variable bandwidth smoothing with weighted histograms. * Added "AbsWeightedMarginalSmoother" interface class for smoothing samples of weighted points. Modified classes ConstantBandwidthSmoother1D, JohnsonKDESmoother, and LOrPEMarginalSmoother to support this interface. * Added class "VariableBandwidthSmoother1D" which implements both AbsMarginalSmoother and AbsWeightedMarginalSmoother interfaces. * Implemented cross-validation for weighted samples. * Implemented "buildInterpolatedCompositeDistroND" for generic construction of multivariate transfer functions. * Implemented "buildInterpolatedDistro1DNP" for generic construction of univariate transfer functions. Version 4.0.1 - June 17 2015, by I. Volobouev * Added "dump_qmc" example executable. Version 4.0.0 - June 10 2015, by I. Volobouev * Complete overhaul of 1-d filter-building code. Addition of new boundary methods is a lot easier now. The user API for choosing a LOrPE boundary method is encapsulated in the new "BoundaryHandling" class. * Implemented a number of new filter builders with different boundary treatments. * Updated the "LocalPolyFilter1D" class so that it holds the local bandwidth factors derived by the filter builders. Version 3.8.0 - June 1 2015, by I. Volobouev * Implemented class ConstSqFilter1DBuilder (declared in the header file npstat/stat/Filter1DBuilders.hh). The "BoundaryMethod" enum has been extended accordingly. Other files using this enum have been updated. * Implemented class FoldingSqFilter1DBuilder. Similar to ConstSqFilter1DBuilder but it also folds the kernel in addition to stretching it. * Added virtual destructors to a number of classes. * Added "externalMemArrayND" with various signatures to allow the use of ArrayND with memory not managed by ArrayND. * Added move constructors and move assignment operators to ArrayND and Matrix classes. Version 3.7.0 - May 10 2015, by I. Volobouev * Better numerical derivative calculation in InterpolatedDistribution1D.cc. * Added class "LocalMultiFilter1D" for fast generation of filters which correspond to each orthogonal polynomial separately. * Added a function calculating the area of n-dimensional sphere. * Added I/O capabilities to the RadialProfileND class. * Added class "LogRatioTransform1D". * Added utility function "multiFill1DHistoWithCDFWeights" (header file histoUtils.hh). * Avoiding underflow of the incomplete gamma in "convertToSphericalRandom". Version 3.6.0 - April 6 2015, by I. Volobouev * Fixed Marsaglia's code calculating the Anderson-Darling statistics (it was breaking down for large values of z). * Added high-level driver function "simpleVariableBandwidthSmooth1D" to automatically build the pilot estimate for "variableBandwidthSmooth1D". * Swithched to log of sigma as Minuit parameter in "minuitFitJohnsonCurves" instead of sigma (linear sigma would sometimes break the fit when Minuit would come up with 0 or negative trial value for it). * Extended "MinuitDensityFitFcn1D" class so that it could be used to fit non-uniformly binned histograms. * Adapted "minuitFitJohnsonCurves" function so that it could be used with histograms templated upon DualHistoAxis. * Added functions "fillArrayCentersPreservingAreas" and "canFillArrayCentersPreservingAreas". * Implemented an interface to monotonous coordinate transformations with the intent of using them in constructing densities. Implemented a number of transforms. * Implemented class "TransformedDistribution1D". * Added class "VerticallyInterpolatedDistro1D1P". * Added utility function "fill1DHistoWithCDFWeights". Version 3.5.0 - February 21 2015, by I. Volobouev * Added "symPDEigenInv" method to the Matrix class. * Added "variableCount" method to unfolding bandwidth scanner classes. * Increased the tolerance parameters in JohnsonSu::initialize and in JohnsonFit constructor. * Bug fix in function "fillHistoFromText". Version 3.4.4 - January 13 2015, by I. Volobouev * Corrected handling of some "assert" statements so that the code compiles correctly with the -DNDEBUG option. Version 3.4.3 - January 5 2015, by I. Volobouev * Implemented class MirroredGauss1D. * Added method "getOracleData" to class UnfoldingBandwidthScanner1D. * Bug fix in FoldingFilter1DBuilder::makeOrthoPoly. Version 3.4.2 - December 15 2014, by I. Volobouev * Implemented InterpolatedDistro1D1P class. Version 3.4.1 - November 07 2014, by I. Volobouev * Implemented "divideTransforms" function for deconvolutions. * Implemented the Moyal distribution. * Added "fillHistoFromText" utility function. * Added "apply_lorpe_1d" example. Version 3.4.0 - October 01 2014, by I. Volobouev * Implemented Hadamard product and Hadamard ratio for matrices. * Bug fix in the "solve_linear_system" lapack interface function. Version 3.3.1 - August 08 2014, by I. Volobouev * Terminate iterative refinement of the unfolding error propagation matrix early in case the solution does not seem to improve. Version 3.3.0 - August 05 2014, by I. Volobouev * Added correction factors to the determination of the number of fitted parameters in various unfolding procedures. Version 3.2.0 - July 25 2014, by I. Volobouev * Added "gaussianResponseMatrix" function for non-uniform binning. * Added Pareto distribution. * Implemented EMS unfolding with sparse matrices. * Added methods "getObservedShape" and "getUnfoldedShape" to the AbsUnfoldND class. * Bug fix in the assignment operator of ProductDistributionND class. Made class ProductDistributionND persistent. * Bug fix in the error propagation for unfolding, in the code which takes into account the extra normalization constant. * Added "productResponseMatrix" function to assist in making sparse response matrices. * Bug fix in the factory constructor of the Cauchy1D class. * Completed implementation of the "RatioOfNormals" class. Version 3.1.0 - June 29 2014, by I. Volobouev * Improved (again) random number generator for the 1-d Gaussian distribution. Something about expectation values of normalized Hermite polynomials over random numbers made by this generator is still not fully understood. The standard deviation of these expectations decreases with the polynomial order (while it should stay constant). It is possible that the numbers of points used are simply insufficient to sample the tails correctly. * Implemented smoothed expectation-maximization (a.k.a. D'Agostini) unfolding for 1-d distributions in classes SmoothedEMUnfold1D and MultiscaleEMUnfold1D. In certain usage scenarios, MultiscaleEMUnfold1D can be more efficient than SmoothedEMUnfold1D. * Implemented smoothed expectation-maximization unfolding for multivariate distributions in a class SmoothedEMUnfoldND. * Added class "UnfoldingBandwidthScanner1D" to study 1-d unfolding behavior as a function of filter bandwidth. * Added class "UnfoldingBandwidthScannerND" to study multivariate unfolding behavior as a function of provided bandwidth values. * Added DummyLocalPolyFilter1D class useful when a filter is needed which does not smooth anything. * Added function "poissonLogLikelihood" (header file npstat/stat/arrayStats.hh). * Added function "pooledDiscreteTabulated1D" (header file npstat/stat/DiscreteDistributions1D.hh). * Implemented class UGaussConvolution1D (convolution of uniform distribution with a Gaussian). * Implemented gamma distribution (class Gamma1D). * Defined interface for comparing binned distributions, AbsBinnedComparison1D. * Implemented several comparison classes for comparing binned distributions: PearsonsChiSquared, BinnedKSTest1D, BinnedADTest1D. Class BinnedKSTest1D pulled in dependence on the "kstest" package. * Made classes LocalPolyFilter1D, LocalPolyFilterND, and SequentialPolyFilterND persistent. * Added code generating dense filter matrices to LocalPolyFilterND and SequentialPolyFilterND (as needed for unfolding). * Made class MemoizingSymbetaFilterProvider persistent. * Implemented function goldenSectionSearchOnAGrid (header file npstat/nm/goldenSectionSearch.hh). * Implemented function parabolicExtremum (header npstat/nm/MathUtils.hh). * Added class DistributionMix1D (header npstat/stat/DistributionMix1D.hh). * Added interface to solving A*X = B, with matrices X and B, to the Matrix class (method "solveLinearSystems"). * Added "reshape" methods to the ArrayND class. * Added "gaussianResponseMatrix" function. * Added a section on unfolding to the documentation. * Added "ems_unfold_1d" example program. Version 3.0.0 - March 14 2014, by I. Volobouev * Added interface to the LAPACK SVD routines. * Added function "lorpeMise1D" to calculate MISE for arbitrary distributions. * Added FoldingFilter1DBuilder class. * Changed interfaces for several high-level functions to use FoldingFilter1DBuilder. The major version number got bumped up. * Split DensityScan1D.hh away from AbsDistribution1D.hh. Version 2.7.0 - March 10 2014, by I. Volobouev * Added code to optimize operations with diagonal matrices. * Added discretizedDistance.hh file for simple L1 and L2 distance calculations with numeric arrays. * Added base class for future unfolding code. * The "reset" method of the Matrix class was renamed into "uninitialize" in order to be consistent with ArrayND. * Added function "multinomialCovariance1D". * Added "polyTimesWeight" method to the OrthoPoly1D class. * Added methods "TtimesThis" and "timesT" to the Matrix class. These methods are more efficient than transpose followed by multiplication. Version 2.6.0 - January 30 2014, by I. Volobouev * Added function "lorpeBackgroundCVDensity1D" which linearizes calculation of the cross validation likelihood in semiparametric fits. Argument "linearizeCrossValidation" was added to MinuitSemiparametricFitFcn1D constructor, "lorpeBackground1D" function, etc. * Added the ability to build filters with center point removed to classes WeightTableFilter1DBuilder and StretchingFilter1DBuilder. The function "symbetaLOrPEFilter1D" now has an appropriate switch. * Added "removeRowAndColumn" method to the Matrix class. * Added CircularBuffer class. * Added various plugin bandwidth functions which work with non-integer polynomial degrees. * Switched to the Legendre polynomial basis for calculating all 1-d orthogonal polynomials (instead of monomial basis). * Added MemoizingSymbetaFilterProvider class. * Added "operator+=" method to the MultivariateSumAccumulator class. * Simplified implementation of the PolyFilterCollection1D class. File PolyFilterCollection1D.icc is removed. * Added "RatioOfNormals" 1-d distribution function. Only the density is currently implemented but not the CDF. * Added ExpMapper1d class. Version 2.5.0 - October 15 2013, by I. Volobouev * Added "getFilterMatrix" method to the LocalPolyFilter1D class. * Added "genEigen" method to the Matrix class (for determination of eigenvalues and eigenvectors of general real matrices). * Refactored the LAPACK interface so that interface functions to floats are automatically generated from interface functions to doubles. See the comment at the end of the "lapack_interface.icc" file for the shell commands to do this. Version 2.4.0 - October 6 2013, by I. Volobouev * Added functions "lorpeBackground1D", "lorpeBgCVPseudoLogli1D", and "lorpeBgLogli1D". * Added minuit interface classes "MinuitLOrPEBgCVFcn1D" and "MinuitSemiparametricFitFcn1D". * Added "ScalableDensityConstructor1D" class for use with Minuit interface functions. * Added classes AbsSymbetaFilterProvider and SymbetaPolyCollection1D. Version 2.3.0 - October 1 2013, by I. Volobouev * Allowed point dimensionality to be larger than the histogram dimensionality in the "empiricalCopulaHisto" function. * Added "keepAllFilters" method to AbsFilter1DBuilder and all derived classes. * Implemented exclusion regions for WeightTableFilter1DBuilder and StretchingFilter1DBuilder. * "symbetaLOrPEFilter1D" function (in the header LocalPolyFilter1D.hh) is updated to take the exclusion mask argument. * Added "continuousDegreeTaper" function which can do something meaningful with the continuous LOrPE degree parameter. Version 2.2.0 - June 30 2013, by I. Volobouev * Added classes DiscreteBernsteinPoly1D and BernsteinFilter1DBuilder. * Added classes DiscreteBeta1D and BetaFilter1DBuilder. * Added BifurcatedGauss1D class to model Gaussian-like distributions with different sigmas on the left and right sides. * Added virtual destructors to the classes declared in the Filter1DBuilders.hh header. * Added a method to the Matrix template to calculate Frobenius norm. * Added methods to the Matrix template to calculate row and column sums. * Added "directSum" method to the Matrix template. * Added constructor from a subrange of another matrix to the Matrix template. * Added code to the LocalPolyFilter1D class that generates a doubly stochastic filter out of an arbitrary filter. * Added "npstat/nm/definiteIntegrals.hh" header and corresponding .cc file for various infrequently used integrals. * Added "betaKernelsBandwidth" function. Version 2.1.0 - June 20 2013, by I. Volobouev * Fixed couple problems which showed up in the robust regression code due to compiler update. * Fixed CensoredQuantileRegressionOnKDTree::process method (needed this-> dereference for some member). Version 2.0.0 - June 15 2013, by I. Volobouev * Updated to use "Geners" version 1.3.0. A few interfaces were changed (API for the string archives was removed because Geners own string archive facilities are now adequate) so the major version number was bumped up. Version 1.6.0 - June 12 2013, by I. Volobouev * Updated some documentation. * Updated fitCompositeJohnson.icc to use simplified histogram constructors. * Bug fix in the "minuitLocalQuantileRegression1D" function. * Changed the "quantileBinFromCdf" function to use unsigned long type for array indices. * Added "weightedLocalQuantileRegression1D" function (namespace npsi) for local regression with single predictor on weighted points. Version 1.5.0 - May 23 2013, by I. Volobouev * Added interfaces to LAPACK routines DSYEVD, DSYEVR, and corresponding single precision versions. * Added the "symPSDefEffectiveRank" method to the Matrix class for calculating effective ranks of symmetric positive semidefinite matrices. * Added converting constructor and assignment operator to the Matrix class. * Run the Gram-Schmidt procedure twice when orthogonal polynomials are derived in order to improve orthogonality. Version 1.4.0 - May 20 2013, by I. Volobouev * Added the "append" method to the AbsNtuple class. Version 1.3.0 - May 10 2013, by I. Volobouev * Added the code for Hermite polynomial series. * Improved random number generator for the 1-d Gaussian distribution. * Added a framework for discrete 1-d distributions as well as two concrete distribution classes (Poisson1D, DiscreteTabulated1D). * Added functions "readCompressedStringArchiveExt" and "writeCompressedStringArchiveExt" which can read/write either compressed or uncompressed string archives, distinguished by file extension. Version 1.2.1 - March 22 2013, by I. Volobouev * Improved CmdLine.hh in the "examples/C++" directory. * Added class QuantileTable1D. * Added classes LeftCensoredDistribution and RightCensoredDistribution. Version 1.2.0 - March 13 2013, by I. Volobouev * Added convenience "fill" methods to work with the ntuples which have small number of columns (up to 10). * Fixed a bug in AbsRandomGenerator for univariate generators making multivariate points. * Added LOrPEMarginalSmoother class. Version 1.1.1 - March 11 2013, by I. Volobouev * Added utility function "symbetaLOrPEFilter1D" which creates 1-d LOrPE filters using kernels from the symmetric beta family (and the Gaussian). * Added high level driver function "lorpeSmooth1D". * Allowed variables with zero variances for calculation of correlation coefficients in "MultivariateSumsqAccumulator". Such variables will have zero correlation coefficients with all other variables. * Added rebinning constructor to the HistoND class. Version 1.1.0 - March 8 2013, by I. Volobouev * Changed NUHistoAxis::fltBinNumber method to produce correct results with interpolation degree 0. It is not yet obvious which method would work best for higher interpolation degrees. * Added functions for converting between StringArchive and python bytearray. They have been placed in a new header: wrap/stringArchiveToBinary.hh. * Added methods "exportMemSlice" and "importMemSlice" to ArrayND. These methods allow for filling array slices from unstructured memory buffers and for exporting array slices to such memory buffers. * Added "simpleColumnNames" function (header file AbsNtuple.hh) to generate trivial column names when ntuple column names are not important. * Added functions "neymanPearsonWindow1D" and "signalToBgMaximum1D". They are declared in a new header npstat/neymanPearsonWindow1D.hh. Version 1.0.5 - December 17 2012, by I. Volobouev * Flush string archives before writing them out in stringArchiveIO.cc. * Added class TruncatedDistribution1D. Version 1.0.4 - November 14 2012, by I. Volobouev * Added utilities for reading/writing Geners string archives to files. * Added BinSummary class. * Doxygen documentation improved. Every header file in stat, nm, rng, and interfaces now has a brief description. Version 1.0.3 - September 27 2012, by I. Volobouev * Fixed some bugs related to moving StorableMultivariateFunctor code from "nm" to "stat". Version 1.0.2 - August 6 2012, by I. Volobouev * Added converting copy constructor to the "LinInterpolatedTableND" class. * Added StorableMultivariateFunctor class (together with the corresponding reader class). * Added StorableInterpolationFunctor class which inherits from the above and can be used with interpolation tables. * Added StorableHistoNDFunctor class which inherits from StorableMultivariateFunctor and can be used to interpolate histogram bins. * Added "transpose" method to HistoND class. * Created DualAxis class. * Created DualHistoAxis class. * Added conversion functions between histogram and grid axes. * Added "mergeTwoHistos" function for smooth merging of two histograms. * Added "ProductSymmetricBetaNDCdf" functor to be used as weight in merging histograms. * Added CoordinateSelector class. Version 1.0.1 - June 29 2012, by I. Volobouev * Implemented class LinInterpolatedTableND with related supporting code. Index: trunk/config.log =================================================================== --- trunk/config.log (revision 725) +++ trunk/config.log (revision 726) @@ -1,943 +1,943 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by npstat configure 5.3.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --disable-static --with-pic ## --------- ## ## Platform. ## ## --------- ## hostname = dawn uname -m = x86_64 uname -r = 4.15.0-122-generic uname -s = Linux uname -v = #124-Ubuntu SMP Thu Oct 15 13:03:05 UTC 2020 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/igv/bin PATH: /home/igv/local/bin PATH: /usr/local/anaconda3/bin PATH: /usr/local/bin PATH: /usr/local/root/bin PATH: /usr/local/bin PATH: /bin PATH: /usr/bin PATH: /sbin PATH: /usr/sbin PATH: . ## ----------- ## ## Core tests. ## ## ----------- ## configure:2421: checking for a BSD-compatible install configure:2489: result: /usr/bin/install -c configure:2500: checking whether build environment is sane configure:2555: result: yes configure:2706: checking for a thread-safe mkdir -p configure:2745: result: /bin/mkdir -p configure:2752: checking for gawk configure:2768: found /usr/bin/gawk configure:2779: result: gawk configure:2790: checking whether make sets $(MAKE) configure:2812: result: yes configure:2841: checking whether make supports nested variables configure:2858: result: yes configure:3042: checking for pkg-config configure:3060: found /usr/bin/pkg-config configure:3072: result: /usr/bin/pkg-config configure:3097: checking pkg-config is at least version 0.9.0 configure:3100: result: yes configure:3110: checking for DEPS configure:3117: $PKG_CONFIG --exists --print-errors "fftw3 >= 3.1.2 geners >= 1.3.0 kstest >= 2.0.0" configure:3120: $? = 0 configure:3134: $PKG_CONFIG --exists --print-errors "fftw3 >= 3.1.2 geners >= 1.3.0 kstest >= 2.0.0" configure:3137: $? = 0 configure:3195: result: yes configure:3258: checking for g++ configure:3274: found /usr/bin/g++ configure:3285: result: g++ configure:3312: checking for C++ compiler version configure:3321: g++ --version >&5 g++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3332: $? = 0 configure:3321: g++ -v >&5 Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) configure:3332: $? = 0 configure:3321: g++ -V >&5 g++: error: unrecognized command line option '-V' g++: fatal error: no input files compilation terminated. configure:3332: $? = 1 configure:3321: g++ -qversion >&5 g++: error: unrecognized command line option '-qversion'; did you mean '--version'? g++: fatal error: no input files compilation terminated. configure:3332: $? = 1 configure:3352: checking whether the C++ compiler works configure:3374: g++ -std=c++11 -O3 -Wall -W -Werror conftest.cpp >&5 configure:3378: $? = 0 configure:3426: result: yes configure:3429: checking for C++ compiler default output file name configure:3431: result: a.out configure:3437: checking for suffix of executables configure:3444: g++ -o conftest -std=c++11 -O3 -Wall -W -Werror conftest.cpp >&5 configure:3448: $? = 0 configure:3470: result: configure:3492: checking whether we are cross compiling configure:3500: g++ -o conftest -std=c++11 -O3 -Wall -W -Werror conftest.cpp >&5 configure:3504: $? = 0 configure:3511: ./conftest configure:3515: $? = 0 configure:3530: result: no configure:3535: checking for suffix of object files configure:3557: g++ -c -std=c++11 -O3 -Wall -W -Werror conftest.cpp >&5 configure:3561: $? = 0 configure:3582: result: o configure:3586: checking whether we are using the GNU C++ compiler configure:3605: g++ -c -std=c++11 -O3 -Wall -W -Werror conftest.cpp >&5 configure:3605: $? = 0 configure:3614: result: yes configure:3623: checking whether g++ accepts -g configure:3643: g++ -c -g conftest.cpp >&5 configure:3643: $? = 0 configure:3684: result: yes configure:3718: checking for style of include used by make configure:3746: result: GNU configure:3772: checking dependency style of g++ configure:3883: result: gcc3 configure:3952: checking for g77 configure:3968: found /home/igv/bin/g77 configure:3979: result: g77 configure:4005: checking for Fortran 77 compiler version configure:4014: g77 --version >&5 GNU Fortran (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:4025: $? = 0 configure:4014: g77 -v >&5 Using built-in specs. COLLECT_GCC=g77 COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) configure:4025: $? = 0 configure:4014: g77 -V >&5 g77: error: unrecognized command line option '-V' g77: fatal error: no input files compilation terminated. configure:4025: $? = 1 configure:4014: g77 -qversion >&5 g77: error: unrecognized command line option '-qversion'; did you mean '--version'? g77: fatal error: no input files compilation terminated. configure:4025: $? = 1 configure:4034: checking whether we are using the GNU Fortran 77 compiler configure:4047: g77 -c conftest.F >&5 configure:4047: $? = 0 configure:4056: result: yes configure:4062: checking whether g77 accepts -g configure:4073: g77 -c -g conftest.f >&5 configure:4073: $? = 0 configure:4081: result: yes configure:4114: checking build system type configure:4128: result: x86_64-pc-linux-gnu configure:4148: checking host system type configure:4161: result: x86_64-pc-linux-gnu configure:4186: checking how to get verbose linking output from g77 configure:4196: g77 -c -g -O2 conftest.f >&5 configure:4196: $? = 0 configure:4214: g77 -o conftest -g -O2 -v conftest.f Using built-in specs. Target: x86_64-linux-gnu Thread model: posix gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) - /usr/lib/gcc/x86_64-linux-gnu/7/f951 conftest.f -ffixed-form -quiet -dumpbase conftest.f -mtune=generic -march=x86-64 -auxbase conftest -g -O2 -version -fintrinsic-modules-path /usr/lib/gcc/x86_64-linux-gnu/7/finclude -o /tmp/ccTCvwQG.s + /usr/lib/gcc/x86_64-linux-gnu/7/f951 conftest.f -ffixed-form -quiet -dumpbase conftest.f -mtune=generic -march=x86-64 -auxbase conftest -g -O2 -version -fintrinsic-modules-path /usr/lib/gcc/x86_64-linux-gnu/7/finclude -o /tmp/ccBrtrrB.s GNU Fortran (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu) compiled by GNU C version 7.5.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU Fortran2008 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu) compiled by GNU C version 7.5.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 - as -v --64 -o /tmp/ccjWevvO.o /tmp/ccTCvwQG.s + as -v --64 -o /tmp/cciXuIv7.o /tmp/ccBrtrrB.s GNU assembler version 2.30 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.30 Reading specs from /usr/lib/gcc/x86_64-linux-gnu/7/libgfortran.spec rename spec lib to liborig - /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccEyiEbW.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lquadmath -plugin-opt=-pass-through=-lm -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o conftest /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. /tmp/ccjWevvO.o -lgfortran -lm -lgcc_s -lgcc -lquadmath -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o + /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccRlVMAD.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lquadmath -plugin-opt=-pass-through=-lm -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o conftest /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. /tmp/cciXuIv7.o -lgfortran -lm -lgcc_s -lgcc -lquadmath -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o configure:4297: result: -v configure:4299: checking for Fortran 77 libraries of g77 configure:4322: g77 -o conftest -g -O2 -v conftest.f Using built-in specs. Target: x86_64-linux-gnu Thread model: posix gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) - /usr/lib/gcc/x86_64-linux-gnu/7/f951 conftest.f -ffixed-form -quiet -dumpbase conftest.f -mtune=generic -march=x86-64 -auxbase conftest -g -O2 -version -fintrinsic-modules-path /usr/lib/gcc/x86_64-linux-gnu/7/finclude -o /tmp/ccZEQ3tI.s + /usr/lib/gcc/x86_64-linux-gnu/7/f951 conftest.f -ffixed-form -quiet -dumpbase conftest.f -mtune=generic -march=x86-64 -auxbase conftest -g -O2 -version -fintrinsic-modules-path /usr/lib/gcc/x86_64-linux-gnu/7/finclude -o /tmp/cc6rHiKG.s GNU Fortran (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu) compiled by GNU C version 7.5.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU Fortran2008 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu) compiled by GNU C version 7.5.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 - as -v --64 -o /tmp/ccbb7CkQ.o /tmp/ccZEQ3tI.s + as -v --64 -o /tmp/ccuJCbXc.o /tmp/cc6rHiKG.s GNU assembler version 2.30 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.30 Reading specs from /usr/lib/gcc/x86_64-linux-gnu/7/libgfortran.spec rename spec lib to liborig - /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccqDeXbY.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lquadmath -plugin-opt=-pass-through=-lm -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o conftest /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. /tmp/ccbb7CkQ.o -lgfortran -lm -lgcc_s -lgcc -lquadmath -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o + /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccZDTRaJ.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lquadmath -plugin-opt=-pass-through=-lm -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o conftest /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. /tmp/ccuJCbXc.o -lgfortran -lm -lgcc_s -lgcc -lquadmath -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o configure:4518: result: -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. -lgfortran -lm -lquadmath configure:4580: checking how to print strings configure:4607: result: printf configure:4676: checking for gcc configure:4692: found /usr/bin/gcc configure:4703: result: gcc configure:4932: checking for C compiler version configure:4941: gcc --version >&5 gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:4952: $? = 0 configure:4941: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) configure:4952: $? = 0 configure:4941: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:4952: $? = 1 configure:4941: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion'; did you mean '--version'? gcc: fatal error: no input files compilation terminated. configure:4952: $? = 1 configure:4956: checking whether we are using the GNU C compiler configure:4975: gcc -c conftest.c >&5 configure:4975: $? = 0 configure:4984: result: yes configure:4993: checking whether gcc accepts -g configure:5013: gcc -c -g conftest.c >&5 configure:5013: $? = 0 configure:5054: result: yes configure:5071: checking for gcc option to accept ISO C89 configure:5134: gcc -c -g -O2 conftest.c >&5 configure:5134: $? = 0 configure:5147: result: none needed configure:5172: checking whether gcc understands -c and -o together configure:5194: gcc -c conftest.c -o conftest2.o configure:5197: $? = 0 configure:5194: gcc -c conftest.c -o conftest2.o configure:5197: $? = 0 configure:5209: result: yes configure:5228: checking dependency style of gcc configure:5339: result: gcc3 configure:5354: checking for a sed that does not truncate output configure:5418: result: /bin/sed configure:5436: checking for grep that handles long lines and -e configure:5494: result: /bin/grep configure:5499: checking for egrep configure:5561: result: /bin/grep -E configure:5566: checking for fgrep configure:5628: result: /bin/grep -F configure:5663: checking for ld used by gcc configure:5730: result: /usr/bin/ld configure:5737: checking if the linker (/usr/bin/ld) is GNU ld configure:5752: result: yes configure:5764: checking for BSD- or MS-compatible name lister (nm) configure:5818: result: /usr/bin/nm -B configure:5948: checking the name lister (/usr/bin/nm -B) interface configure:5955: gcc -c -g -O2 conftest.c >&5 configure:5958: /usr/bin/nm -B "conftest.o" configure:5961: output 0000000000000000 B some_variable configure:5968: result: BSD nm configure:5971: checking whether ln -s works configure:5975: result: yes configure:5983: checking the maximum length of command line arguments configure:6114: result: 1572864 configure:6162: checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format configure:6202: result: func_convert_file_noop configure:6209: checking how to convert x86_64-pc-linux-gnu file names to toolchain format configure:6229: result: func_convert_file_noop configure:6236: checking for /usr/bin/ld option to reload object files configure:6243: result: -r configure:6317: checking for objdump configure:6333: found /usr/bin/objdump configure:6344: result: objdump configure:6376: checking how to recognize dependent libraries configure:6576: result: pass_all configure:6661: checking for dlltool configure:6691: result: no configure:6721: checking how to associate runtime and link libraries configure:6748: result: printf %s\n configure:6809: checking for ar configure:6825: found /usr/bin/ar configure:6836: result: ar configure:6873: checking for archiver @FILE support configure:6890: gcc -c -g -O2 conftest.c >&5 configure:6890: $? = 0 configure:6893: ar cru libconftest.a @conftest.lst >&5 ar: `u' modifier ignored since `D' is the default (see `U') configure:6896: $? = 0 configure:6901: ar cru libconftest.a @conftest.lst >&5 ar: `u' modifier ignored since `D' is the default (see `U') ar: conftest.o: No such file or directory configure:6904: $? = 1 configure:6916: result: @ configure:6974: checking for strip configure:6990: found /usr/bin/strip configure:7001: result: strip configure:7073: checking for ranlib configure:7089: found /usr/bin/ranlib configure:7100: result: ranlib configure:7202: checking command to parse /usr/bin/nm -B output from gcc object configure:7355: gcc -c -g -O2 conftest.c >&5 configure:7358: $? = 0 configure:7362: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm configure:7365: $? = 0 configure:7431: gcc -o conftest -g -O2 conftest.c conftstm.o >&5 configure:7434: $? = 0 configure:7472: result: ok configure:7519: checking for sysroot configure:7549: result: no configure:7556: checking for a working dd configure:7594: result: /bin/dd configure:7598: checking how to truncate binary pipes configure:7613: result: /bin/dd bs=4096 count=1 configure:7749: gcc -c -g -O2 conftest.c >&5 configure:7752: $? = 0 configure:7942: checking for mt configure:7958: found /bin/mt configure:7969: result: mt configure:7992: checking if mt is a manifest tool configure:7998: mt '-?' configure:8006: result: no configure:8683: checking how to run the C preprocessor configure:8714: gcc -E conftest.c configure:8714: $? = 0 configure:8728: gcc -E conftest.c conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:8728: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "npstat" | #define PACKAGE_TARNAME "npstat" | #define PACKAGE_VERSION "5.3.0" | #define PACKAGE_STRING "npstat 5.3.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "npstat" | #define VERSION "5.3.0" | /* end confdefs.h. */ | #include configure:8753: result: gcc -E configure:8773: gcc -E conftest.c configure:8773: $? = 0 configure:8787: gcc -E conftest.c conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:8787: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "npstat" | #define PACKAGE_TARNAME "npstat" | #define PACKAGE_VERSION "5.3.0" | #define PACKAGE_STRING "npstat 5.3.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "npstat" | #define VERSION "5.3.0" | /* end confdefs.h. */ | #include configure:8816: checking for ANSI C header files configure:8836: gcc -c -g -O2 conftest.c >&5 configure:8836: $? = 0 configure:8909: gcc -o conftest -g -O2 conftest.c >&5 configure:8909: $? = 0 configure:8909: ./conftest configure:8909: $? = 0 configure:8920: result: yes configure:8933: checking for sys/types.h configure:8933: gcc -c -g -O2 conftest.c >&5 configure:8933: $? = 0 configure:8933: result: yes configure:8933: checking for sys/stat.h configure:8933: gcc -c -g -O2 conftest.c >&5 configure:8933: $? = 0 configure:8933: result: yes configure:8933: checking for stdlib.h configure:8933: gcc -c -g -O2 conftest.c >&5 configure:8933: $? = 0 configure:8933: result: yes configure:8933: checking for string.h configure:8933: gcc -c -g -O2 conftest.c >&5 configure:8933: $? = 0 configure:8933: result: yes configure:8933: checking for memory.h configure:8933: gcc -c -g -O2 conftest.c >&5 configure:8933: $? = 0 configure:8933: result: yes configure:8933: checking for strings.h configure:8933: gcc -c -g -O2 conftest.c >&5 configure:8933: $? = 0 configure:8933: result: yes configure:8933: checking for inttypes.h configure:8933: gcc -c -g -O2 conftest.c >&5 configure:8933: $? = 0 configure:8933: result: yes configure:8933: checking for stdint.h configure:8933: gcc -c -g -O2 conftest.c >&5 configure:8933: $? = 0 configure:8933: result: yes configure:8933: checking for unistd.h configure:8933: gcc -c -g -O2 conftest.c >&5 configure:8933: $? = 0 configure:8933: result: yes configure:8947: checking for dlfcn.h configure:8947: gcc -c -g -O2 conftest.c >&5 configure:8947: $? = 0 configure:8947: result: yes configure:9214: checking for objdir configure:9229: result: .libs configure:9493: checking if gcc supports -fno-rtti -fno-exceptions configure:9511: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C configure:9515: $? = 0 configure:9528: result: no configure:9886: checking for gcc option to produce PIC configure:9893: result: -fPIC -DPIC configure:9901: checking if gcc PIC flag -fPIC -DPIC works configure:9919: gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5 configure:9923: $? = 0 configure:9936: result: yes configure:9965: checking if gcc static flag -static works configure:9993: result: yes configure:10008: checking if gcc supports -c -o file.o configure:10029: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5 configure:10033: $? = 0 configure:10055: result: yes configure:10063: checking if gcc supports -c -o file.o configure:10110: result: yes configure:10143: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:11402: result: yes configure:11439: checking whether -lc should be explicitly linked in configure:11447: gcc -c -g -O2 conftest.c >&5 configure:11450: $? = 0 configure:11465: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1 configure:11468: $? = 0 configure:11482: result: no configure:11642: checking dynamic linker characteristics configure:12223: gcc -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c >&5 configure:12223: $? = 0 configure:12460: result: GNU/Linux ld.so configure:12582: checking how to hardcode library paths into programs configure:12607: result: immediate configure:13155: checking whether stripping libraries is possible configure:13160: result: yes configure:13195: checking if libtool supports shared libraries configure:13197: result: yes configure:13200: checking whether to build shared libraries configure:13225: result: yes configure:13228: checking whether to build static libraries configure:13232: result: no configure:13255: checking how to run the C++ preprocessor configure:13282: g++ -E conftest.cpp configure:13282: $? = 0 configure:13296: g++ -E conftest.cpp conftest.cpp:23:10: fatal error: ac_nonexistent.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:13296: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "npstat" | #define PACKAGE_TARNAME "npstat" | #define PACKAGE_VERSION "5.3.0" | #define PACKAGE_STRING "npstat 5.3.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "npstat" | #define VERSION "5.3.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include configure:13321: result: g++ -E configure:13341: g++ -E conftest.cpp configure:13341: $? = 0 configure:13355: g++ -E conftest.cpp conftest.cpp:23:10: fatal error: ac_nonexistent.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:13355: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "npstat" | #define PACKAGE_TARNAME "npstat" | #define PACKAGE_VERSION "5.3.0" | #define PACKAGE_STRING "npstat 5.3.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "npstat" | #define VERSION "5.3.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include configure:13517: checking for ld used by g++ configure:13584: result: /usr/bin/ld -m elf_x86_64 configure:13591: checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld configure:13606: result: yes configure:13661: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:14734: result: yes configure:14770: g++ -c -std=c++11 -O3 -Wall -W -Werror conftest.cpp >&5 configure:14773: $? = 0 configure:15254: checking for g++ option to produce PIC configure:15261: result: -fPIC -DPIC configure:15269: checking if g++ PIC flag -fPIC -DPIC works configure:15287: g++ -c -std=c++11 -O3 -Wall -W -Werror -fPIC -DPIC -DPIC conftest.cpp >&5 configure:15291: $? = 0 configure:15304: result: yes configure:15327: checking if g++ static flag -static works configure:15355: result: yes configure:15367: checking if g++ supports -c -o file.o configure:15388: g++ -c -std=c++11 -O3 -Wall -W -Werror -o out/conftest2.o conftest.cpp >&5 configure:15392: $? = 0 configure:15414: result: yes configure:15419: checking if g++ supports -c -o file.o configure:15466: result: yes configure:15496: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:15536: result: yes configure:15677: checking dynamic linker characteristics configure:16422: result: GNU/Linux ld.so configure:16487: checking how to hardcode library paths into programs configure:16512: result: immediate configure:16653: checking if libtool supports shared libraries configure:16655: result: yes configure:16658: checking whether to build shared libraries configure:16682: result: yes configure:16685: checking whether to build static libraries configure:16689: result: no configure:17041: checking for g77 option to produce PIC configure:17048: result: -fPIC configure:17056: checking if g77 PIC flag -fPIC works configure:17074: g77 -c -g -O2 -fPIC conftest.f >&5 configure:17078: $? = 0 configure:17091: result: yes configure:17114: checking if g77 static flag -static works configure:17142: result: yes configure:17154: checking if g77 supports -c -o file.o configure:17175: g77 -c -g -O2 -o out/conftest2.o conftest.f >&5 configure:17179: $? = 0 configure:17201: result: yes configure:17206: checking if g77 supports -c -o file.o configure:17253: result: yes configure:17283: checking whether the g77 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:18492: result: yes configure:18633: checking dynamic linker characteristics configure:19372: result: GNU/Linux ld.so configure:19437: checking how to hardcode library paths into programs configure:19462: result: immediate configure:19662: checking that generated files are newer than configure configure:19668: result: done configure:19695: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by npstat config.status 5.3.0, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on dawn config.status:1143: creating Makefile config.status:1143: creating npstat/nm/Makefile config.status:1143: creating npstat/rng/Makefile config.status:1143: creating npstat/stat/Makefile config.status:1143: creating npstat/wrap/Makefile config.status:1143: creating npstat/interfaces/Makefile config.status:1143: creating npstat/emsunfold/Makefile config.status:1143: creating npstat/Makefile config.status:1143: creating examples/C++/Makefile config.status:1143: creating npstat/swig/Makefile config.status:1143: creating npstat.pc config.status:1315: executing depfiles commands config.status:1315: executing libtool commands ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=yes ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-std=c++11 -O3 -Wall -W -Werror' ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_DEPS_CFLAGS_set= ac_cv_env_DEPS_CFLAGS_value= ac_cv_env_DEPS_LIBS_set= ac_cv_env_DEPS_LIBS_value= ac_cv_env_F77_set= ac_cv_env_F77_value= ac_cv_env_FFLAGS_set= ac_cv_env_FFLAGS_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_LT_SYS_LIBRARY_PATH_set= ac_cv_env_LT_SYS_LIBRARY_PATH_value= ac_cv_env_PKG_CONFIG_LIBDIR_set= ac_cv_env_PKG_CONFIG_LIBDIR_value= ac_cv_env_PKG_CONFIG_PATH_set=set ac_cv_env_PKG_CONFIG_PATH_value=/usr/local/lib/pkgconfig ac_cv_env_PKG_CONFIG_set= ac_cv_env_PKG_CONFIG_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_f77_compiler_gnu=yes ac_cv_f77_libs=' -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. -lgfortran -lm -lquadmath' ac_cv_header_dlfcn_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_host=x86_64-pc-linux-gnu ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_FGREP='/bin/grep -F' ac_cv_path_GREP=/bin/grep ac_cv_path_SED=/bin/sed ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config ac_cv_path_install='/usr/bin/install -c' ac_cv_path_lt_DD=/bin/dd ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_CPP='gcc -E' ac_cv_prog_CXXCPP='g++ -E' ac_cv_prog_ac_ct_AR=ar ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_CXX=g++ ac_cv_prog_ac_ct_F77=g77 ac_cv_prog_ac_ct_MANIFEST_TOOL=mt ac_cv_prog_ac_ct_OBJDUMP=objdump ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_cxx_g=yes ac_cv_prog_f77_g=yes ac_cv_prog_f77_v=-v ac_cv_prog_make_make_set=yes am_cv_CC_dependencies_compiler_type=gcc3 am_cv_CXX_dependencies_compiler_type=gcc3 am_cv_make_support_nested_variables=yes am_cv_prog_cc_c_o=yes lt_cv_ar_at_file=@ lt_cv_archive_cmds_need_lc=no lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs lt_cv_path_LD=/usr/bin/ld lt_cv_path_LDCXX='/usr/bin/ld -m elf_x86_64' lt_cv_path_NM='/usr/bin/nm -B' lt_cv_path_mainfest_tool=no lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_c_o_CXX=yes lt_cv_prog_compiler_c_o_F77=yes lt_cv_prog_compiler_pic='-fPIC -DPIC' lt_cv_prog_compiler_pic_CXX='-fPIC -DPIC' lt_cv_prog_compiler_pic_F77=-fPIC lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_pic_works_CXX=yes lt_cv_prog_compiler_pic_works_F77=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=yes lt_cv_prog_compiler_static_works_CXX=yes lt_cv_prog_compiler_static_works_F77=yes lt_cv_prog_gnu_ld=yes lt_cv_prog_gnu_ldcxx=yes lt_cv_sharedlib_from_linklib_cmd='printf %s\n' lt_cv_shlibpath_overrides_runpath=yes lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\''' lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' lt_cv_sys_global_symbol_to_import= lt_cv_sys_max_cmd_len=1572864 lt_cv_to_host_file_cmd=func_convert_file_noop lt_cv_to_tool_file_cmd=func_convert_file_noop lt_cv_truncate_bin='/bin/dd bs=4096 count=1' pkg_cv_DEPS_CFLAGS=-I/usr/local/include pkg_cv_DEPS_LIBS='-L/usr/local/lib -lfftw3 -lgeners -lkstest' ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/igv/Hepforge/npstat/trunk/missing aclocal-1.15' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='1' AM_V='$(V)' AR='ar' AUTOCONF='${SHELL} /home/igv/Hepforge/npstat/trunk/missing autoconf' AUTOHEADER='${SHELL} /home/igv/Hepforge/npstat/trunk/missing autoheader' AUTOMAKE='${SHELL} /home/igv/Hepforge/npstat/trunk/missing automake-1.15' AWK='gawk' CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-g -O2' CPP='gcc -E' CPPFLAGS='' CXX='g++' CXXCPP='g++ -E' CXXDEPMODE='depmode=gcc3' CXXFLAGS='-std=c++11 -O3 -Wall -W -Werror' CYGPATH_W='echo' DEFS='-DPACKAGE_NAME=\"npstat\" -DPACKAGE_TARNAME=\"npstat\" -DPACKAGE_VERSION=\"5.3.0\" -DPACKAGE_STRING=\"npstat\ 5.3.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"npstat\" -DVERSION=\"5.3.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"' DEPDIR='.deps' DEPS_CFLAGS='-I/usr/local/include' DEPS_LIBS='-L/usr/local/lib -lfftw3 -lgeners -lkstest' DLLTOOL='false' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' F77='g77' FFLAGS='-g -O2' FGREP='/bin/grep -F' FLIBS=' -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. -lgfortran -lm -lquadmath' GREP='/bin/grep' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='/usr/bin/ld -m elf_x86_64' LDFLAGS='' LIBOBJS='' LIBS='' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' LT_SYS_LIBRARY_PATH='' MAKEINFO='${SHELL} /home/igv/Hepforge/npstat/trunk/missing makeinfo' MANIFEST_TOOL=':' MKDIR_P='/bin/mkdir -p' NM='/usr/bin/nm -B' NMEDIT='' OBJDUMP='objdump' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='npstat' PACKAGE_BUGREPORT='' PACKAGE_NAME='npstat' PACKAGE_STRING='npstat 5.3.0' PACKAGE_TARNAME='npstat' PACKAGE_URL='' PACKAGE_VERSION='5.3.0' PATH_SEPARATOR=':' PKG_CONFIG='/usr/bin/pkg-config' PKG_CONFIG_LIBDIR='' PKG_CONFIG_PATH='/usr/local/lib/pkgconfig' RANLIB='ranlib' SED='/bin/sed' SET_MAKE='' SHELL='/bin/bash' STRIP='strip' VERSION='5.3.0' ac_ct_AR='ar' ac_ct_CC='gcc' ac_ct_CXX='g++' ac_ct_DUMPBIN='' ac_ct_F77='g77' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='#' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__fastdepCXX_FALSE='#' am__fastdepCXX_TRUE='' am__include='include' am__isrc='' am__leading_dot='.' am__nodep='_no' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='${exec_prefix}/bin' build='x86_64-pc-linux-gnu' build_alias='' build_cpu='x86_64' build_os='linux-gnu' build_vendor='pc' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='${prefix}' host='x86_64-pc-linux-gnu' host_alias='' host_cpu='x86_64' host_os='linux-gnu' host_vendor='pc' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/igv/Hepforge/npstat/trunk/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr/local' program_transform_name='s,x,x,' psdir='${docdir}' runstatedir='${localstatedir}/run' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "npstat" #define PACKAGE_TARNAME "npstat" #define PACKAGE_VERSION "5.3.0" #define PACKAGE_STRING "npstat 5.3.0" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define PACKAGE "npstat" #define VERSION "5.3.0" #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" configure: exit 0 Index: trunk/tests/test_FejerQuadrature.cc =================================================================== --- trunk/tests/test_FejerQuadrature.cc (revision 725) +++ trunk/tests/test_FejerQuadrature.cc (revision 726) @@ -1,65 +1,64 @@ #include #include #include #include "UnitTest++.h" #include "test_utils.hh" #include "npstat/nm/FejerQuadrature.hh" -#include "npstat/nm/SimpleFunctors.hh" using namespace npstat; using namespace std; namespace { struct MyPoly : public Functor1 { long double operator()(const long double& x) const {return x*x*x*x*x - 11*x*x*x - 2*x*x + 3*x - 7;} }; TEST(FejerQuadrature) { const unsigned nsup[] = {6, 8, 11, 12, 16, 32, 64}; for (unsigned icycle=0; icycle w(nsup[icycle]); - quad.getWeights(&w[0], w.size()); + quad.getAllWeights(&w[0], w.size()); long double sum = 0.0L; for (int k=w.size()-1; k>=0; --k) sum += w[k]; CHECK_CLOSE(2.0L, sum, 1.e-16L); const long double v = quad.integrate(MyPoly(), 0.L, 4.L); CHECK_CLOSE(-68.0L, v, 1.e-14); const auto& points = quad.weightedIntegrationPoints(MyPoly(), 0.L, 4.L); sum = 0.0L; for (int k=points.size()-1; k>=0; --k) sum += points[k].second; CHECK_CLOSE(-68.0L, sum, 1.e-14); } } TEST(FejerQuadrature_minimalExactRule) { for (unsigned i=0; i<10000; ++i) { const unsigned deg = test_rng()*1000; const unsigned npt = FejerQuadrature::minimalExactRule(deg); CHECK(npt == deg+1U); } } TEST(FejerQuadrature_minPoints) { FejerQuadrature fej(1); CHECK_CLOSE(12.0, fej.integrate(ConstValue1(3.0), -1.L, 3.L), 1.e-15); } } Index: trunk/tests/test_RectangleQuadrature1D.cc =================================================================== --- trunk/tests/test_RectangleQuadrature1D.cc (revision 0) +++ trunk/tests/test_RectangleQuadrature1D.cc (revision 726) @@ -0,0 +1,45 @@ +#include + +#include "UnitTest++.h" +#include "test_utils.hh" + +#include "npstat/nm/RectangleQuadrature1D.hh" + +#include "npstat/stat/Distributions1D.hh" + +using namespace npstat; +using namespace std; + +namespace { + TEST(RectangleQuadrature1D) + { + Gauss1D g(0.0, 1.0); + RectangleQuadrature1D quad(1000); + double integ = quad.integrate(DensityFunctor1D(g), -10.0, 10.0); + CHECK_CLOSE(1.0, integ, 1.0e-14); + } + + TEST(RectangleQuadrature1D_weights) + { + const unsigned npt = 13; + RectangleQuadrature1D quad(npt); + CHECK_EQUAL(npt, quad.npoints()); + std::vector buf(npt); + quad.getAllWeights(&buf[0], npt); + const double sum = std::accumulate(buf.begin(), buf.end(), 0.0L); + CHECK_CLOSE(2.0, sum, 1.0e-14); + } + + TEST(RectangleQuadrature1D_abscissae) + { + const unsigned npt = 13; + RectangleQuadrature1D quad(npt); + std::vector buf(npt); + quad.getAllAbscissae(&buf[0], npt); + for (unsigned i=0; i 1, - '_AM_PROG_CC_C_O' => 1, - 'AC_LIBTOOL_PROG_CC_C_O' => 1, - 'LT_PROG_GO' => 1, - 'AM_PROG_CC_C_O' => 1, - 'AC_LIBTOOL_POSTDEP_PREDEP' => 1, - 'AC_LIBTOOL_LINKER_OPTION' => 1, - 'AM_PROG_INSTALL_STRIP' => 1, - 'AM_DISABLE_SHARED' => 1, - 'LT_AC_PROG_SED' => 1, - '_LT_AC_LANG_F77' => 1, - '_LT_AC_LANG_F77_CONFIG' => 1, - 'AM_CONDITIONAL' => 1, - 'AC_LIBTOOL_FC' => 1, - 'AC_DISABLE_FAST_INSTALL' => 1, + 'AM_SUBST_NOTMAKE' => 1, + 'AM_MISSING_HAS_RUN' => 1, + '_LT_AC_PROG_CXXCPP' => 1, + 'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1, + 'PKG_PROG_PKG_CONFIG' => 1, + 'PKG_CHECK_MODULES_STATIC' => 1, 'PKG_CHECK_EXISTS' => 1, - '_AC_PROG_LIBTOOL' => 1, - '_LT_WITH_SYSROOT' => 1, - '_LT_AC_TAGCONFIG' => 1, - 'AC_PROG_EGREP' => 1, - 'AM_ENABLE_STATIC' => 1, - 'AC_PROG_NM' => 1, - 'AM_PROG_LIBTOOL' => 1, - '_LT_AC_SYS_LIBPATH_AIX' => 1, - 'LT_AC_PROG_EGREP' => 1, - '_LT_AC_LANG_GCJ_CONFIG' => 1, + 'AC_DISABLE_FAST_INSTALL' => 1, + 'AM_PROG_CC_C_O' => 1, + '_LT_AC_TAGVAR' => 1, + 'LT_SUPPORTED_TAG' => 1, + 'AM_INIT_AUTOMAKE' => 1, + 'AC_LIBTOOL_COMPILER_OPTION' => 1, 'PKG_INSTALLDIR' => 1, - 'PKG_PROG_PKG_CONFIG' => 1, - '_LT_AC_SHELL_INIT' => 1, - '_LT_AC_LANG_GCJ' => 1, - 'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1, - '_LT_AC_FILE_LTDLL_C' => 1, - 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1, - 'AC_ENABLE_SHARED' => 1, - 'AC_PROG_LD_RELOAD_FLAG' => 1, - '_AM_IF_OPTION' => 1, - '_LT_PATH_TOOL_PREFIX' => 1, - 'AM_DEP_TRACK' => 1, - 'LT_PATH_LD' => 1, - 'AC_LIBTOOL_LANG_RC_CONFIG' => 1, - 'AM_MISSING_HAS_RUN' => 1, - 'AC_DEPLIBS_CHECK_METHOD' => 1, - 'LT_LIB_M' => 1, - 'AM_MISSING_PROG' => 1, - '_LT_LINKER_BOILERPLATE' => 1, - 'AC_CONFIG_MACRO_DIR' => 1, - '_LT_AC_LANG_RC_CONFIG' => 1, - 'AC_DISABLE_SHARED' => 1, - 'LTVERSION_VERSION' => 1, - 'AC_LIBTOOL_WIN32_DLL' => 1, - 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1, - '_AM_DEPENDENCIES' => 1, - 'AC_PROG_LIBTOOL' => 1, - 'AM_AUX_DIR_EXPAND' => 1, - 'AM_SET_DEPDIR' => 1, - 'PKG_NOARCH_INSTALLDIR' => 1, - 'AC_PROG_LD' => 1, + 'AC_LTDL_ENABLE_INSTALL' => 1, '_LT_AC_LANG_CXX_CONFIG' => 1, - '_LT_AC_TAGVAR' => 1, - 'LT_PATH_NM' => 1, - '_LT_AC_PROG_ECHO_BACKSLASH' => 1, + 'LT_AC_PROG_EGREP' => 1, + 'AC_LIBTOOL_CONFIG' => 1, + 'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1, + '_LT_AC_LANG_C_CONFIG' => 1, + '_LT_COMPILER_OPTION' => 1, + 'AC_ENABLE_FAST_INSTALL' => 1, + 'LT_LANG' => 1, + 'AC_LIBTOOL_CXX' => 1, + 'AM_CONDITIONAL' => 1, 'include' => 1, - 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1, - 'AC_LIBTOOL_LANG_C_CONFIG' => 1, - 'AC_LIBTOOL_GCJ' => 1, - 'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1, - 'LT_AC_PROG_GCJ' => 1, - '_LT_REQUIRED_DARWIN_CHECKS' => 1, - 'AC_LTDL_ENABLE_INSTALL' => 1, - '_AC_AM_CONFIG_HEADER_HOOK' => 1, - 'AC_LTDL_PREOPEN' => 1, - 'AM_PROG_LD' => 1, - 'AM_SUBST_NOTMAKE' => 1, - 'AC_DISABLE_STATIC' => 1, - 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1, - 'AC_DEFUN' => 1, - 'AC_LIBTOOL_PROG_LD_SHLIBS' => 1, - '_LT_PROG_CXX' => 1, - 'AC_LIBTOOL_DLOPEN_SELF' => 1, + 'AC_LIBTOOL_OBJDIR' => 1, + 'AC_PATH_TOOL_PREFIX' => 1, + '_LT_PROG_LTMAIN' => 1, + '_AM_SUBST_NOTMAKE' => 1, + 'AM_MAKE_INCLUDE' => 1, 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, - '_LT_PROG_FC' => 1, - 'AM_SET_LEADING_DOT' => 1, - 'LT_PROG_GCJ' => 1, + '_LT_WITH_SYSROOT' => 1, + 'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1, + 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1, + '_AC_PROG_LIBTOOL' => 1, + '_LT_AC_LANG_F77' => 1, + 'AC_LIBTOOL_FC' => 1, + 'PKG_CHECK_VAR' => 1, + '_LT_AC_FILE_LTDLL_C' => 1, + 'LTVERSION_VERSION' => 1, + '_LT_AC_LANG_CXX' => 1, + 'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1, '_AM_PROG_TAR' => 1, - '_LT_AC_CHECK_DLFCN' => 1, + '_LT_AC_SYS_COMPILER' => 1, + 'AC_CONFIG_MACRO_DIR_TRACE' => 1, + 'm4_pattern_forbid' => 1, + 'LT_AC_PROG_SED' => 1, '_m4_warn' => 1, - 'AM_ENABLE_SHARED' => 1, - '_LT_AC_LOCK' => 1, + '_AM_AUTOCONF_VERSION' => 1, + 'AC_LIBTOOL_DLOPEN_SELF' => 1, '_AM_CONFIG_MACRO_DIRS' => 1, - 'AC_LIBTOOL_F77' => 1, - 'LT_LANG' => 1, - 'AM_PROG_NM' => 1, + '_LT_AC_LANG_GCJ' => 1, + 'AC_PROG_LD_GNU' => 1, + 'AM_RUN_LOG' => 1, + 'AM_PROG_LIBTOOL' => 1, + 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1, + 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1, + 'AM_DEP_TRACK' => 1, + 'AC_LIBTOOL_RC' => 1, + '_LT_AC_LANG_F77_CONFIG' => 1, + 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1, + '_LT_AC_SHELL_INIT' => 1, + '_LT_AC_SYS_LIBPATH_AIX' => 1, + 'AC_LIBTOOL_PROG_LD_SHLIBS' => 1, + '_LT_PREPARE_SED_QUOTE_VARS' => 1, + '_LT_PROG_CXX' => 1, + 'LT_SYS_DLOPEN_SELF' => 1, + '_LT_COMPILER_BOILERPLATE' => 1, 'AC_LIBTOOL_DLOPEN' => 1, + 'LTSUGAR_VERSION' => 1, + 'AM_PROG_NM' => 1, + 'AC_LIBTOOL_PICMODE' => 1, + 'AC_LIBTOOL_WIN32_DLL' => 1, 'm4_include' => 1, + 'AC_LIBTOOL_LANG_C_CONFIG' => 1, + 'LT_LIB_M' => 1, + '_LT_AC_LOCK' => 1, + 'AM_SET_DEPDIR' => 1, + '_AM_PROG_CC_C_O' => 1, + 'AM_DISABLE_STATIC' => 1, 'AC_LIBTOOL_SETUP' => 1, - 'AC_LIBTOOL_RC' => 1, - 'AM_INIT_AUTOMAKE' => 1, - 'AC_LIBTOOL_CONFIG' => 1, - '_LT_AC_TRY_DLOPEN_SELF' => 1, - 'AM_MAKE_INCLUDE' => 1, + 'AM_PROG_INSTALL_SH' => 1, + 'AM_MISSING_PROG' => 1, 'AM_SANITY_CHECK' => 1, - '_AM_SUBST_NOTMAKE' => 1, - 'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1, - '_LT_COMPILER_OPTION' => 1, + 'AC_DEPLIBS_CHECK_METHOD' => 1, + 'LT_PROG_RC' => 1, + 'AC_PROG_LIBTOOL' => 1, + '_LT_AC_PROG_ECHO_BACKSLASH' => 1, + 'LT_PATH_NM' => 1, + '_AM_MANGLE_OPTION' => 1, + '_LT_DLL_DEF_P' => 1, + 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1, + 'AM_PROG_INSTALL_STRIP' => 1, + 'AM_AUX_DIR_EXPAND' => 1, + 'AC_LIBTOOL_LANG_RC_CONFIG' => 1, + 'AC_CHECK_LIBM' => 1, + '_LT_AC_LANG_GCJ_CONFIG' => 1, + '_LT_PROG_FC' => 1, + '_LT_AC_TAGCONFIG' => 1, + 'LT_PATH_LD' => 1, 'LTOBSOLETE_VERSION' => 1, - 'AC_LIBTOOL_SYS_LIB_STRIP' => 1, - '_LT_PROG_ECHO_BACKSLASH' => 1, - 'PKG_CHECK_VAR' => 1, + '_LT_AC_TRY_DLOPEN_SELF' => 1, + 'AM_ENABLE_SHARED' => 1, + 'AC_PROG_LD_RELOAD_FLAG' => 1, '_LT_CC_BASENAME' => 1, - '_LT_AC_PROG_CXXCPP' => 1, - 'AC_LIBTOOL_LANG_F77_CONFIG' => 1, - '_LT_AC_LANG_CXX' => 1, - 'AM_DISABLE_STATIC' => 1, - 'LT_AC_PROG_RC' => 1, - 'AC_LIBTOOL_OBJDIR' => 1, - 'AC_LTDL_OBJDIR' => 1, - 'LTOPTIONS_VERSION' => 1, - 'PKG_CHECK_MODULES_STATIC' => 1, - 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1, - 'LT_PROG_RC' => 1, - 'm4_pattern_allow' => 1, - 'AM_PROG_INSTALL_SH' => 1, - 'AC_PROG_LD_GNU' => 1, - 'AC_LIBTOOL_COMPILER_OPTION' => 1, + 'AC_LTDL_PREOPEN' => 1, + '_LT_AC_LANG_RC_CONFIG' => 1, + 'AC_PROG_LD' => 1, + 'AC_LIBTOOL_LINKER_OPTION' => 1, + '_LT_LINKER_BOILERPLATE' => 1, + '_LT_AC_CHECK_DLFCN' => 1, + 'AC_LIBTOOL_SYS_LIB_STRIP' => 1, + '_LT_PATH_TOOL_PREFIX' => 1, 'AM_SILENT_RULES' => 1, - '_LT_PREPARE_SED_QUOTE_VARS' => 1, - 'm4_pattern_forbid' => 1, - '_LT_AC_SYS_COMPILER' => 1, - '_LT_PROG_F77' => 1, - 'AU_DEFUN' => 1, - '_PKG_SHORT_ERRORS_SUPPORTED' => 1, - '_LT_PROG_LTMAIN' => 1, - 'AC_LIBTOOL_PICMODE' => 1, - '_LT_LINKER_OPTION' => 1, - 'LT_SYS_DLOPEN_SELF' => 1, - 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1, - 'LT_OUTPUT' => 1, - 'AC_ENABLE_STATIC' => 1, - 'PKG_CHECK_MODULES' => 1, + 'AM_ENABLE_STATIC' => 1, '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, - 'AC_CHECK_LIBM' => 1, - '_LT_AC_LANG_C_CONFIG' => 1, - '_LT_COMPILER_BOILERPLATE' => 1, - 'AM_AUTOMAKE_VERSION' => 1, - '_LT_DLL_DEF_P' => 1, + 'AC_CONFIG_MACRO_DIR' => 1, + '_AM_DEPENDENCIES' => 1, + '_AM_IF_OPTION' => 1, '_AM_SET_OPTIONS' => 1, + 'PKG_CHECK_MODULES' => 1, + 'LT_PROG_GO' => 1, + 'AU_DEFUN' => 1, + 'AC_DISABLE_STATIC' => 1, + 'AC_LIBTOOL_LANG_F77_CONFIG' => 1, + 'AM_PROG_LD' => 1, + 'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1, + 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1, 'AC_PATH_MAGIC' => 1, - 'LT_CMD_MAX_LEN' => 1, - 'LTSUGAR_VERSION' => 1, + 'AM_SET_LEADING_DOT' => 1, + 'AC_LTDL_OBJDIR' => 1, + 'AC_DISABLE_SHARED' => 1, + 'LT_OUTPUT' => 1, + 'AC_PROG_NM' => 1, + 'LTOPTIONS_VERSION' => 1, + 'AC_LIBTOOL_PROG_CC_C_O' => 1, '_AM_SET_OPTION' => 1, - '_AM_AUTOCONF_VERSION' => 1, - 'LT_INIT' => 1, - 'AC_ENABLE_FAST_INSTALL' => 1, - 'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1, - 'LT_SUPPORTED_TAG' => 1, 'AC_DEFUN_ONCE' => 1, - 'AC_LIBTOOL_CXX' => 1, - '_AM_MANGLE_OPTION' => 1, - 'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1, - 'AC_PATH_TOOL_PREFIX' => 1, - 'AC_CONFIG_MACRO_DIR_TRACE' => 1 + '_PKG_SHORT_ERRORS_SUPPORTED' => 1, + 'AM_AUTOMAKE_VERSION' => 1, + '_LT_LINKER_OPTION' => 1, + 'LT_INIT' => 1, + '_LT_PROG_ECHO_BACKSLASH' => 1, + 'AC_LIBTOOL_POSTDEP_PREDEP' => 1, + 'LT_CMD_MAX_LEN' => 1, + 'AC_DEFUN' => 1, + '_LT_PROG_F77' => 1, + '_LT_REQUIRED_DARWIN_CHECKS' => 1, + 'AC_LIBTOOL_F77' => 1, + 'LT_PROG_GCJ' => 1, + 'AM_DISABLE_SHARED' => 1, + 'm4_pattern_allow' => 1, + '_AC_AM_CONFIG_HEADER_HOOK' => 1, + 'AC_ENABLE_SHARED' => 1, + 'AC_PROG_EGREP' => 1, + 'AC_ENABLE_STATIC' => 1, + 'PKG_NOARCH_INSTALLDIR' => 1, + 'AC_LIBTOOL_GCJ' => 1, + 'LT_AC_PROG_GCJ' => 1, + 'LT_AC_PROG_RC' => 1 } ], 'Autom4te::Request' ), bless( [ '1', 1, [ '/usr/share/autoconf' ], [ '/usr/share/autoconf/autoconf/autoconf.m4f', 'aclocal.m4', 'configure.ac' ], { + 'AM_PROG_F77_C_O' => 1, + 'AM_AUTOMAKE_VERSION' => 1, + '_AM_COND_ELSE' => 1, + 'AC_CONFIG_LIBOBJ_DIR' => 1, + 'AM_MAINTAINER_MODE' => 1, 'sinclude' => 1, - 'AM_PATH_GUILE' => 1, - 'AM_PROG_AR' => 1, + 'AM_GNU_GETTEXT' => 1, + 'AC_SUBST' => 1, + 'LT_INIT' => 1, + 'AC_CANONICAL_HOST' => 1, + 'AC_CANONICAL_BUILD' => 1, + 'AM_POT_TOOLS' => 1, + 'AC_CONFIG_LINKS' => 1, 'AM_CONDITIONAL' => 1, - 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1, - 'AM_MAINTAINER_MODE' => 1, - '_AM_MAKEFILE_INCLUDE' => 1, - 'AM_XGETTEXT_OPTION' => 1, - 'AM_NLS' => 1, + 'AH_OUTPUT' => 1, + 'AC_REQUIRE_AUX_FILE' => 1, + 'include' => 1, + 'm4_sinclude' => 1, + 'AC_CONFIG_FILES' => 1, '_LT_AC_TAGCONFIG' => 1, + 'AM_PROG_MKDIR_P' => 1, + '_AM_SUBST_NOTMAKE' => 1, + 'AC_FC_FREEFORM' => 1, 'AC_LIBSOURCE' => 1, - 'AM_PROG_FC_C_O' => 1, - 'AC_FC_PP_SRCEXT' => 1, - 'include' => 1, - 'AM_AUTOMAKE_VERSION' => 1, - 'AM_PROG_CXX_C_O' => 1, - 'm4_pattern_forbid' => 1, - 'AC_INIT' => 1, + 'AM_PATH_GUILE' => 1, + 'm4_pattern_allow' => 1, + '_AM_MAKEFILE_INCLUDE' => 1, 'AC_CONFIG_AUX_DIR' => 1, 'm4_include' => 1, - 'AC_DEFINE_TRACE_LITERAL' => 1, - 'AM_PROG_F77_C_O' => 1, + 'AC_SUBST_TRACE' => 1, + 'AM_PROG_MOC' => 1, + 'AM_PROG_CXX_C_O' => 1, + 'AC_CANONICAL_SYSTEM' => 1, + '_AM_COND_IF' => 1, + 'AM_XGETTEXT_OPTION' => 1, 'AM_SILENT_RULES' => 1, - 'AM_EXTRA_RECURSIVE_TARGETS' => 1, - 'AC_REQUIRE_AUX_FILE' => 1, + 'AC_CONFIG_HEADERS' => 1, 'AM_PROG_CC_C_O' => 1, - 'AM_INIT_AUTOMAKE' => 1, + 'm4_pattern_forbid' => 1, + 'AC_FC_PP_SRCEXT' => 1, + 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1, + 'AC_INIT' => 1, + '_m4_warn' => 1, + 'LT_SUPPORTED_TAG' => 1, + 'AM_PROG_FC_C_O' => 1, 'AC_FC_PP_DEFINE' => 1, + 'AM_INIT_AUTOMAKE' => 1, + 'AM_NLS' => 1, 'AC_FC_SRCEXT' => 1, - '_AM_SUBST_NOTMAKE' => 1, - 'AM_MAKEFILE_INCLUDE' => 1, - 'AC_CONFIG_LINKS' => 1, - 'AC_PROG_LIBTOOL' => 1, - '_AM_COND_ENDIF' => 1, - 'LT_SUPPORTED_TAG' => 1, - 'm4_sinclude' => 1, - 'AC_CANONICAL_SYSTEM' => 1, - 'AC_FC_FREEFORM' => 1, - 'm4_pattern_allow' => 1, - '_AM_COND_IF' => 1, - '_m4_warn' => 1, - '_AM_COND_ELSE' => 1, - 'AC_CANONICAL_BUILD' => 1, - 'AM_PROG_MKDIR_P' => 1, - 'AC_CANONICAL_HOST' => 1, - 'AC_CONFIG_SUBDIRS' => 1, + 'AC_DEFINE_TRACE_LITERAL' => 1, 'AM_PROG_LIBTOOL' => 1, - 'AC_CANONICAL_TARGET' => 1, - 'AH_OUTPUT' => 1, 'LT_CONFIG_LTDL_DIR' => 1, + 'AC_CONFIG_SUBDIRS' => 1, 'AM_ENABLE_MULTILIB' => 1, - 'AC_CONFIG_LIBOBJ_DIR' => 1, - 'AC_CONFIG_FILES' => 1, - 'AM_POT_TOOLS' => 1, - 'AM_PROG_MOC' => 1, - 'AC_CONFIG_HEADERS' => 1, - 'AM_GNU_GETTEXT' => 1, - 'LT_INIT' => 1, - 'AC_SUBST_TRACE' => 1, - 'AC_SUBST' => 1 + 'AM_PROG_AR' => 1, + 'AM_EXTRA_RECURSIVE_TARGETS' => 1, + 'AM_MAKEFILE_INCLUDE' => 1, + 'AC_PROG_LIBTOOL' => 1, + '_AM_COND_ENDIF' => 1, + 'AC_CANONICAL_TARGET' => 1 } ], 'Autom4te::Request' ), bless( [ '2', 1, [ '/usr/share/autoconf' ], [ '/usr/share/autoconf/autoconf/autoconf.m4f', '-', '/usr/share/aclocal-1.15/internal/ac-config-macro-dirs.m4', '/usr/share/aclocal/ltargz.m4', '/usr/share/aclocal/ltdl.m4', '/usr/share/aclocal/pkg.m4', '/usr/share/aclocal-1.15/amversion.m4', '/usr/share/aclocal-1.15/auxdir.m4', '/usr/share/aclocal-1.15/cond.m4', '/usr/share/aclocal-1.15/depend.m4', '/usr/share/aclocal-1.15/depout.m4', '/usr/share/aclocal-1.15/init.m4', '/usr/share/aclocal-1.15/install-sh.m4', '/usr/share/aclocal-1.15/lead-dot.m4', '/usr/share/aclocal-1.15/make.m4', '/usr/share/aclocal-1.15/missing.m4', '/usr/share/aclocal-1.15/options.m4', '/usr/share/aclocal-1.15/prog-cc-c-o.m4', '/usr/share/aclocal-1.15/runlog.m4', '/usr/share/aclocal-1.15/sanity.m4', '/usr/share/aclocal-1.15/silent.m4', '/usr/share/aclocal-1.15/strip.m4', '/usr/share/aclocal-1.15/substnot.m4', '/usr/share/aclocal-1.15/tar.m4', 'm4/libtool.m4', 'm4/ltoptions.m4', 'm4/ltsugar.m4', 'm4/ltversion.m4', 'm4/lt~obsolete.m4', 'configure.ac' ], { + 'AC_LIBTOOL_LANG_C_CONFIG' => 1, 'LT_LIB_M' => 1, - 'AM_MISSING_PROG' => 1, - '_LT_LINKER_BOILERPLATE' => 1, - 'AC_CONFIG_MACRO_DIR' => 1, - '_LT_AC_LANG_RC_CONFIG' => 1, - 'AC_DISABLE_SHARED' => 1, - 'AC_LIBLTDL_CONVENIENCE' => 1, - 'LTVERSION_VERSION' => 1, + 'm4_include' => 1, + 'AM_PROG_NM' => 1, + 'LTSUGAR_VERSION' => 1, 'AC_LIBTOOL_WIN32_DLL' => 1, - 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1, - '_AM_DEPENDENCIES' => 1, - 'AC_PROG_LIBTOOL' => 1, - 'AM_AUX_DIR_EXPAND' => 1, - 'AC_LTDL_SYMBOL_USCORE' => 1, - 'AM_SET_DEPDIR' => 1, - 'PKG_NOARCH_INSTALLDIR' => 1, - 'AC_PROG_LD' => 1, - '_LT_AC_LANG_CXX_CONFIG' => 1, - '_LT_AC_TAGVAR' => 1, - 'LTDL_CONVENIENCE' => 1, - 'LT_PATH_NM' => 1, - 'include' => 1, - '_LT_AC_PROG_ECHO_BACKSLASH' => 1, - 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1, - 'AC_LIBTOOL_LANG_C_CONFIG' => 1, - 'AC_LIBTOOL_GCJ' => 1, - 'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1, - 'LT_AC_PROG_GCJ' => 1, - 'AC_LTDL_ENABLE_INSTALL' => 1, - '_LT_REQUIRED_DARWIN_CHECKS' => 1, - '_AC_AM_CONFIG_HEADER_HOOK' => 1, - 'LT_SYS_SYMBOL_USCORE' => 1, - 'AC_LTDL_PREOPEN' => 1, - 'AM_PROG_LD' => 1, - 'AC_DISABLE_STATIC' => 1, - 'AM_SUBST_NOTMAKE' => 1, - 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1, - 'AC_DEFUN' => 1, - 'AC_LIBTOOL_PROG_LD_SHLIBS' => 1, - 'AC_LIB_LTDL' => 1, + 'AC_LIBTOOL_PICMODE' => 1, + 'LT_SYS_DLOPEN_SELF' => 1, + '_LTDL_SETUP' => 1, + 'AC_LIBTOOL_DLOPEN' => 1, + '_LT_COMPILER_BOILERPLATE' => 1, + 'AC_LIBTOOL_RC' => 1, + '_LT_AC_LANG_F77_CONFIG' => 1, + 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1, + 'AC_LTDL_SHLIBPATH' => 1, + '_LT_PREPARE_SED_QUOTE_VARS' => 1, '_LT_PROG_CXX' => 1, - 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, - '_LT_PROG_FC' => 1, - 'AC_LIBTOOL_DLOPEN_SELF' => 1, - 'AM_SET_LEADING_DOT' => 1, - 'LT_PROG_GCJ' => 1, - '_AM_PROG_TAR' => 1, - '_LT_AC_CHECK_DLFCN' => 1, - '_m4_warn' => 1, + '_LT_AC_SHELL_INIT' => 1, + '_LT_AC_SYS_LIBPATH_AIX' => 1, + 'AC_LIBTOOL_PROG_LD_SHLIBS' => 1, + 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1, + 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1, 'AM_RUN_LOG' => 1, - 'AC_LIBTOOL_PROG_CC_C_O' => 1, - '_AM_PROG_CC_C_O' => 1, - 'LT_PROG_GO' => 1, - 'AM_PROG_CC_C_O' => 1, - 'AC_LIBTOOL_POSTDEP_PREDEP' => 1, - 'AC_LIBTOOL_LINKER_OPTION' => 1, - 'AM_PROG_INSTALL_STRIP' => 1, - 'AM_DISABLE_SHARED' => 1, + 'AM_PROG_LIBTOOL' => 1, + 'LT_SYS_MODULE_EXT' => 1, + 'AM_DEP_TRACK' => 1, + '_AM_CONFIG_MACRO_DIRS' => 1, + 'AC_PROG_LD_GNU' => 1, + '_LT_AC_LANG_GCJ' => 1, + 'LT_WITH_LTDL' => 1, + 'AC_CONFIG_MACRO_DIR_TRACE' => 1, + 'm4_pattern_forbid' => 1, + '_AM_PROG_TAR' => 1, + '_LT_AC_SYS_COMPILER' => 1, + 'AC_LIBTOOL_DLOPEN_SELF' => 1, + '_AM_AUTOCONF_VERSION' => 1, 'LT_AC_PROG_SED' => 1, + '_m4_warn' => 1, + 'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1, + 'LT_FUNC_DLSYM_USCORE' => 1, + 'AC_LTDL_DLSYM_USCORE' => 1, + '_LT_AC_LANG_CXX' => 1, + 'LTVERSION_VERSION' => 1, + 'LT_SYS_MODULE_PATH' => 1, + '_LT_AC_FILE_LTDLL_C' => 1, '_LT_AC_LANG_F77' => 1, - 'AM_CONDITIONAL' => 1, - '_LT_AC_LANG_F77_CONFIG' => 1, - 'LT_SYS_DLSEARCH_PATH' => 1, - 'AC_LIBTOOL_FC' => 1, - 'AC_DISABLE_FAST_INSTALL' => 1, - 'PKG_CHECK_EXISTS' => 1, '_AC_PROG_LIBTOOL' => 1, + 'LT_SYS_SYMBOL_USCORE' => 1, + 'PKG_CHECK_VAR' => 1, + 'AC_LIBTOOL_FC' => 1, + 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, + 'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1, '_LT_WITH_SYSROOT' => 1, - '_LT_AC_TAGCONFIG' => 1, - 'AM_ENABLE_STATIC' => 1, - 'AC_PROG_EGREP' => 1, - '_LTDL_SETUP' => 1, - 'AC_PROG_NM' => 1, - 'AM_PROG_LIBTOOL' => 1, - '_LT_AC_SYS_LIBPATH_AIX' => 1, + 'LT_LIB_DLLOAD' => 1, + 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1, + 'include' => 1, + 'AC_LIBTOOL_CXX' => 1, + 'AM_CONDITIONAL' => 1, + '_LT_COMPILER_OPTION' => 1, + 'AC_ENABLE_FAST_INSTALL' => 1, + 'LT_LANG' => 1, + '_AM_SUBST_NOTMAKE' => 1, + 'AC_PATH_TOOL_PREFIX' => 1, + '_LT_PROG_LTMAIN' => 1, + 'AM_MAKE_INCLUDE' => 1, + 'LTDL_INIT' => 1, + 'AC_LIBTOOL_OBJDIR' => 1, + '_LT_AC_LANG_CXX_CONFIG' => 1, + 'AC_LIBTOOL_CONFIG' => 1, + '_LT_AC_LANG_C_CONFIG' => 1, + 'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1, + 'LTDL_INSTALLABLE' => 1, 'LT_CONFIG_LTDL_DIR' => 1, 'LT_AC_PROG_EGREP' => 1, - '_LT_AC_LANG_GCJ_CONFIG' => 1, + 'AC_LIBTOOL_COMPILER_OPTION' => 1, 'PKG_INSTALLDIR' => 1, - '_LT_AC_SHELL_INIT' => 1, + 'AC_LTDL_ENABLE_INSTALL' => 1, + 'AC_LTDL_SHLIBEXT' => 1, + 'AC_DISABLE_FAST_INSTALL' => 1, + 'AM_PROG_CC_C_O' => 1, + '_LT_LIBOBJ' => 1, + '_LT_AC_TAGVAR' => 1, + 'LT_SUPPORTED_TAG' => 1, + 'AM_INIT_AUTOMAKE' => 1, + 'AM_SUBST_NOTMAKE' => 1, + 'AM_MISSING_HAS_RUN' => 1, + '_LT_AC_PROG_CXXCPP' => 1, 'PKG_PROG_PKG_CONFIG' => 1, - '_LT_AC_LANG_GCJ' => 1, - 'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1, - 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1, - '_LT_AC_FILE_LTDLL_C' => 1, + 'PKG_CHECK_EXISTS' => 1, + 'PKG_CHECK_MODULES_STATIC' => 1, + 'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1, + 'm4_pattern_allow' => 1, + 'LT_SYS_DLSEARCH_PATH' => 1, + 'AC_LIBTOOL_GCJ' => 1, + 'PKG_NOARCH_INSTALLDIR' => 1, + 'LT_AC_PROG_RC' => 1, + 'LT_AC_PROG_GCJ' => 1, 'AC_ENABLE_SHARED' => 1, - 'AC_PROG_LD_RELOAD_FLAG' => 1, - '_AM_IF_OPTION' => 1, - 'AM_DEP_TRACK' => 1, - '_LT_PATH_TOOL_PREFIX' => 1, - 'LT_PATH_LD' => 1, - 'AC_LIBTOOL_LANG_RC_CONFIG' => 1, - 'AM_MISSING_HAS_RUN' => 1, - 'AC_DEPLIBS_CHECK_METHOD' => 1, - 'AC_WITH_LTDL' => 1, - 'AC_LIBTOOL_COMPILER_OPTION' => 1, - 'LT_SYS_MODULE_EXT' => 1, - 'AM_SILENT_RULES' => 1, - '_LT_PREPARE_SED_QUOTE_VARS' => 1, - 'm4_pattern_forbid' => 1, - '_LT_AC_SYS_COMPILER' => 1, + '_AC_AM_CONFIG_HEADER_HOOK' => 1, + 'AC_PROG_EGREP' => 1, + 'AC_ENABLE_STATIC' => 1, + 'AC_LIBTOOL_F77' => 1, + '_LT_REQUIRED_DARWIN_CHECKS' => 1, + 'LT_PROG_GCJ' => 1, '_LT_PROG_F77' => 1, - 'AU_DEFUN' => 1, - '_PKG_SHORT_ERRORS_SUPPORTED' => 1, - '_LT_PROG_LTMAIN' => 1, - 'AC_LTDL_DLSYM_USCORE' => 1, - 'AC_LIBTOOL_PICMODE' => 1, - 'LT_SYS_DLOPEN_SELF' => 1, - 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1, + 'AM_DISABLE_SHARED' => 1, + 'AM_AUTOMAKE_VERSION' => 1, '_LT_LINKER_OPTION' => 1, + '_PKG_SHORT_ERRORS_SUPPORTED' => 1, + '_LT_PROG_ECHO_BACKSLASH' => 1, + 'AC_LIBTOOL_POSTDEP_PREDEP' => 1, + 'LT_INIT' => 1, + 'LT_CMD_MAX_LEN' => 1, + 'AC_DEFUN' => 1, + 'AC_DEFUN_ONCE' => 1, + '_AM_SET_OPTION' => 1, + 'AC_LIBTOOL_PROG_CC_C_O' => 1, 'LT_OUTPUT' => 1, - 'AC_ENABLE_STATIC' => 1, - 'AC_LTDL_DLLIB' => 1, + 'AC_DISABLE_SHARED' => 1, + 'AC_LTDL_OBJDIR' => 1, + 'LTOPTIONS_VERSION' => 1, + 'AC_PROG_NM' => 1, + 'AM_SET_LEADING_DOT' => 1, + 'AC_PATH_MAGIC' => 1, + 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1, + 'AC_LIBTOOL_LANG_F77_CONFIG' => 1, + 'AM_PROG_LD' => 1, + 'LT_PROG_GO' => 1, + 'AC_LTDL_SYMBOL_USCORE' => 1, + 'AC_DISABLE_STATIC' => 1, + 'AU_DEFUN' => 1, + 'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1, 'PKG_CHECK_MODULES' => 1, + '_AM_SET_OPTIONS' => 1, + 'LT_FUNC_ARGZ' => 1, + 'AM_ENABLE_STATIC' => 1, + '_AM_IF_OPTION' => 1, + 'AC_CONFIG_MACRO_DIR' => 1, '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, - 'AC_CHECK_LIBM' => 1, - 'LT_LIB_DLLOAD' => 1, - '_LT_COMPILER_BOILERPLATE' => 1, - '_LT_AC_LANG_C_CONFIG' => 1, + '_AM_DEPENDENCIES' => 1, + '_LT_AC_CHECK_DLFCN' => 1, + 'AC_LIBTOOL_SYS_LIB_STRIP' => 1, + 'AC_PROG_LD' => 1, + 'AC_LIBTOOL_LINKER_OPTION' => 1, + '_LT_LINKER_BOILERPLATE' => 1, + '_LT_PATH_TOOL_PREFIX' => 1, + 'AM_SILENT_RULES' => 1, + '_LT_AC_TRY_DLOPEN_SELF' => 1, + 'AM_ENABLE_SHARED' => 1, + 'LT_SYS_DLOPEN_DEPLIBS' => 1, + '_LT_CC_BASENAME' => 1, 'AC_LTDL_SYSSEARCHPATH' => 1, - 'AM_AUTOMAKE_VERSION' => 1, - '_LT_DLL_DEF_P' => 1, - '_AM_SET_OPTIONS' => 1, - 'AC_PATH_MAGIC' => 1, - 'LT_CMD_MAX_LEN' => 1, - 'LTSUGAR_VERSION' => 1, - '_AM_SET_OPTION' => 1, + '_LT_AC_LANG_RC_CONFIG' => 1, + 'AC_LTDL_PREOPEN' => 1, + 'AC_PROG_LD_RELOAD_FLAG' => 1, + '_LT_PROG_FC' => 1, 'AC_LIBLTDL_INSTALLABLE' => 1, - '_AM_AUTOCONF_VERSION' => 1, - 'LT_INIT' => 1, - 'AC_ENABLE_FAST_INSTALL' => 1, - 'LT_SUPPORTED_TAG' => 1, - 'AC_DEFUN_ONCE' => 1, - 'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1, - 'AC_LIBTOOL_CXX' => 1, + '_LT_AC_LANG_GCJ_CONFIG' => 1, + 'LTOBSOLETE_VERSION' => 1, + 'AC_WITH_LTDL' => 1, + '_LT_AC_TAGCONFIG' => 1, + 'LT_PATH_LD' => 1, + 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1, + 'AM_PROG_INSTALL_STRIP' => 1, + 'AM_AUX_DIR_EXPAND' => 1, '_AM_MANGLE_OPTION' => 1, - 'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1, - 'AC_PATH_TOOL_PREFIX' => 1, - 'LT_SYS_DLOPEN_DEPLIBS' => 1, - 'AC_CONFIG_MACRO_DIR_TRACE' => 1, - '_LT_AC_LOCK' => 1, - 'AM_ENABLE_SHARED' => 1, - 'AC_LIBTOOL_F77' => 1, - '_AM_CONFIG_MACRO_DIRS' => 1, - 'LT_LANG' => 1, - 'AM_PROG_NM' => 1, - 'AC_LIBTOOL_DLOPEN' => 1, - '_LT_LIBOBJ' => 1, - 'm4_include' => 1, - 'AC_LIBTOOL_SETUP' => 1, - 'AC_LIBTOOL_RC' => 1, - 'AM_INIT_AUTOMAKE' => 1, - 'AC_LIBTOOL_CONFIG' => 1, - '_LT_AC_TRY_DLOPEN_SELF' => 1, 'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1, - 'AM_MAKE_INCLUDE' => 1, + '_LT_DLL_DEF_P' => 1, + 'AC_LIBTOOL_LANG_RC_CONFIG' => 1, + 'AC_CHECK_LIBM' => 1, + 'LT_PROG_RC' => 1, + 'AC_LIBLTDL_CONVENIENCE' => 1, + 'AC_PROG_LIBTOOL' => 1, + 'AM_MISSING_PROG' => 1, 'AM_SANITY_CHECK' => 1, - '_AM_SUBST_NOTMAKE' => 1, - 'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1, - '_LT_COMPILER_OPTION' => 1, - 'LTOBSOLETE_VERSION' => 1, - 'AC_LIBTOOL_SYS_LIB_STRIP' => 1, - 'LT_FUNC_DLSYM_USCORE' => 1, - '_LT_PROG_ECHO_BACKSLASH' => 1, - 'PKG_CHECK_VAR' => 1, - 'LTDL_INSTALLABLE' => 1, - 'AC_LTDL_SHLIBEXT' => 1, - '_LT_CC_BASENAME' => 1, - '_LT_AC_PROG_CXXCPP' => 1, - 'LT_WITH_LTDL' => 1, - 'AC_LIBTOOL_LANG_F77_CONFIG' => 1, - 'LTDL_INIT' => 1, - '_LT_AC_LANG_CXX' => 1, - 'AC_LTDL_SHLIBPATH' => 1, + 'AC_DEPLIBS_CHECK_METHOD' => 1, + '_LT_AC_PROG_ECHO_BACKSLASH' => 1, + 'LT_PATH_NM' => 1, 'AM_DISABLE_STATIC' => 1, - 'AC_LIBTOOL_OBJDIR' => 1, - 'LT_AC_PROG_RC' => 1, - 'AC_LTDL_OBJDIR' => 1, - 'LT_FUNC_ARGZ' => 1, - 'LTOPTIONS_VERSION' => 1, - 'PKG_CHECK_MODULES_STATIC' => 1, - 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1, - 'LT_SYS_MODULE_PATH' => 1, - 'LT_PROG_RC' => 1, - 'm4_pattern_allow' => 1, + 'LTDL_CONVENIENCE' => 1, + 'AC_LIBTOOL_SETUP' => 1, + 'AC_LIB_LTDL' => 1, 'AM_PROG_INSTALL_SH' => 1, - 'AC_PROG_LD_GNU' => 1 + 'AM_SET_DEPDIR' => 1, + 'AC_LTDL_DLLIB' => 1, + '_AM_PROG_CC_C_O' => 1, + '_LT_AC_LOCK' => 1 } ], 'Autom4te::Request' ), bless( [ '3', 1, [ '/usr/share/autoconf' ], [ '/usr/share/autoconf/autoconf/autoconf.m4f', '-', '/usr/share/aclocal-1.15/internal/ac-config-macro-dirs.m4', '/usr/share/aclocal/ltargz.m4', '/usr/share/aclocal/ltdl.m4', '/usr/share/aclocal/pkg.m4', '/usr/share/aclocal-1.15/amversion.m4', '/usr/share/aclocal-1.15/auxdir.m4', '/usr/share/aclocal-1.15/cond.m4', '/usr/share/aclocal-1.15/depend.m4', '/usr/share/aclocal-1.15/depout.m4', '/usr/share/aclocal-1.15/extra-recurs.m4', '/usr/share/aclocal-1.15/init.m4', '/usr/share/aclocal-1.15/install-sh.m4', '/usr/share/aclocal-1.15/lead-dot.m4', '/usr/share/aclocal-1.15/make.m4', '/usr/share/aclocal-1.15/missing.m4', '/usr/share/aclocal-1.15/options.m4', '/usr/share/aclocal-1.15/prog-cc-c-o.m4', '/usr/share/aclocal-1.15/runlog.m4', '/usr/share/aclocal-1.15/sanity.m4', '/usr/share/aclocal-1.15/silent.m4', '/usr/share/aclocal-1.15/strip.m4', '/usr/share/aclocal-1.15/substnot.m4', '/usr/share/aclocal-1.15/tar.m4', 'm4/libtool.m4', 'm4/ltoptions.m4', 'm4/ltsugar.m4', 'm4/ltversion.m4', 'm4/lt~obsolete.m4', 'configure.ac' ], { - 'AC_CHECK_LIBM' => 1, + 'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1, 'LT_LIB_DLLOAD' => 1, - 'PKG_CHECK_MODULES' => 1, - '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, - 'AC_LTDL_DLLIB' => 1, - '_AM_SET_OPTIONS' => 1, - '_LT_DLL_DEF_P' => 1, - 'AM_AUTOMAKE_VERSION' => 1, - 'AC_LTDL_SYSSEARCHPATH' => 1, - '_LT_COMPILER_BOILERPLATE' => 1, - '_LT_AC_LANG_C_CONFIG' => 1, - 'AC_LIBTOOL_PICMODE' => 1, - 'AC_LTDL_DLSYM_USCORE' => 1, - 'AC_ENABLE_STATIC' => 1, - 'LT_OUTPUT' => 1, - 'LT_SYS_DLOPEN_SELF' => 1, - 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1, - '_LT_LINKER_OPTION' => 1, - 'AU_DEFUN' => 1, - '_LT_PROG_F77' => 1, - '_LT_PROG_LTMAIN' => 1, - '_PKG_SHORT_ERRORS_SUPPORTED' => 1, - 'LT_SYS_MODULE_EXT' => 1, - 'AC_LIBTOOL_COMPILER_OPTION' => 1, - '_LT_AC_SYS_COMPILER' => 1, - 'm4_pattern_forbid' => 1, - '_LT_PREPARE_SED_QUOTE_VARS' => 1, - 'AM_SILENT_RULES' => 1, - 'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1, - '_AM_MANGLE_OPTION' => 1, + '_LT_WITH_SYSROOT' => 1, + 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, + 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1, 'AC_LIBTOOL_CXX' => 1, - 'AC_CONFIG_MACRO_DIR_TRACE' => 1, - 'LT_SYS_DLOPEN_DEPLIBS' => 1, - 'AC_PATH_TOOL_PREFIX' => 1, - 'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1, - 'LT_SUPPORTED_TAG' => 1, - 'AC_DEFUN_ONCE' => 1, + 'AM_CONDITIONAL' => 1, + 'include' => 1, + 'LT_LANG' => 1, 'AC_ENABLE_FAST_INSTALL' => 1, - 'AC_LIBLTDL_INSTALLABLE' => 1, - '_AM_SET_OPTION' => 1, - 'LT_INIT' => 1, - '_AM_AUTOCONF_VERSION' => 1, - 'AC_PATH_MAGIC' => 1, - 'LTSUGAR_VERSION' => 1, - 'LT_CMD_MAX_LEN' => 1, - 'LTDL_INSTALLABLE' => 1, - 'PKG_CHECK_VAR' => 1, - 'LT_WITH_LTDL' => 1, - '_LT_AC_PROG_CXXCPP' => 1, - '_LT_CC_BASENAME' => 1, - 'AC_LTDL_SHLIBEXT' => 1, '_LT_COMPILER_OPTION' => 1, - 'LTOBSOLETE_VERSION' => 1, - 'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1, - '_LT_PROG_ECHO_BACKSLASH' => 1, - 'LT_FUNC_DLSYM_USCORE' => 1, - 'AC_LIBTOOL_SYS_LIB_STRIP' => 1, - '_LT_AC_TRY_DLOPEN_SELF' => 1, - 'AC_LIBTOOL_CONFIG' => 1, - 'AM_INIT_AUTOMAKE' => 1, - 'AC_LIBTOOL_RC' => 1, - '_AM_SUBST_NOTMAKE' => 1, - 'AM_SANITY_CHECK' => 1, 'AM_MAKE_INCLUDE' => 1, - 'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1, - 'AC_LIBTOOL_F77' => 1, - '_AM_CONFIG_MACRO_DIRS' => 1, - 'AM_ENABLE_SHARED' => 1, - '_LT_AC_LOCK' => 1, - 'AC_LIBTOOL_SETUP' => 1, - 'm4_include' => 1, - '_LT_LIBOBJ' => 1, - 'AC_LIBTOOL_DLOPEN' => 1, - 'AM_PROG_NM' => 1, - 'LT_LANG' => 1, - 'AM_PROG_INSTALL_SH' => 1, - 'm4_pattern_allow' => 1, - 'AC_PROG_LD_GNU' => 1, - 'LT_SYS_MODULE_PATH' => 1, - 'LT_PROG_RC' => 1, - 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1, - 'AC_LTDL_OBJDIR' => 1, - 'LT_FUNC_ARGZ' => 1, - 'LT_AC_PROG_RC' => 1, + '_AM_SUBST_NOTMAKE' => 1, + 'AC_PATH_TOOL_PREFIX' => 1, + '_LT_PROG_LTMAIN' => 1, 'AC_LIBTOOL_OBJDIR' => 1, - 'PKG_CHECK_MODULES_STATIC' => 1, - 'LTOPTIONS_VERSION' => 1, 'LTDL_INIT' => 1, - 'AC_LIBTOOL_LANG_F77_CONFIG' => 1, - 'AM_DISABLE_STATIC' => 1, - 'AC_LTDL_SHLIBPATH' => 1, - '_LT_AC_LANG_CXX' => 1, - 'LT_PATH_NM' => 1, - 'LTDL_CONVENIENCE' => 1, + 'LT_SYS_MODULE_PATH' => 1, + '_LT_AC_FILE_LTDLL_C' => 1, + '_LT_AC_LANG_F77' => 1, + '_AC_PROG_LIBTOOL' => 1, + 'LT_SYS_SYMBOL_USCORE' => 1, + 'AC_LIBTOOL_FC' => 1, + 'PKG_CHECK_VAR' => 1, '_LT_AC_TAGVAR' => 1, + 'AM_PROG_CC_C_O' => 1, + '_LT_LIBOBJ' => 1, + 'AC_DISABLE_FAST_INSTALL' => 1, + 'AM_INIT_AUTOMAKE' => 1, + 'LT_SUPPORTED_TAG' => 1, + '_LT_AC_PROG_CXXCPP' => 1, + 'AM_MISSING_HAS_RUN' => 1, + 'AM_SUBST_NOTMAKE' => 1, + 'PKG_CHECK_EXISTS' => 1, + 'PKG_CHECK_MODULES_STATIC' => 1, + 'PKG_PROG_PKG_CONFIG' => 1, + 'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1, '_LT_AC_LANG_CXX_CONFIG' => 1, + '_LT_AC_LANG_C_CONFIG' => 1, + 'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1, + 'AC_LIBTOOL_CONFIG' => 1, + 'LT_AC_PROG_EGREP' => 1, + 'LT_CONFIG_LTDL_DIR' => 1, + 'LTDL_INSTALLABLE' => 1, + 'AC_LIBTOOL_COMPILER_OPTION' => 1, + 'AC_LTDL_ENABLE_INSTALL' => 1, + 'PKG_INSTALLDIR' => 1, + 'AC_LTDL_SHLIBEXT' => 1, + 'LT_SYS_DLOPEN_SELF' => 1, + '_LTDL_SETUP' => 1, + 'AC_LIBTOOL_DLOPEN' => 1, + '_LT_COMPILER_BOILERPLATE' => 1, + 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1, + 'AC_LIBTOOL_RC' => 1, + '_LT_AC_LANG_F77_CONFIG' => 1, + '_LT_PROG_CXX' => 1, + 'AC_LTDL_SHLIBPATH' => 1, + '_LT_PREPARE_SED_QUOTE_VARS' => 1, + '_LT_AC_SYS_LIBPATH_AIX' => 1, + 'AC_LIBTOOL_PROG_LD_SHLIBS' => 1, + '_LT_AC_SHELL_INIT' => 1, + 'LT_LIB_M' => 1, 'AC_LIBTOOL_LANG_C_CONFIG' => 1, - 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1, - 'include' => 1, - '_LT_AC_PROG_ECHO_BACKSLASH' => 1, - 'AM_AUX_DIR_EXPAND' => 1, - 'AC_PROG_LD' => 1, - 'PKG_NOARCH_INSTALLDIR' => 1, - 'AM_SET_DEPDIR' => 1, - 'AC_LTDL_SYMBOL_USCORE' => 1, - 'AM_EXTRA_RECURSIVE_TARGETS' => 1, + 'm4_include' => 1, + 'AM_PROG_NM' => 1, + 'LTSUGAR_VERSION' => 1, 'AC_LIBTOOL_WIN32_DLL' => 1, - 'LTVERSION_VERSION' => 1, - 'AC_PROG_LIBTOOL' => 1, - 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1, - '_AM_DEPENDENCIES' => 1, - 'AM_MISSING_PROG' => 1, - '_LT_LINKER_BOILERPLATE' => 1, - 'LT_LIB_M' => 1, - 'AC_LIBLTDL_CONVENIENCE' => 1, - 'AC_DISABLE_SHARED' => 1, - 'AC_CONFIG_MACRO_DIR' => 1, - '_LT_AC_LANG_RC_CONFIG' => 1, + 'AC_LIBTOOL_PICMODE' => 1, + 'm4_pattern_forbid' => 1, + 'LT_WITH_LTDL' => 1, + 'AC_CONFIG_MACRO_DIR_TRACE' => 1, + '_LT_AC_SYS_COMPILER' => 1, '_AM_PROG_TAR' => 1, - 'LT_PROG_GCJ' => 1, - 'AM_SET_LEADING_DOT' => 1, - 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, - '_LT_PROG_FC' => 1, 'AC_LIBTOOL_DLOPEN_SELF' => 1, + '_AM_AUTOCONF_VERSION' => 1, '_m4_warn' => 1, - '_LT_AC_CHECK_DLFCN' => 1, - 'AC_DEFUN' => 1, - 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1, - 'AM_SUBST_NOTMAKE' => 1, - 'AC_DISABLE_STATIC' => 1, - '_LT_PROG_CXX' => 1, - 'AC_LIB_LTDL' => 1, - 'AC_LIBTOOL_PROG_LD_SHLIBS' => 1, - '_AC_AM_CONFIG_HEADER_HOOK' => 1, - 'AM_PROG_LD' => 1, + 'LT_AC_PROG_SED' => 1, + 'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1, + 'LTVERSION_VERSION' => 1, + '_LT_AC_LANG_CXX' => 1, + 'LT_FUNC_DLSYM_USCORE' => 1, + 'AC_LTDL_DLSYM_USCORE' => 1, + 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1, + 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1, + 'LT_SYS_MODULE_EXT' => 1, + 'AM_PROG_LIBTOOL' => 1, + 'AM_RUN_LOG' => 1, + 'AM_DEP_TRACK' => 1, + '_AM_CONFIG_MACRO_DIRS' => 1, + 'AC_PROG_LD_GNU' => 1, + '_LT_AC_LANG_GCJ' => 1, + 'LT_SYS_DLOPEN_DEPLIBS' => 1, + 'AM_ENABLE_SHARED' => 1, + '_LT_AC_TRY_DLOPEN_SELF' => 1, 'AC_LTDL_PREOPEN' => 1, - 'LT_SYS_SYMBOL_USCORE' => 1, - 'LT_AC_PROG_GCJ' => 1, - 'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1, - 'AC_LIBTOOL_GCJ' => 1, - '_LT_REQUIRED_DARWIN_CHECKS' => 1, - 'AC_LTDL_ENABLE_INSTALL' => 1, + '_LT_AC_LANG_RC_CONFIG' => 1, + 'AC_LTDL_SYSSEARCHPATH' => 1, + '_LT_CC_BASENAME' => 1, + 'AC_PROG_LD_RELOAD_FLAG' => 1, + 'AC_LIBLTDL_INSTALLABLE' => 1, + '_LT_PROG_FC' => 1, + '_LT_AC_LANG_GCJ_CONFIG' => 1, + 'AC_WITH_LTDL' => 1, + 'LTOBSOLETE_VERSION' => 1, + 'LT_PATH_LD' => 1, '_LT_AC_TAGCONFIG' => 1, - '_LT_WITH_SYSROOT' => 1, - 'AC_PROG_NM' => 1, - 'AC_PROG_EGREP' => 1, - '_LTDL_SETUP' => 1, 'AM_ENABLE_STATIC' => 1, - 'LT_SYS_DLSEARCH_PATH' => 1, - '_LT_AC_LANG_F77_CONFIG' => 1, - 'AM_CONDITIONAL' => 1, - '_AC_PROG_LIBTOOL' => 1, - 'PKG_CHECK_EXISTS' => 1, - 'AC_LIBTOOL_FC' => 1, - 'AC_DISABLE_FAST_INSTALL' => 1, - 'AM_PROG_INSTALL_STRIP' => 1, + '_AM_IF_OPTION' => 1, + '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, + 'AC_CONFIG_MACRO_DIR' => 1, + '_AM_DEPENDENCIES' => 1, + '_LT_AC_CHECK_DLFCN' => 1, + 'AC_LIBTOOL_SYS_LIB_STRIP' => 1, 'AC_LIBTOOL_LINKER_OPTION' => 1, - 'AM_PROG_CC_C_O' => 1, - 'AC_LIBTOOL_POSTDEP_PREDEP' => 1, - '_LT_AC_LANG_F77' => 1, - 'LT_AC_PROG_SED' => 1, - 'AM_DISABLE_SHARED' => 1, - 'AC_LIBTOOL_PROG_CC_C_O' => 1, + '_LT_LINKER_BOILERPLATE' => 1, + 'AC_PROG_LD' => 1, + 'AM_SILENT_RULES' => 1, + '_LT_PATH_TOOL_PREFIX' => 1, + 'AM_DISABLE_STATIC' => 1, + 'AM_PROG_INSTALL_SH' => 1, + 'LTDL_CONVENIENCE' => 1, + 'AC_LIBTOOL_SETUP' => 1, + 'AC_LIB_LTDL' => 1, + 'AC_LTDL_DLLIB' => 1, '_AM_PROG_CC_C_O' => 1, - 'AM_RUN_LOG' => 1, - 'LT_PROG_GO' => 1, - 'AM_MISSING_HAS_RUN' => 1, + 'AM_SET_DEPDIR' => 1, + '_LT_AC_LOCK' => 1, + 'AM_PROG_INSTALL_STRIP' => 1, + 'AM_AUX_DIR_EXPAND' => 1, + 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1, + '_LT_DLL_DEF_P' => 1, + '_AM_MANGLE_OPTION' => 1, + 'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1, + 'AC_CHECK_LIBM' => 1, 'AC_LIBTOOL_LANG_RC_CONFIG' => 1, - 'LT_PATH_LD' => 1, - '_LT_PATH_TOOL_PREFIX' => 1, - 'AM_DEP_TRACK' => 1, - 'AC_WITH_LTDL' => 1, + 'AC_PROG_LIBTOOL' => 1, + 'AM_EXTRA_RECURSIVE_TARGETS' => 1, + 'AC_LIBLTDL_CONVENIENCE' => 1, + 'LT_PROG_RC' => 1, + 'AM_SANITY_CHECK' => 1, 'AC_DEPLIBS_CHECK_METHOD' => 1, + 'AM_MISSING_PROG' => 1, + 'LT_PATH_NM' => 1, + '_LT_AC_PROG_ECHO_BACKSLASH' => 1, + '_LT_LINKER_OPTION' => 1, + 'AM_AUTOMAKE_VERSION' => 1, + '_PKG_SHORT_ERRORS_SUPPORTED' => 1, + 'LT_CMD_MAX_LEN' => 1, + 'AC_DEFUN' => 1, + 'AC_LIBTOOL_POSTDEP_PREDEP' => 1, + 'LT_INIT' => 1, + '_LT_PROG_ECHO_BACKSLASH' => 1, + 'AC_DEFUN_ONCE' => 1, + 'AC_LIBTOOL_PROG_CC_C_O' => 1, + '_AM_SET_OPTION' => 1, + 'm4_pattern_allow' => 1, + 'LT_SYS_DLSEARCH_PATH' => 1, + 'LT_AC_PROG_GCJ' => 1, + 'LT_AC_PROG_RC' => 1, + 'AC_LIBTOOL_GCJ' => 1, + 'PKG_NOARCH_INSTALLDIR' => 1, + 'AC_PROG_EGREP' => 1, + 'AC_ENABLE_STATIC' => 1, 'AC_ENABLE_SHARED' => 1, - '_LT_AC_FILE_LTDLL_C' => 1, - 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1, - '_AM_IF_OPTION' => 1, - 'AC_PROG_LD_RELOAD_FLAG' => 1, - 'PKG_INSTALLDIR' => 1, - '_LT_AC_LANG_GCJ_CONFIG' => 1, - 'LT_AC_PROG_EGREP' => 1, - 'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1, - '_LT_AC_LANG_GCJ' => 1, - 'PKG_PROG_PKG_CONFIG' => 1, - '_LT_AC_SHELL_INIT' => 1, - 'AM_PROG_LIBTOOL' => 1, - 'LT_CONFIG_LTDL_DIR' => 1, - '_LT_AC_SYS_LIBPATH_AIX' => 1 + '_AC_AM_CONFIG_HEADER_HOOK' => 1, + 'LT_PROG_GCJ' => 1, + '_LT_REQUIRED_DARWIN_CHECKS' => 1, + 'AC_LIBTOOL_F77' => 1, + '_LT_PROG_F77' => 1, + 'AM_DISABLE_SHARED' => 1, + 'AM_PROG_LD' => 1, + 'AC_LIBTOOL_LANG_F77_CONFIG' => 1, + 'AC_DISABLE_STATIC' => 1, + 'AU_DEFUN' => 1, + 'AC_LTDL_SYMBOL_USCORE' => 1, + 'LT_PROG_GO' => 1, + 'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1, + 'PKG_CHECK_MODULES' => 1, + '_AM_SET_OPTIONS' => 1, + 'LT_FUNC_ARGZ' => 1, + 'AC_DISABLE_SHARED' => 1, + 'LT_OUTPUT' => 1, + 'AC_LTDL_OBJDIR' => 1, + 'LTOPTIONS_VERSION' => 1, + 'AC_PROG_NM' => 1, + 'AM_SET_LEADING_DOT' => 1, + 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1, + 'AC_PATH_MAGIC' => 1 } ], 'Autom4te::Request' ) );