Home
last modified time | relevance | path

Searched refs:roundn (Results 1 – 25 of 25) sorted by relevance

/dports/science/rdkit/rdkit-Release_2021_03_5/Code/GraphMol/Descriptors/
H A DGETAWAY.cpp420 res[2] = roundn(HIC, 3); in getGETAWAYDescCustom()
427 res[3] = roundn(HGM, 3); in getGETAWAYDescCustom()
585 res[13] = roundn(HTc, 3); in getGETAWAYDescCustom()
588 res[24] = roundn(rcon, 3); in getGETAWAYDescCustom()
589 res[25] = roundn(RARS, 3); in getGETAWAYDescCustom()
643 res[2] = roundn(HIC, 3); in getGETAWAYDesc()
650 res[3] = roundn(HGM, 3); in getGETAWAYDesc()
1095 res[13] = roundn(HTu, 3); in getGETAWAYDesc()
1097 res[33] = roundn(HTm, 3); in getGETAWAYDesc()
1099 res[53] = roundn(HTv, 3); in getGETAWAYDesc()
[all …]
H A DWHIM.cpp51 double roundn(double in, int factor) { in roundn() function
156 Scores(j, i) = roundn(Scores(j, i), in getWhimD()
325 res[i + 11 * k] = roundn(w[map1[i] + 18 * k], 3); in getWHIM()
330 res[i + 13 * 7] = roundn(w[17 + 18 * i], 3); // 92 93 for Gu Gm in getWHIM()
335 roundn(w[3 + 18 * i], in getWHIM()
338 roundn(w[4 + 18 * i], in getWHIM()
341 roundn(w[9 + 18 * i], in getWHIM()
344 roundn(w[13 + 18 * i], in getWHIM()
347 roundn(w[5 + 18 * i], in getWHIM()
374 res[i] = roundn(w[map1[i]], 3); in getWHIMone()
/dports/math/octave-forge-mapping/mapping-1.4.1/inst/
H A Droundn.m17 ## @deftypefn {Function File} {} roundn (@var{X})
18 ## @deftypefnx {Function File} {} roundn (@var{X}, @var{n})
27 function ret = roundn (x, n = 0) function
41 %!assert (roundn (pi), 3, 2e-15)
42 %!assert (roundn (e, -2), 2.7200, 2e-15)
43 %!assert (roundn (pi, -4), 3.1416, 2e-15)
44 %!assert (roundn (e, -3), 2.718, 2e-15)
45 %!assert (roundn ([0.197608841252122, 0.384415323084123; ...
48 %!assert (roundn (401189, 3), 401000, 2e-15)
49 %!assert (roundn (5), 5, 2e-15)
[all …]
H A Dangl2str.m109 number_part = num2str (roundn (angles, n),
113 number_part = [(num2str (roundn (angles, n),
118 m = roundn (intermediary_calc, n);
128 s = roundn (intermediary_calc, n); ## seconds
165 str = num2str (roundn (number, dig), "%02.f");
170 str = num2str (roundn (number, dig), format);
/dports/biology/py-macs2/MACS-2.2.7.1/test/
H A Dtest_BedGraph.py70 def assertEqual_float ( self, a, b, roundn = 4 ): argument
71 self.assertEqual( round( a, roundn ), round( b, roundn ) )
/dports/audio/audacity/audacity-Audacity-3.1.3/plug-ins/
H A Dnoisegate.ny63 (max-khz (roundn (* 0.00045 *sound-srate*) 1))
64 (gate-freq-khz (roundn (/ gate-freq 1000.0) 1)))
99 (roundn (/ test-length *sound-srate*) 2)
100 (roundn peakdb 2)
101 (roundn target 0))))
118 (defun roundn (num places)
/dports/math/R-cran-terra/terra/src/
H A DspatBase.cpp245 double xn = roundn(xmin, n); in round()
246 double xx = roundn(xmax, n); in round()
247 double yn = roundn(ymin, n); in round()
248 double yx = roundn(ymax, n); in round()
H A Dwrite.cpp264 Rcpp::Rcout<< "memory avail. : " << roundn(mems[1] / gb, 2) << " GB" << std::endl; in writeStart()
265 Rcpp::Rcout<< "memory allow. : " << roundn(mems[2] * mems[1] / gb, 2) << " GB" << std::endl; in writeStart()
266 …Rcpp::Rcout<< "memory needed : " << roundn(mems[0] / gb, 3) << " GB" << " (" << opt.ncopies << " … in writeStart()
H A Dmath_utils.cpp83 double roundn(double x, int n){ in roundn() function
95 return roundn(x, d); in signif()
H A Draster_stats.cpp76 for(double& d : v) d = roundn(d, digits); in freq()
94 for (double& d : v) d = roundn(d, digits); in freq()
122 for(double& d : v) d = roundn(d, digits); in count()
142 for (double& d : v) d = roundn(d, digits); in count()
H A Dmath_utils.h31 double roundn(double x, int n);
H A Dwrite_gdal.cpp359 Rcpp::Rcout<< "disk available: " << roundn(diskAvailable / gb, 1) << " GB" << std::endl; in writeStartGDAL()
361 Rcpp::Rcout<< "disk needed : " << roundn(diskNeeded / gb, 1) << " GB" << std::endl; in writeStartGDAL()
H A DspatVector.cpp878 for (double& d : x) d = roundn(d, digits); in vecround()
H A Darith.cpp553 for(double& d : a) d = roundn(d, digits); in math2()
/dports/math/octave-forge-mapping/mapping-1.4.1/
H A DINDEX119 roundn
H A DNEWS43 * roundn.m: much improved Matlab-compatibility
214 roundn
/dports/devel/tcllib/tcllib-1.20/modules/math/
H A Dfuzzy.tcllib.man91 set roundn [lb]troundn $x $nodigits[rb]
/dports/devel/tcllibc/tcllib-1.20/modules/math/
H A Dfuzzy.tcllib.man91 set roundn [lb]troundn $x $nodigits[rb]
/dports/devel/tcllib/tcllib-1.20/embedded/md/tcllib/files/modules/math/
H A Dfuzzy.md135 set roundn [troundn $x $nodigits]
/dports/devel/tcllibc/tcllib-1.20/embedded/md/tcllib/files/modules/math/
H A Dfuzzy.md135 set roundn [troundn $x $nodigits]
/dports/math/gismo/gismo-21.12.0/external/
H A Dexprtk.hpp1456 inline T roundn(const T v0, const T v1) in roundn() function
5049 case e_roundn : return roundn <T>(arg0,arg1); in process_impl()
/dports/math/openturns/openturns-1.18/lib/src/Base/Func/openturns/
H A Dexprtk.hpp1465 inline T roundn(const T v0, const T v1) in roundn() function
5070 case e_roundn : return roundn <T>(arg0,arg1); in process_impl()
/dports/math/exprtk/exprtk-ca5c577917646ddba3f71ce6d5dd7d01f351ee80/
H A Dexprtk.hpp1456 inline T roundn(const T v0, const T v1) in roundn() function
5053 case e_roundn : return roundn <T>(arg0,arg1); in process_impl()
/dports/math/vtk9/VTK-9.1.0/ThirdParty/exprtk/vtkexprtk/
H A Dexprtk.hpp1467 inline T roundn(const T v0, const T v1) in roundn() function
5072 case e_roundn : return roundn <T>(arg0,arg1); in process_impl()
/dports/www/nift/nsm-2.4.11/exprtk/
H A Dexprtk.h1458 inline T roundn(const T v0, const T v1)
4937 case e_roundn : return roundn <T>(arg0,arg1);