/dports/math/lidia/lidia-2.3.0+latte-patches-2014-10-04/src/base/include/LiDIA/ |
H A D | bigfloat.h | 223 bigfloat(const bigfloat & bf); 524 void add(bigfloat & c, const bigfloat & a, const bigfloat & b); 556 void power(bigfloat & c, const bigfloat & a, const bigfloat & b); 565 void atan2(bigfloat & c, const bigfloat & a, const bigfloat & b); 666 bigfloat::bigfloat () in bigfloat() function 674 bigfloat::bigfloat (int i) in bigfloat() function 682 bigfloat::bigfloat (long l) in bigfloat() function 698 bigfloat::bigfloat (double d) in bigfloat() function 730 bigfloat::bigfloat (const bigfloat & bf) in bigfloat() function 746 bigfloat::~bigfloat() in ~bigfloat() [all …]
|
H A D | bigfloat_polynomial.h | 54 class polynomial< bigfloat > : public field_polynomial< bigfloat > 61 polynomial(bigfloat x): field_polynomial< bigfloat > (x) in polynomial() 68 polynomial(const base_vector< bigfloat > v): field_polynomial< bigfloat > (v) in polynomial() 78 polynomial< bigfloat > & operator = (const base_polynomial< bigfloat > &a) 91 friend polynomial< bigfloat > operator / (const base_polynomial< bigfloat > &a, 94 friend polynomial< bigfloat > operator / (const base_polynomial< bigfloat > &a, 97 friend polynomial< bigfloat > operator % (const base_polynomial< bigfloat > &a, 100 friend polynomial< bigfloat > integral(const base_polynomial< bigfloat > & a); 102 friend polynomial< bigfloat > gcd(const base_polynomial< bigfloat > &aa, 105 friend polynomial< bigfloat > xgcd(polynomial< bigfloat > &x, [all …]
|
H A D | bigcomplex.h | 44 bigfloat re; 45 bigfloat im; 55 bigcomplex(const bigfloat &, const bigfloat &); 78 void assign(const bigfloat & x, const bigfloat & y); 222 bigcomplex::bigcomplex (const bigfloat & r, const bigfloat & i) in bigcomplex() 307 bigcomplex::assign (const bigfloat & x, const bigfloat & y) in assign() 921 inline bigfloat 924 bigfloat c; in arg() 957 bigfloat tmp; in polar() 968 polar (const bigfloat & r, const bigfloat & t) in polar() [all …]
|
/dports/math/lidia/lidia-2.3.0+latte-patches-2014-10-04/src/base/polynomial/ |
H A D | bigfloat_polynomial.cc | 48 bigfloat c, *np; in remove_leading_zeros() 65 np = new bigfloat[d + 1]; in remove_leading_zeros() 137 const bigfloat & b); 140 operator +(const bigfloat & b, 149 const bigfloat &b); 152 operator -(const bigfloat &a, 161 const bigfloat &b); 164 operator *(const bigfloat &b, 173 template bigfloat lead_coeff(const base_polynomial< bigfloat > &a); 174 template bigfloat const_term(const base_polynomial< bigfloat > &a); [all …]
|
/dports/math/lidia/lidia-2.3.0+latte-patches-2014-10-04/src/linear_algebra/include/LiDIA/ |
H A D | bigfloat_matrix.h | 54 class matrix< bigfloat > : public field_matrix< bigfloat > 107 base_vector< bigfloat > gauss_jordan(const base_vector< bigfloat > &) const; 112 void LR(matrix< bigfloat > &, matrix< bigfloat > &) const; 113 void QR(matrix< bigfloat > &, matrix< bigfloat > &) const; 115 …friend void gauss_jordan(base_vector< bigfloat > & x, const matrix< bigfloat > &, const base_vecto… 116 …friend base_vector< bigfloat > gauss_jordan(const matrix< bigfloat > &, const base_vector< bigfloa… 123 operator == (const matrix< bigfloat > & A, const matrix< bigfloat > & B) 131 operator != (const matrix< bigfloat > & A, const matrix< bigfloat > & B) 139 gauss_jordan (base_vector< bigfloat > & x, const matrix< bigfloat > & A, const base_vector< bigfloa… in gauss_jordan() 147 gauss_jordan (const matrix< bigfloat > & A, const base_vector< bigfloat > & b) in gauss_jordan() [all …]
|
/dports/math/lidia/lidia-2.3.0+latte-patches-2014-10-04/src/base/simple_classes/bigfloat/ |
H A D | bigfloat_trig.cc | 34 acos (bigfloat & y, const bigfloat & x) in acos() 65 acot (bigfloat & y, const bigfloat & x) in acot() 77 asin (bigfloat & y, const bigfloat & x) in asin() 108 atan (bigfloat & y, const bigfloat & x) in atan() 122 bigfloat a(1); in atan() 200 atan2 (bigfloat & z, const bigfloat & y, const bigfloat & x) in atan2() 202 bigfloat w; in atan2() 250 cos (bigfloat & y, const bigfloat & x) in cos() 448 cot (bigfloat & y, const bigfloat & x) in cot() 486 sin (bigfloat & y, const bigfloat & x) in sin() [all …]
|
H A D | bigfloat2.cc | 42 sqrt (bigfloat & y, const bigfloat & x, long k) in sqrt() 231 log (bigfloat & y, const bigfloat & xx, long t) in log() 618 exp (bigfloat & y, const bigfloat & xx, long k) in exp() 860 add (bigfloat & c, const bigfloat & a, in add() 864 bigfloat::old_rnd_mode = bigfloat::rounding_mode; in add() 872 bigfloat::rounding_mode = bigfloat::old_rnd_mode; in add() 879 subtract (bigfloat & c, const bigfloat & a, in subtract() 898 multiply (bigfloat & c, const bigfloat & a, const bigfloat & b, long t) in multiply() 915 square (bigfloat & c, const bigfloat & a, long t) in square() 932 divide (bigfloat & c, const bigfloat & a, const bigfloat & b, long t) in divide() [all …]
|
H A D | bigfloat_const.cc | 32 bigfloat bigfloat::C_E; 33 bigfloat bigfloat::C_Catalan; 34 bigfloat bigfloat::C_Euler; 35 bigfloat bigfloat::C_Pi; 43 if (bigfloat::C_Catalan.length() >= bigfloat::digit_precision) { in constant_Catalan() 48 bigfloat temp; in constant_Catalan() 53 bigfloat p(0.5); in constant_Catalan() 108 if (bigfloat::C_E.length() >= bigfloat::digit_precision) { in constant_E() 140 if (bigfloat::C_E.length() >= bigfloat::digit_precision) { in constant_E() 154 bigfloat fac(n); in constant_E() [all …]
|
H A D | bigfloat.cc | 81 bigfloat::assign (const bigfloat & y) in assign() 585 bigfloat::swap (bigfloat & x) in swap() 610 add (bigfloat & sum, const bigfloat & x, const bigfloat & y) in add() 667 subtract (bigfloat & dif, const bigfloat & x, const bigfloat & y) in subtract() 729 multiply (bigfloat & prod, const bigfloat & x, const bigfloat & y) in multiply() 794 divide (bigfloat & quot, const bigfloat & x, const bigfloat & y) in divide() 858 ceil (bigfloat & y, const bigfloat & x) in ceil() 908 floor (bigfloat & y, const bigfloat & x) in floor() 943 round (bigfloat & y, const bigfloat & x) in round() 1151 power(bigfloat & z, const bigfloat & x, const bigfloat & y) in power() [all …]
|
H A D | bigfloat_hyp.cc | 34 acosh (bigfloat & y, const bigfloat & x) in acosh() 36 bigfloat p1; in acosh() 50 acoth (bigfloat & y, const bigfloat & x) in acoth() 52 bigfloat p1(x); in acoth() 66 asinh (bigfloat & y, const bigfloat & x) in asinh() 68 bigfloat p1; in asinh() 80 atanh (bigfloat & y, const bigfloat & x) in atanh() 97 cosh (bigfloat & y, const bigfloat & x) in cosh() 110 coth (bigfloat & y, const bigfloat & x) in coth() 124 sinh (bigfloat & y, const bigfloat & x) in sinh() [all …]
|
/dports/math/lidia/lidia-2.3.0+latte-patches-2014-10-04/src/base/simple_classes/xbigfloat/ |
H A D | xbigfloat.cc | 45 old_rnd_mode = bigfloat::get_mode(); in assign_zero() 46 bigfloat::set_mode_no_check(MP_EXACT); in assign_zero() 59 old_rnd_mode = bigfloat::get_mode(); in assign_one() 60 bigfloat::set_mode_no_check(MP_EXACT); in assign_one() 73 old_rnd_mode = bigfloat::get_mode(); in assign() 87 old_rnd_mode = bigfloat::get_mode(); in assign() 101 old_rnd_mode = bigfloat::get_mode(); in assign() 115 old_rnd_mode = bigfloat::get_mode(); in assign() 129 old_rnd_mode = bigfloat::get_mode(); in assign() 143 old_rnd_mode = bigfloat::get_mode(); in assign() [all …]
|
/dports/math/lidia/lidia-2.3.0+latte-patches-2014-10-04/src/lattices/include/LiDIA/lattices/ |
H A D | bf_lattice_gensys.h | 386 friend void bfl_add_bfl(bigfloat*, bigfloat*, bigfloat*); 387 friend void bfl_subtract_bfl(bigfloat*, bigfloat*, bigfloat*); 390 friend void bfl_scalprod_bfl(bigfloat&, bigfloat*, bigfloat*); 577 void bfl_add_bfl(bigfloat*, bigfloat*, bigfloat*); 578 void bfl_subtract_bfl(bigfloat*, bigfloat*, bigfloat*); 580 void bfl_scalmul_bfl(bigfloat*, const bigfloat&, bigfloat*); 581 void bfl_scalprod_bfl(bigfloat&, bigfloat*, bigfloat*); 779 bfl_add_bfl(bigfloat* c, bigfloat* a, bigfloat* b) in bfl_add_bfl() 791 bfl_subtract_bfl(bigfloat* c, bigfloat* a, bigfloat* b) in bfl_subtract_bfl() 803 bfl_scalmul_bfl(bigfloat* b, const bigfloat& d, bigfloat* a) in bfl_scalmul_bfl() [all …]
|
H A D | bi_lattice_gensys.h | 342 friend void bin_add_bfl(bigfloat*, bigfloat*, bigfloat*); 343 friend void bin_subtract_bfl(bigfloat*, bigfloat*, bigfloat*); 346 friend void bin_scalprod_bfl(bigfloat&, bigfloat*, bigfloat*); 463 void bin_add_bfl(bigfloat*, bigfloat*, bigfloat*); 464 void bin_subtract_bfl(bigfloat*, bigfloat*, bigfloat*); 466 void bin_scalmul_bfl(bigfloat*, const bigfloat&, bigfloat*); 467 void bin_scalprod_bfl(bigfloat&, bigfloat*, bigfloat*); 663 bin_add_bfl(bigfloat* c, bigfloat* a, bigfloat* b) in bin_add_bfl() 675 bin_subtract_bfl(bigfloat* c, bigfloat* a, bigfloat* b) in bin_subtract_bfl() 687 bin_scalmul_bfl(bigfloat* b, const bigfloat& d, bigfloat* a) in bin_scalmul_bfl() [all …]
|
H A D | p_vector.h | 98 class p_vector< bigfloat > 101 bigfloat* tempPT; 102 bigfloat tempT; 118 void assign(bigfloat*, bigfloat*); 119 void assign_zero(bigfloat*); 120 void add(bigfloat*, bigfloat*, bigfloat*); 121 void subtract(bigfloat*, bigfloat*, bigfloat*); 122 void scalmul(bigfloat*, const bigfloat, bigfloat*); 123 void scalsub(bigfloat*, bigfloat*, const bigfloat, bigfloat*); 124 void scalprod(bigfloat&, bigfloat*, bigfloat*); [all …]
|
/dports/math/eclib/eclib-20210318/libsrc/ |
H A D | realroots.cc | 27 bigfloat safe_sqrt(const bigfloat& x) in safe_sqrt() 35 bigfloat cube_root(const bigfloat& x) in cube_root() 57 vector<bigfloat> realroots( const vector<bigfloat>& coeff ) in realroots() 63 vector<bigfloat> tcoeff; in realroots() 74 vector<bigfloat> ans; in realroots() 75 bigfloat a = tcoeff[0]; in realroots() 101 bigfloat P = b*b-3*a*c; in realroots() 195 bigfloat a4=4*a; in realroots() 250 vector<bigfloat> realroots11( const vector<bigfloat>& coeff ) in realroots11() 259 vector<bigfloat> ans; in realroots11() [all …]
|
H A D | htconst.cc | 165 bigfloat calc_dvd_inf(const bigfloat& b2, const bigfloat& b4, const bigfloat& b6, const bigfloat& b… 166 bigfloat calc_dv_inf(const bigfloat& b2, const bigfloat& b4, const bigfloat& b6, const bigfloat& b8… 167 bigfloat old_calc_dvd_inf(const bigfloat& b2, const bigfloat& b4, const bigfloat& b6, const bigfloa… 168 bigfloat old_calc_dv_inf(const bigfloat& b2, const bigfloat& b4, const bigfloat& b6, const bigfloat… 282 inline vector<bigfloat> set_coeff(const bigfloat& c0, const bigfloat& c1, const bigfloat& c2, const… in set_coeff() 289 inline vector<bigfloat> set_coeff(const bigfloat& c0, const bigfloat& c1, const bigfloat& c2, const… in set_coeff() 303 inline vector<bigfloat> set_reverse_coeff(const bigfloat& c0, const bigfloat& c1, const bigfloat& c… in set_reverse_coeff() 313 bigfloat calc_dvd_inf(const bigfloat& b2, const bigfloat& b4, const bigfloat& b6, const bigfloat& b… in calc_dvd_inf() 443 bigfloat calc_dv_inf(const bigfloat& b2, const bigfloat& b4, const bigfloat& b6, const bigfloat& b8) in calc_dv_inf() 605 bigfloat old_calc_dv_inf(const bigfloat& b2, const bigfloat& b4, const bigfloat& b6, const bigfloat… in old_calc_dv_inf() [all …]
|
H A D | reduce.cc | 47 bigfloat show(bigfloat x) {cout<<x<<endl; return x;} in show() 50 const bigfloat& xH, const bigfloat& phi) in types12_covar() 55 bigfloat* ans = new bigfloat[3]; in types12_covar() 69 bigfloat* type3_covar(const bigfloat& xa, const bigfloat& xb, const bigfloat& xH, in type3_covar() 72 bigfloat* ans = new bigfloat[3]; in type3_covar() 243 int first_step(const bigfloat& x0, const bigfloat& y0, 248 int one_step(const bigfloat& x0, const bigfloat& y0, const bigfloat& h, 251 unimod reduce_quad_1(const bigfloat& b, const bigfloat& c); 254 unimod reduce_quad(const bigfloat& b, const bigfloat& c) in reduce_quad() 476 int first_step(const bigfloat& x0, const bigfloat& y0, in first_step() [all …]
|
/dports/math/lidia/lidia-2.3.0+latte-patches-2014-10-04/doc/ |
H A D | bigfloat.tex | 236 \begin{fcode}{void}{add}{bigfloat & $c$, const bigfloat & $a$, const bigfloat & $b$} 248 \begin{fcode}{void}{subtract}{bigfloat & $c$, const bigfloat & $a$, const bigfloat & $b$} 260 \begin{fcode}{void}{multiply}{bigfloat & $c$, const bigfloat & $a$, const bigfloat & $b$} 272 \begin{fcode}{void}{divide}{bigfloat & $c$, const bigfloat & $a$, const bigfloat & $b$} 308 \begin{fcode}{bigfloat}{sqrt}{const bigfloat & $a$} 316 \begin{fcode}{void}{power}{bigfloat & $c$, const bigfloat & $a$, const bigfloat & $b$} 320 \begin{fcode}{bigfloat}{power}{const bigfloat & $a$, const bigfloat & $b$} 463 \begin{fcode}{bigfloat}{abs}{const bigfloat & $a$} 523 \begin{fcode}{bigfloat}{exp}{const bigfloat & $a$} 616 \begin{fcode}{void}{atan2}{bigfloat & $c$, const bigfloat & $a$, const bigfloat & $b$} [all …]
|
/dports/math/eclib/eclib-20210318/libsrc/eclib/ |
H A D | htconst.h | 61 bigfloat min_ht; 79 bigfloat lh, rh; 83 Interval(const bigfloat& a, const bigfloat& b) in Interval() 111 bigfloat lh, rh; 115 Interval01(const bigfloat& a, const bigfloat& b) in Interval01() 148 bigfloat Bnmu(const long n, const bigfloat& mu) const // = B_n(mu) in Bnmu() 159 vector<bigfloat> solveEllNPower(long n, const bigfloat& x1); 160 vector<bigfloat> solveEllNPower01(long n, const bigfloat& x1); 161 bigfloat psi(const bigfloat& x); 162 vector<bigfloat> ordinates(const bigfloat& x); [all …]
|
H A D | periods.h | 39 bigfloat myg0(bigfloat x); 40 bigfloat myg1(bigfloat x); 41 bigfloat myg2(bigfloat x); 42 bigfloat myg3(bigfloat x); 83 bigfloat rper(void) {return rp;} in rper() 103 bigfloat theta1,theta2; 116 bigfloat efactor,x0,y0,xn; 130 bigfloat G(int r, bigfloat x); // G_r(x) 136 bigfloat ld1; 137 bigfloat G(bigfloat x); // G_r(x) [all …]
|
/dports/math/lidia/lidia-2.3.0+latte-patches-2014-10-04/src/base/simple_classes/bigfloat_int/ |
H A D | bigfloat_int.cc | 33 bigfloat_int::normalize (bigfloat& Lo1, bigfloat &Lo2, bigfloat& Lo3, bigfloat &Lo4) in normalize() 74 bigfloat u = Upp; in absolute_value() 75 bigfloat l = Low; in absolute_value() 98 bigfloat t = Upp; in negate() 111 bigfloat a1, a2, a3, a4; in invert() 129 bigfloat c(Low+Upp); in dble() 143 bigfloat c(Low+Upp); in Approx() 384 bigfloat r, l; in constant_E() 398 bigfloat r, l; in constant_Pi() 412 bigfloat r, l; in constant_Euler() [all …]
|
/dports/math/lidia/lidia-2.3.0+latte-patches-2014-10-04/src/lattices/include/LiDIA/ |
H A D | lattice_gensys.h | 221 …friend void mlll(math_matrix< bigfloat > &, const math_matrix< bigfloat > &, base_vector< bigfloat… 224 friend void mlll(math_matrix< bigfloat > &, const math_matrix< bigfloat > &, bigint*&); 225 friend void mlll(math_matrix< bigfloat > &, const math_matrix< bigfloat > &, bigfloat*&); 227 friend void lll_gensys(math_matrix< bigfloat > &, const math_matrix< bigfloat > &, lidia_size_t&); 232 friend void lll_trans_gensys(math_matrix< bigfloat > &, math_matrix< bigfloat > &, lidia_size_t&); 306 void mlll(math_matrix< bigfloat > &, const math_matrix< bigfloat > &, 308 void mlll(math_matrix< bigfloat > &, const math_matrix< bigfloat > &, 309 base_vector< bigfloat > &); 312 void mlll(math_matrix< bigfloat > &, const math_matrix< bigfloat > &, 314 void mlll(math_matrix< bigfloat > &, const math_matrix< bigfloat > &, [all …]
|
H A D | bigfloat_lattice.h | 79 bigfloat_lattice(const field_matrix< bigfloat > & b):field_matrix< bigfloat > (b) in bigfloat_lattice() 172 field_matrix< bigfloat > &, 178 field_matrix< bigfloat > &, 511 void close_vector(const base_vector< bigfloat > &, base_vector< bigfloat > &, 588 void alpha_compute(const dense_alg< bigfloat > &, bigfloat&); 590 void zwei_pot_q_compute(const dense_alg< bigfloat > &, bigfloat&, sdigit&, 591 bigfloat&); 601 field_matrix< bigfloat > &, 607 field_matrix< bigfloat > &, 798 bigfloat*&, lattice_info&); [all …]
|
/dports/lang/racket/racket-8.3/share/pkgs/math-lib/math/ |
H A D | bigfloat.rkt | 3 (require "private/bigfloat/bigfloat-struct.rkt" 5 ;"private/bigfloat/bigfloat-incomplete-gamma.rkt" 6 ;"private/bigfloat/bigfloat-beta.rkt" 7 ;"private/bigfloat/bigfloat-incomplete-beta.rkt" 10 ;"private/bigfloat/bigfloat-log-arithmetic.rkt" 14 "private/bigfloat/bigfloat-struct.rkt" 15 ;"private/bigfloat/bigfloat-incomplete-gamma.rkt" 16 ;"private/bigfloat/bigfloat-beta.rkt" 17 ;"private/bigfloat/bigfloat-incomplete-beta.rkt" 18 ;"private/bigfloat/bigfloat-log-arithmetic.rkt"
|
/dports/lang/racket/racket-8.3/share/pkgs/math-lib/math/private/bigfloat/ |
H A D | bigfloat-mpfr.rkt | 167 bigfloat-signbit 168 bigfloat-exponent 169 bigfloat->sig+exp 173 flonum->bigfloat 176 real->bigfloat 177 fl2->bigfloat 178 string->bigfloat 179 bigfloat->flonum 182 bigfloat->real 183 bigfloat->fl2 [all …]
|