#!/usr/bin/env ruby require("gsl") require("../gsl_test2.rb") require("./gsl_test_sf.rb") include GSL::Test include Math include GSL::Test::Sf s = 0 m = GSL::MODE_DEFAULT TEST_SF(s, "GSL::Sf::legendre_P1_e", "(-0.5)", -0.5, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_P1_e", "( 0.5)", 0.5, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_P2_e", "(0.0)", -0.5 , TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_P2_e", "(0.5)", -0.125, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_P2_e", "(1.0)", 1.0 , TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_P2_e", "(100.0)", 14999.5 , TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_P3_e", "( -0.5)", 0.4375, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_P3_e", "( 0.5)", -0.4375, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_P3_e", "( 1.0)", 1.0 , TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_P3_e", "(100.0)", 2.49985e+06, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Pl_e", "(1, -0.5)", -0.5, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Pl_e", "(1, 1.0e-8)", 1.0e-08, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Pl_e", "(1, 0.5)", 0.5, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Pl_e", "(1, 1.0)", 1.0, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Pl_e", "(10, -0.5)", -0.1882286071777345, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Pl_e", "(10, 1.0e-8)", -0.24609374999999864648, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Pl_e", "(10, 0.5)", -0.18822860717773437500, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Pl_e", "(10, 1.0)", 1.0, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Pl_e", "(99, -0.5)", 0.08300778172138770477, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Pl_e", "(99, 1.0e-8)", -7.958923738716563193e-08, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Pl_e", "(99, 0.5)", -0.08300778172138770477, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Pl_e", "(99, 0.999)", -0.3317727359254778874, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Pl_e", "(99, 1.0)", 1.0, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Pl_e", "(1000, -0.5)", -0.019168251091650277878, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Pl_e", "(1000, 1.0e-8)", 0.02522501817709828, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Pl_e", "(1000, 0.5)", -0.019168251091650277878, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Pl_e", "(1000, 1.0)", 1.0, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Pl_e", "(4000, -0.5)", -0.009585404456573080972, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Pl_e", "(4000, 0.5)", -0.009585404456573080972, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Pl_e", "(4000, 1.0)", 1.0, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Plm_e", "(10, 0, -0.5)", -0.18822860717773437500, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Plm_e", "(10, 0, 1.0e-08)", -0.24609374999999864648, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Plm_e", "(10, 0, 0.5)", -0.18822860717773437500, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Plm_e", "(10, 1, -0.5)", -2.0066877394361256516, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Plm_e", "(10, 1, 1.0e-08)", -2.7070312499999951725e-07, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Plm_e", "(10, 1, 0.5)", 2.0066877394361256516, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Plm_e", "(10, 5, -0.5)", -30086.169706116174977, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Plm_e", "(10, 5, 1.0e-08)", -0.0025337812499999964949, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Plm_e", "(10, 5, 0.5)", 30086.169706116174977, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Plm_e", "(10, 5, 0.999)", -0.5036411489013270406, TEST_TOL1, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Plm_e", "(100, 5, -0.5)", -6.617107444248382171e+08, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Plm_e", "(100, 5, 1.0e-08)", 817.8987598063712851, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Plm_e", "(100, 5, 0.5)", 6.617107444248382171e+08, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Plm_e", "(100, 5, 0.999)", -1.9831610803806212189e+09, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_sphPlm_e", "(10, 0, -0.5)", -0.24332702369300133776, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_sphPlm_e", "(10, 0, 0.5)", -0.24332702369300133776, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_sphPlm_e", "(10, 0, 0.999)", 1.2225754122797385990, TEST_TOL1, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_sphPlm_e", "(10, 5, -0.5)", -0.3725739049803293972, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_sphPlm_e", "(10, 5, 1.0e-08)", -3.1377233589376792243e-08, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_sphPlm_e", "(10, 5, 0.5)", 0.3725739049803293972, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_sphPlm_e", "(10, 5, 0.999)", -6.236870674727370094e-06, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_sphPlm_e", "(10, 10, -0.5)", 0.12876871185785724117, TEST_TOL1, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_sphPlm_e", "(10, 10, 0.5)", 0.12876871185785724117, TEST_TOL1, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_sphPlm_e", "(10, 10, 0.999)", 1.7320802307583118647e-14, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_sphPlm_e", "(200, 1, -0.5)", 0.3302975570099492931, TEST_TOL1, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_sphPlm_e", "(200, 1, 0.5)", -0.3302975570099492931, TEST_TOL1, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_sphPlm_e", "(200, 1, 0.999)", -1.4069792055546256912, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_half_e", "(0.0, -0.5)", 0.8573827581049917129, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_half_e", "(0.0, 0.5)", 0.8573827581049917129, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_half_e", "(0.0, 2.0)", 0.6062611623284649811, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_half_e", "(0.0, 100.0)", 0.07979045091636735635, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_half_e", "(10.0, -0.5)", 5.345484922591867188e+08, TEST_TOL1, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_half_e", "(10.0, 0.5)", 15137.910380385258370, TEST_TOL1, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_half_e", "(10.0, 2.0)", 0.4992680691891618544, TEST_TOL1, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_half_e", "(10.0, 100.0)", -0.07272008163718195685, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_half_e", "(200.0, -1.0e-3)", 1.3347639529084185010e+136, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_half_e", "(200.0, 1.0e-8)", 1.0928098010940058507e+136, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_half_e", "(200.0, 0.5)", 3.895546021611205442e+90, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_half_e", "(200.0, 10.0)", -0.04308567180833581268, TEST_TOL3, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_half_e", "(200.0, 100.0)", -0.04694669186576399194, TEST_TOL3, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_half_e", "(200.0, 1000.0)", 0.023698140704121273277, TEST_TOL3, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_half_e", "(200.0, 1.0e+8)", -0.00006790983312124277891, TEST_TOL3, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_half_e", "(1.0e+8, 1.1)", 1.1599311133054742944, TEST_SQRT_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_half_e", "(1.0e+8, 100.0)", 0.07971967557381557875, TEST_SQRT_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_mhalf_e", "(0.0, -0.5)", 1.7956982494514644808, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_mhalf_e", "(0.0, 0.5)", 0.8978491247257322404, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_mhalf_e", "(0.0, 2.0)", 0.7984204253272901551, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_mhalf_e", "(0.0, 100.0)", 0.4227531369388072584, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_mhalf_e", "(10.0, -0.5)", 5.345484922591867181e+07, TEST_TOL1, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_mhalf_e", "(10.0, 0.5)", 1513.7910356104985334, TEST_TOL1, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_mhalf_e", "(10.0, 2.0)", 0.03439243987215615642, TEST_TOL1, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_mhalf_e", "(10.0, 100.0)", 0.003283756665952609624, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_mhalf_e", "(200.0, -0.5)", 1.7699538115312304280e+179, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_mhalf_e", "(200.0, 1.0e-8)", 5.464049005470029253e+133, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_mhalf_e", "(200.0, 0.5)", 1.9477730108056027211e+88, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_mhalf_e", "(200.0, 10.0)", 0.0012462575917716355362, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_mhalf_e", "(200.0, 100.0)", -0.0003225881344802625149, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_mhalf_e", "(200.0, 1000.0)", -0.00004330652890886567623, TEST_TOL3, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_mhalf_e", "(200.0, 1.0e+8)", 2.0943091278037078483e-07, TEST_TOL3, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_mhalf_e", "(1.0e+8, 1.1)", 2.092320445620989618e-09, 16.0*TEST_SQRT_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_mhalf_e", "(1.0e+8, 100.0)", -3.359967833599016923e-11, 256.0*TEST_SQRT_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_0_e", "(0.0, -0.5)", 1.3728805006183501647, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_0_e", "(0.0, 0.5)", 1.0731820071493643751, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_0_e", "(0.0, 2.0)", 0.9012862993604472987, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_0_e", "(0.0, 100.0)", 0.30091748588199264556, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_0_e", "(10.0, -0.5)", 1.6795592815421804669e+08, TEST_TOL1, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_0_e", "(10.0, 0.5)", 4826.034132009618240, TEST_TOL1, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_0_e", "(10.0, 2.0)", 0.18798468917758716146, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_0_e", "(10.0, 100.0)", -0.008622130749987962529, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_0_e", "(200.0, -0.5)", 2.502194818646823e+180, TEST_TOL4, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_0_e", "(1000.0, 100.0)", 0.0017908817653497715844, TEST_TOL3, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_0_e", "(1000.0, 1000.0)", -0.0006566893804926284301, TEST_TOL3, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_0_e", "(1000.0, 1.0e+8)", 2.3167213561756390068e-06, TEST_TOL4, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_1_e", "(0.0, -0.5)", 0.4939371126656998499, TEST_TOL1, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_1_e", "(0.0, 0.5)", 0.14933621085538265636, TEST_TOL1, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_1_e", "(0.0, 2.0)", -0.13666874968871549533, TEST_TOL1, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_1_e", "(0.0, 100.0)", -0.10544528203156629098, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_1_e", "(10.0, -0.5)", 1.7253802958788312520e+09, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_1_e", "(10.0, 0.5)", 46781.02294059967988, TEST_TOL1, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_1_e", "(10.0, 2.0)", 0.26613342643657444400, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_1_e", "(10.0, 100.0)", -0.23281959695501029796, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_1_e", "(200.0, -0.999)", 2.71635193199341135e+270, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_1_e", "(200.0, -0.9)", 4.2952493176812905e+234, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_1_e", "(200.0, -0.5)", 5.01159205956053439e+182, TEST_TOL3, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_1_e", "(200.0, 0.999)", 195733.0396081538, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_1_e", "(200.0, 10.0)", -2.9272610662414349553, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_1_e", "(1000.0, 100.0)", -1.7783258105862399857, TEST_TOL6, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_1_e", "(1000.0, 1000.0)", 0.4535161075156427179, TEST_TOL4, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_1_e", "(1000.0, 1.0e+8)", 0.0009983414549874888478, TEST_SQRT_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_sph_reg_e", "(2, 1.0, -0.5)", 1.6406279287008789526, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_sph_reg_e", "(10, 1.0, -0.5)", 0.000029315266725049129448, TEST_TOL1, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_sph_reg_e", "(20, 1.0, -0.5)", 7.335769429462034431e-15, TEST_TOL1, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_sph_reg_e", "(30, 1.0, -0.5)", 1.3235612394267378871e-26, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_sph_reg_e", "(10, 1.0, 0.5)", 2.7016087199857873954e-10, TEST_TOL1, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_sph_reg_e", "(20, 1.0, 0.5)", 1.1782569701435933399e-24, TEST_TOL1, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_sph_reg_e", "(30, 1.0, 0.5)", 3.636240588303797919e-41, TEST_TOL1, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_sph_reg_e", "(10, 1.0, 2.0)", 2.4934929626284934483e-10, TEST_TOL1, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_sph_reg_e", "(20, 1.0, 2.0)", 1.1284762488012616191e-24, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_sph_reg_e", "(30, 100.0, 100.0)", -1.6757772087159526048e-64, TEST_TOL6, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_cyl_reg_e", "(2, 1.0, -0.5)", 2.2048510472375258708, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_cyl_reg_e", "(10, 1.0, -0.5)", 0.00007335034531618655690, TEST_TOL1, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_cyl_reg_e", "(20, 1.0, -0.5)", 2.5419860619212164696e-14, TEST_TOL1, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_cyl_reg_e", "(30, 1.0, -0.5)", 5.579714972260536827e-26, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_cyl_reg_e", "(10, 1.0, 0.5)", 1.1674078819646475282e-09, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_cyl_reg_e", "(20, 1.0, 0.5)", 7.066408031229072207e-24, TEST_TOL1, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_cyl_reg_e", "(30, 1.0, 0.5)", 2.6541973286862588488e-40, TEST_TOL1, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_cyl_reg_e", "(10, 1.0, 2.0)", 1.0736109751890863051e-09, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_cyl_reg_e", "(20, 1.0, 2.0)", 6.760965304863386741e-24, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::conicalP_cyl_reg_e", "(30, 100.0, 100.0)", -4.268753482520651007e-63, TEST_TOL4, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_0_e", "(1.0e-06, 1.0e-06)", 0.9999999999998333333 , TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_0_e", "(1.0, 0.0)", 1.0 , TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_0_e", "(1.0, 1.0)", 0.7160229153604338713 , TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_0_e", "(1.0, 100.0)", -3.767437313149604566e-44 , TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_0_e", "(1.0, 500.0)", -6.665351935878582205e-218, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_0_e", "(100.0, 1.0)", -0.004308757035378200029 , TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_0_e", "(100.0, 10.0)", 7.508054627912986427e-07 , TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_0_e", "(1000.0, 1.0)", 0.0007036067909088818319 , TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_0_e", "(1.0e+08, 1.0)", 7.927485371429105968e-09 , TEST_TOL3, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_0_e", "(1.0e+08, 100.0)", -3.627118904186918957e-52 , 32.0*TEST_SQRT_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_1_e", "(1.0e-06, 1.0e-06)", 3.333333333334222222e-07, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_1_e", "(1.0, 1.0e-10)", 4.714045207910316829e-11, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_1_e", "(1.0, 1.0)", 0.3397013994799344639, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_1_e", "(1.0, 100.0)", -7.200624449531811272e-44, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_1_e", "(1.0, 500.0)", 4.192260336821728677e-218, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_1_e", "(100.0, 0.01)", 0.30117664944267412324 , TEST_TOL1, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_1_e", "(100.0, 1.0)", -0.007393833425336299309 , TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_1_e", "(100.0, 10.0)", -5.031062029821254982e-07 , TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_1_e", "(1000.0, 0.001)", 0.30116875865090396421 , TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_1_e", "(1000.0, 1.0)", -0.0004776144516074971885 , TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_1_e", "(1.0e+08, 1.0e-08)", 0.30116867893975679722 , TEST_TOL1, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_1_e", "(1.0e+08, 1.0)", 3.0921097047369081582e-09, TEST_TOL4, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_1_e", "(1.0e+08, 100.0)", -6.496142701296286936e-52 , 32.0*TEST_SQRT_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_e", "(5, 1.0e-06, 1.0e-06)", 1.1544011544013627977e-32, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_e", "(5, 1.0, 1.0e-10)", 2.0224912016958766992e-52, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_e", "(5, 1.0, 1.0)", 0.011498635037491577728, TEST_TOL1, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_e", "(5, 1.0, 5.0)", 0.0020696945662545205776, TEST_TOL4, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_e", "(5, 1.0, 7.0)", -0.0017555303787488993676, TEST_TOL4, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_e", "(5, 1.0, 10.0)", 0.00008999979724504887101, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_e", "(5, 1.0, 100.0)", -4.185397793298567945e-44, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_e", "(5, 1.0, 500.0)", 1.4235113901091961263e-217, TEST_TOL3, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_e", "(5, 100.0, 0.001)", 9.642762597222417946e-10, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_e", "(5, 100.0, 0.002)", 3.0821201254308036109e-08, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_e", "(5, 100.0, 0.01)", 0.00009281069019005840532, TEST_TOL1, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_e", "(5, 100.0, 1.0)", -0.008043100696178624653, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_e", "(5, 100.0, 10.0)", -3.927678432813974207e-07, TEST_TOL3, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_e", "(5, 1000.0, 0.001)", 0.00009256365284253254503, TEST_TOL1, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_e", "(5, 1000.0, 0.01)", -0.05553733815473079983, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_e", "(5, 1.0e+08, 1.0e-08)", 0.00009256115861125841299, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_H3d_e", "(5, 1.0e+08, 100.0)", -6.496143209092860765e-52 , 128.0*TEST_SQRT_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Q0_e", "(-0.9999847412109375)", -5.8917472200477175158028143531855, TEST_TOL4, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Q0_e", "(-0.5)", -0.5493061443340548457, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Q0_e", "(-1e-10)", -1.000000000000000000e-10, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Q0_e", "(0.0)", 0.0, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Q0_e", "(1e-10)", 1.000000000000000000e-10, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Q0_e", "(0.9999847412109375)", 5.8917472200477175158028143531855, TEST_TOL4, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Q0_e", "( 1.0000152587890625)", 5.8917548494422489138325509750429, TEST_TOL4, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Q0_e", "( 1.5)", 0.8047189562170501873, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Q0_e", "( 9.99)", 0.1004364599660005447, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Q0_e", "( 10.0)", 0.1003353477310755806, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Q0_e", "( 10.01)", 0.1002344395571710243, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Q0_e", "( 100)", 0.010000333353334762015, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Q0_e", "( 1e10)", 1.000000000000000000e-10, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Q1_e", "(-0.9999847412109375)", 4.8916573191196772369, TEST_TOL4, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Q1_e", "(-0.5)", -0.7253469278329725772, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Q1_e", "(-0.01)", -0.9998999966664666524, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Q1_e", "(-1e-10)", -0.999999999999999999, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Q1_e", "(0.0)", -1.0, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Q1_e", "(1e-10)", -0.999999999999999999, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Q1_e", "(0.0001)", -0.9999999899999999667, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Q1_e", "(0.01)", -0.9998999966664666524, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Q1_e", "(0.5)", -0.7253469278329725772, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Q1_e", "(0.9999847412109375)", 4.8916573191196772369, TEST_TOL4, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Q1_e", "(1.0000152587890625)", 4.8918447504867045145, TEST_TOL4, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Q1_e", "( 1.5)", 0.20707843432557528095, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Q1_e", "( 9.99)", 3.360235060345441639e-3, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Q1_e", "( 10.0)", 3.353477310755806357e-3, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Q1_e", "( 10.01)", 3.346739967281953346e-3, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Q1_e", "( 100.0)", 3.333533347620158821e-5, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Q1_e", "( 1e10)", 3.333333333333333333e-21, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Ql_e", "(10, -0.5)", -0.29165813966586752393, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Ql_e", "(10, 0.5)", 0.29165813966586752393, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Ql_e", "(10, 1.5)", 0.000014714232718207477406, TEST_TOL0, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Ql_e", "(100, -0.5)", -0.09492507395207282096, TEST_TOL1, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Ql_e", "(100, 0.5)", 0.09492507395207282096, TEST_TOL1, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Ql_e", "(100, 1.5)", 1.1628163435044121988e-43, TEST_TOL2, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Ql_e", "(1000, -0.5)", -0.030105074974005303500, TEST_TOL1, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Ql_e", "(1000, 0.5)", 0.030105074974005303500, TEST_TOL1, GSL::SUCCESS) TEST_SF(s, "GSL::Sf::legendre_Ql_e", "(1000, 1.1)", 1.0757258447825356443e-194, TEST_TOL3, GSL::SUCCESS)