Home
last modified time | relevance | path

Searched refs:ssq (Results 176 – 200 of 661) sorted by relevance

12345678910>>...27

/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/eigen3/include/eigen3/Eigen/src/Core/
H A DStableNorm.h18 inline void stable_norm_kernel(const ExpressionType& bl, Scalar& ssq, Scalar& scale, Scalar& invSca… in stable_norm_kernel() argument
24 ssq = ssq * numext::abs2(scale/maxCoeff); in stable_norm_kernel()
50 ssq += (bl*invScale).squaredNorm(); in stable_norm_kernel()
164 RealScalar ssq(0); // sum of square in stableNorm()
185 internal::stable_norm_kernel(copy.head(bi), ssq, scale, invScale); in stableNorm()
187 …orm_kernel(SegmentWrapper(copy.segment(bi,numext::mini(blockSize, n - bi))), ssq, scale, invScale); in stableNorm()
188 return scale * sqrt(ssq); in stableNorm()
/dports/math/gismo/gismo-21.12.0/external/Eigen/src/Core/
H A DStableNorm.h18 inline void stable_norm_kernel(const ExpressionType& bl, Scalar& ssq, Scalar& scale, Scalar& invSca… in stable_norm_kernel() argument
24 ssq = ssq * numext::abs2(scale/maxCoeff); in stable_norm_kernel()
50 ssq += (bl*invScale).squaredNorm(); in stable_norm_kernel()
164 RealScalar ssq(0); // sum of square in stableNorm()
185 internal::stable_norm_kernel(copy.head(bi), ssq, scale, invScale); in stableNorm()
187 …orm_kernel(SegmentWrapper(copy.segment(bi,numext::mini(blockSize, n - bi))), ssq, scale, invScale); in stableNorm()
188 return scale * sqrt(ssq); in stableNorm()
/dports/graphics/py-open3d-python/Open3D-0.2/src/External/Eigen/Eigen/src/Core/
H A DStableNorm.h18 inline void stable_norm_kernel(const ExpressionType& bl, Scalar& ssq, Scalar& scale, Scalar& invSca… in stable_norm_kernel() argument
24 ssq = ssq * numext::abs2(scale/maxCoeff); in stable_norm_kernel()
50 ssq += (bl*invScale).squaredNorm(); in stable_norm_kernel()
164 RealScalar ssq(0); // sum of square in stableNorm()
184 internal::stable_norm_kernel(copy.head(bi), ssq, scale, invScale); in stableNorm()
186 …orm_kernel(SegmentWrapper(copy.segment(bi,numext::mini(blockSize, n - bi))), ssq, scale, invScale); in stableNorm()
187 return scale * sqrt(ssq); in stableNorm()
/dports/math/ccmath/ccmath-2.2.1/tseries/
H A Dfixtsf.c16 struct mcof *pp; double e,ssq,drfmod(struct fmod,double *); in fixtsf() local
21 for(j=0,ssq=0.; j<n ;++j){ in fixtsf()
22 e=drfmod(x[j],cr); ssq+=e*e; in fixtsf()
34 else ssq= -1.; in fixtsf()
35 free(cp); setdrf(0); return ssq; in fixtsf()
H A Dseqts.c15 double e,ssq,sig,sqrt(double),drmod(double,double *); in seqts() local
21 for(j=0,ssq=0.; j<n ;){ in seqts()
22 e=drmod(x[j++],pd); ssq+=e*e; in seqts()
32 free(pd); setdr(0); return ssq; in seqts()
H A Dseqtsf.c17 double e,ssq,sig,drfmod(struct fmod,double *); in seqtsf() local
26 for(j=0,ssq=0.; j<n ;++j){ in seqtsf()
27 e=drfmod(x[j],pd); ssq+=e*e; in seqtsf()
37 free(pd); setdrf(0); return ssq; in seqtsf()
/dports/science/R-cran-bayesm/bayesm/src/
H A DlndIChisq_rcpp.cpp4 mat lndIChisq(double nu, double ssq, mat const& X) { in lndIChisq() argument
10 return(-lgamma(nu/2)+(nu/2)*log((nu*ssq)/2)-((nu/2)+1)*log(X)-(nu*ssq)/(2*X)); in lndIChisq()
/dports/math/clblas/clBLAS-2.10/src/library/blas/gens/clTemplates/
H A Dnrm2.cl103 // Same scratch buffer will be used both scale and ssq.
106 // ssq will be stored from [get_num_groups(0)] to [2*get_num_groups(0) - 1]
167 // Now we calculate ssq by loading the array again and dividing the
170 %TYPE ssq = ZERO;
190 ssq += %REDUCE_SUM( tempSsq );
200 ssq += (sReg1 / scaleOfWG) * (sReg1 / scaleOfWG);
203 %REDUCTION_BY_SUM( ssq );
210 scratchBuff[ numWGs + get_group_id(0) ] = ssq.even + ssq.odd;
212 scratchBuff[ numWGs + get_group_id(0) ] = ssq;
/dports/science/octopus/octopus-10.5/src/grid/
H A Dmesh_batch_inc.F90917 ssq = M_ONE
940 ssq(ist, ithread) = M_ONE + ssq(ist, ithread)*(scal(ist, ithread)/a0)**2
943 ssq(ist, ithread) = ssq(ist, ithread) + (a0/scal(ist, ithread))**2
952 ssq(ist, ithread) = M_ONE + ssq(ist, ithread)*(scal(ist, ithread)/a0)**2
955 ssq(ist, ithread) = ssq(ist, ithread) + (a0/scal(ist, ithread))**2
974 ssq(ist, ithread) = ssq(ist, ithread) + mesh%vol_pp(ip)*(a0/scal(ist, ithread))**2
986 ssq(ist, ithread) = ssq(ist, ithread) + mesh%vol_pp(ip)*(a0/scal(ist, ithread))**2
1001 ssq(ist, 1) = ssq(ist, 1) * (scal(ist, 1)/scal(ist, ithread))**2 + ssq(ist, ithread)
1004 ssq(ist, 1) = ssq(ist, 1) + ssq(ist, ithread) * (scal(ist, ithread)/scal(ist, 1))**2
1019 SAFE_DEALLOCATE_A(ssq)
[all …]
/dports/science/R-cran-bayesm/bayesm/R/
H A DRcppExports.R4 …are, J, T, v, R, sigmasqR, A, theta_hat, deltabar, Ad, nu0, s0_sq, VOmega, ssq, cand_cov, theta_ba… argument
28 lndIChisq <- function(nu, ssq, X) { argument
29 .Call('_bayesm_lndIChisq', PACKAGE = 'bayesm', nu, ssq, X)
56 rhierLinearMixture_rcpp_loop <- function(regdata, Z, deltabar, Ad, mubar, Amu, nu, V, nu_e, ssq, R,… argument
57 …p', PACKAGE = 'bayesm', regdata, Z, deltabar, Ad, mubar, Amu, nu, V, nu_e, ssq, R, keep, nprint, d…
60 rhierLinearModel_rcpp_loop <- function(regdata, Z, Deltabar, A, nu, V, nu_e, ssq, tau, Delta, Vbeta… argument
61 …odel_rcpp_loop', PACKAGE = 'bayesm', regdata, Z, Deltabar, A, nu, V, nu_e, ssq, tau, Delta, Vbeta,…
140 runiregGibbs_rcpp_loop <- function(y, X, betabar, A, nu, ssq, sigmasq, R, keep, nprint) { argument
141 ….Call('_bayesm_runiregGibbs_rcpp_loop', PACKAGE = 'bayesm', y, X, betabar, A, nu, ssq, sigmasq, R,…
144 runireg_rcpp_loop <- function(y, X, betabar, A, nu, ssq, R, keep, nprint) { argument
[all …]
/dports/databases/grass7/grass-7.8.6/lib/cdhc/
H A Das181.c25 void wext(double x[], int n, double ssq, double a[], int n2, double eps, in wext() argument
88 *w *= *w / ssq; in wext()
293 void Cdhc_wgp(double x[], int n, double ssq, double gp, double h, double a[], in Cdhc_wgp() argument
308 ssq = ssq - an1 * gp * gp / 12.0; in Cdhc_wgp()
309 h = gp / sqrt(ssq / an1); in Cdhc_wgp()
315 wext(x, n, ssq, a, n2, eps, &w, &p, ifault); in Cdhc_wgp()
H A Droyston.c16 double *a, eps, w, pw, mean = 0, ssq = 0, *xcopy; in Cdhc_royston() local
41 ssq += (mean - x[i]) * (mean - x[i]); in Cdhc_royston()
46 wext(xcopy, n, ssq, a, n2, eps, &w, &pw, &ifault); in Cdhc_royston()
/dports/misc/elki/elki-release0.7.1-1166-gfb1fffdf3/elki-clustering/src/main/java/de/lmu/ifi/dbs/elki/evaluation/clustering/internal/
H A DEvaluateSquaredErrors.java118 double ssq = 0, sum = 0; in evaluateClustering() local
135 ssq += square ? d * d : d; in evaluateClustering()
141 LOG.statistics(new DoubleStatistic(key + ".ssq", ssq)); in evaluateClustering()
142 LOG.statistics(new DoubleStatistic(key + ".rmsd", FastMath.sqrt(ssq / div))); in evaluateClustering()
148 g.addMeasure("Sum of Squares", ssq, 0., Double.POSITIVE_INFINITY, true); in evaluateClustering()
149 g.addMeasure("RMSD", FastMath.sqrt(ssq / div), 0., Double.POSITIVE_INFINITY, true); in evaluateClustering()
151 return ssq; in evaluateClustering()
/dports/math/py-pystan/pystan-2.19.0.0/pystan/stan/lib/stan_math/stan/math/prim/mat/err/
H A Dcheck_unit_vector.hpp37 T_prob ssq = theta.squaredNorm(); in check_unit_vector() local
38 if (!(fabs(1.0 - ssq) <= CONSTRAINT_TOLERANCE)) { in check_unit_vector()
43 domain_error(function, name, ssq, msg_str.c_str()); in check_unit_vector()
/dports/math/ccmath/ccmath-2.2.1/cfit/
H A Dgnlsq.c12 double err,f,z,ssq; int j,k,psinv(); in gnlsq() local
15 for(j=0,ssq=0.; j<n ;++j){ z=x[j]; in gnlsq()
16 f=(*func)(z,par); err=y[j]-f; ssq+=err*err; in gnlsq()
30 free(cp); return ssq; in gnlsq()
H A Dseqlsq.c13 double err,ssq,f,z; int j; in seqlsq() local
17 for(j=0,ssq=0.,pmax=pc+m; j<n ;++j){ z=x[j]; in seqlsq()
18 f=(*func)(z,par); err=y[j]-f; ssq+=err*err; in seqlsq()
31 free(pd); return ssq; in seqlsq()
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/columnstore/columnstore/utils/udfsdk/
H A Dssq.h89 class ssq : public mcsv1_UDAF
93 ssq() : mcsv1_UDAF() {}; in ssq() function
94 virtual ~ssq() {}; in ~ssq()
/dports/databases/mariadb105-server/mariadb-10.5.15/storage/columnstore/columnstore/utils/udfsdk/
H A Dssq.h89 class ssq : public mcsv1_UDAF
93 ssq() : mcsv1_UDAF() {}; in ssq() function
94 virtual ~ssq() {}; in ~ssq()
/dports/math/stanmath/math-4.2.0/stan/math/prim/err/
H A Dcheck_unit_vector.hpp41 scalar_type_t<Vec> ssq = value_of_rec(theta).squaredNorm(); in check_unit_vector() local
42 if (!(fabs(1.0 - ssq) <= CONSTRAINT_TOLERANCE)) { in check_unit_vector()
48 throw_domain_error(function, name, ssq, msg_str.c_str()); in check_unit_vector()
/dports/audio/libbpm/libbpm-0.3/bpmnr/
H A Dgsl_blas.c36 double ssq = 1.0; in cblas_dnrm2() local
53 ssq = 1.0 + ssq * (scale / ax) * (scale / ax); in cblas_dnrm2()
56 ssq += (ax / scale) * (ax / scale); in cblas_dnrm2()
63 return scale * sqrt(ssq); in cblas_dnrm2()
/dports/math/ccmath/ccmath-2.2.1/cfit/test/
H A Dtevpsq.c19 double ssq[NP]; Opol cf[NP]; in main() local
33 plsq(x,y,n,cf,ssq,np); in main()
34 ss=ssq[np-1]; in main()
H A Dtgnlsq.c20 double ssq,fit(double u,double *v); in main() local
34 ssq=gnlsq(x,y,n,parm,var,np,de,fit); in main()
35 printf("\n step %d ssq= %20.16f\n",j,ssq); in main()
/dports/math/taucs/taucs-2.2_23/progs/
H A Dxtest_allocations.c37 double norm, ssq, scale, absvi; in twonorm() local
43 ssq = 1.0; in twonorm()
49 ssq = 1.0 + ssq * (scale/absvi)*(scale/absvi); in twonorm()
52 ssq = ssq + (absvi/scale)*(absvi/scale); in twonorm()
55 return scale * sqrt( ssq ); in twonorm()
/dports/net/frr7-pythontools/frr-frr-7.5.1/lib/
H A Dhash.c88 atomic_fetch_sub_explicit(&hz->stats.ssq, -_adjust, \
91 atomic_fetch_add_explicit(&hz->stats.ssq, _adjust, \
303 hash->stats.ssq = 0; in hash_clean()
395 long double ssq; // ssq casted to long double variable
409 ssq = (long double)h->stats.ssq;
415 var = ldc ? (1.0 / ldc) * (ssq - x2 / ldc) : 0;
416 fvar = full ? (1.0 / full) * (ssq - x2 / full) : 0;
/dports/net/frr7/frr-frr-7.5.1/lib/
H A Dhash.c88 atomic_fetch_sub_explicit(&hz->stats.ssq, -_adjust, \
91 atomic_fetch_add_explicit(&hz->stats.ssq, _adjust, \
303 hash->stats.ssq = 0; in hash_clean()
395 long double ssq; // ssq casted to long double variable
409 ssq = (long double)h->stats.ssq;
415 var = ldc ? (1.0 / ldc) * (ssq - x2 / ldc) : 0;
416 fvar = full ? (1.0 / full) * (ssq - x2 / full) : 0;

12345678910>>...27