32 wts_[0] = 0.1527533871307258;
pts_[0] = -0.0765265211334973;
33 wts_[1] = 0.1527533871307258;
pts_[1] = 0.0765265211334973;
34 wts_[2] = 0.1491729864726037;
pts_[2] = -0.2277858511416451;
35 wts_[3] = 0.1491729864726037;
pts_[3] = 0.2277858511416451;
36 wts_[4] = 0.1420961093183820;
pts_[4] = -0.3737060887154195;
37 wts_[5] = 0.1420961093183820;
pts_[5] = 0.3737060887154195;
38 wts_[6] = 0.1316886384491766;
pts_[6] = -0.5108670019508271;
39 wts_[7] = 0.1316886384491766;
pts_[7] = 0.5108670019508271;
40 wts_[8] = 0.1181945319615184;
pts_[8] = -0.6360536807265150;
41 wts_[9] = 0.1181945319615184;
pts_[9] = 0.6360536807265150;
42 wts_[10] = 0.1019301198172404;
pts_[10] = -0.7463319064601508;
43 wts_[11] = 0.1019301198172404;
pts_[11] = 0.7463319064601508;
44 wts_[12] = 0.0832767415767048;
pts_[12] = -0.8391169718222188;
45 wts_[13] = 0.0832767415767048;
pts_[13] = 0.8391169718222188;
46 wts_[14] = 0.0626720483341091;
pts_[14] = -0.9122344282513259;
47 wts_[15] = 0.0626720483341091;
pts_[15] = 0.9122344282513259;
48 wts_[16] = 0.0406014298003869;
pts_[16] = -0.9639719272779138;
49 wts_[17] = 0.0406014298003869;
pts_[17] = 0.9639719272779138;
50 wts_[18] = 0.0176140071391521;
pts_[18] = -0.9931285991850949;
51 wts_[19] = 0.0176140071391521;
pts_[19] = 0.9931285991850949;
52 for (
size_t i = 0; i < 20; i++) {
99 if ( input <= ROL_EPSILON<Real>() ) {
102 if ( input >= 1.-ROL_EPSILON<Real>() ) {
105 Real a = ROL_EPSILON<Real>(), b = 1.-ROL_EPSILON<Real>(), c = 0.;
108 Real sa = ((fa < 0.) ? -1. : ((fa > 0.) ? 1. : 0.));
110 for (
size_t i = 0; i < 100; i++) {
113 sc = ((fc < 0.) ? -1. : ((fc > 0.) ? 1. : 0.));
114 if ( fc == 0. || (b-a)*0.5 < ROL_EPSILON<Real>() ) {
117 if ( sc == sa ) { a = c; fa = fc; sa = sc; }
145 void test(std::ostream &outStream = std::cout )
const {
147 std::vector<Real> X(size,0.);
148 std::vector<int> T(size,0);
149 X[0] = -4.*(Real)rand()/(Real)RAND_MAX;
153 X[2] = 0.5*(Real)rand()/(Real)RAND_MAX;
157 X[4] = 1.+4.*(Real)rand()/(Real)RAND_MAX;