Home
last modified time | relevance | path

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

123

/dports/graphics/vips/vips-8.12.0/libvips/deprecated/
H A Dim_matinv.c126 double *row_scale; in im_lu_decomp() local
138 if( ! row_scale || ! lu ){ in im_lu_decomp()
140 im_free( row_scale ); in im_lu_decomp()
152 row_scale[ i ]= 0.0; in im_lu_decomp()
160 row_scale[ i ]= abs_val; in im_lu_decomp()
162 if( ! row_scale[ i ] ){ in im_lu_decomp()
165 im_free( row_scale ); in im_lu_decomp()
170 row_scale[ i ]= 1.0 / row_scale[ i ]; in im_lu_decomp()
207 im_free( row_scale ); in im_lu_decomp()
218 row_scale[ i_of_max ]= row_scale[ j ]; in im_lu_decomp()
[all …]
/dports/graphics/vips/vips-8.12.0/libvips/mosaicing/
H A Dmatrixinvert.c118 double *row_scale; in lu_decomp() local
126 g_free( row_scale ); in lu_decomp()
135 row_scale[i] = 0.0; in lu_decomp()
141 if( abs_val > row_scale[i] ) in lu_decomp()
142 row_scale[i] = abs_val; in lu_decomp()
145 if( !row_scale[i] ) { in lu_decomp()
148 g_free( row_scale ); in lu_decomp()
153 row_scale[i] = 1.0 / row_scale[i]; in lu_decomp()
189 g_free( row_scale ); in lu_decomp()
201 row_scale[i_of_max] = row_scale[j]; in lu_decomp()
[all …]
/dports/math/py-CyLP/CyLP-0.91.4/cylp/tests/
H A Dtest_sparseUtil.py15 row_scale = m.row_scale()
18 m.row_scale(1/row_scale)
26 m.row_scale()
/dports/science/hypre/hypre-2.23.0/src/parcsr_ls/
H A Dpar_strength.c258 row_scale = hypre_max(row_scale, A_diag_data[jA]); in hypre_BoomerAMGCreateSHost()
266 row_scale = hypre_max(row_scale, A_offd_data[jA]); in hypre_BoomerAMGCreateSHost()
277 row_scale = hypre_min(row_scale, A_diag_data[jA]); in hypre_BoomerAMGCreateSHost()
285 row_scale = hypre_min(row_scale, A_offd_data[jA]); in hypre_BoomerAMGCreateSHost()
297 row_scale = hypre_max(row_scale, A_diag_data[jA]); in hypre_BoomerAMGCreateSHost()
302 row_scale = hypre_max(row_scale, A_offd_data[jA]); in hypre_BoomerAMGCreateSHost()
310 row_scale = hypre_min(row_scale, A_diag_data[jA]); in hypre_BoomerAMGCreateSHost()
315 row_scale = hypre_min(row_scale, A_offd_data[jA]); in hypre_BoomerAMGCreateSHost()
1348 row_scale = hypre_max(row_scale, fabs(A_diag_data[jA])); in hypre_BoomerAMGCreateSabsHost()
1365 row_scale = hypre_max(row_scale, fabs(A_diag_data[jA])); in hypre_BoomerAMGCreateSabsHost()
[all …]
H A Dpar_strength_device.c255 HYPRE_Real row_scale = 0.0, row_sum = 0.0, row_max = 0.0, row_min = 0.0, diag = 0.0; in hypre_BoomerAMGCreateS_rowcount() local
334 row_scale = warp_allreduce_min(row_min); in hypre_BoomerAMGCreateS_rowcount()
338 row_scale = warp_allreduce_max(row_max); in hypre_BoomerAMGCreateS_rowcount()
343 const HYPRE_Real thresh = sdiag * strength_threshold * row_scale; in hypre_BoomerAMGCreateS_rowcount()
450 HYPRE_Real row_scale = 0.0, row_sum = 0.0, diag = 0.0; in hypre_BoomerAMGCreateSabs_rowcount() local
489 row_scale = hypre_max(row_scale, v); in hypre_BoomerAMGCreateSabs_rowcount()
512 row_scale = hypre_max(row_scale, v); in hypre_BoomerAMGCreateSabs_rowcount()
521 row_scale = warp_allreduce_max(row_scale); in hypre_BoomerAMGCreateSabs_rowcount()
525 const HYPRE_Real thresh = strength_threshold * row_scale; in hypre_BoomerAMGCreateSabs_rowcount()
H A Dpar_nongalerkin.c263 HYPRE_Real diag, row_scale, row_sum; in hypre_BoomerAMG_MyCreateS() local
368 row_scale = 0.0; in hypre_BoomerAMG_MyCreateS()
378 row_scale = hypre_max(row_scale, A_diag_data[jA]); in hypre_BoomerAMG_MyCreateS()
386 row_scale = hypre_max(row_scale, A_offd_data[jA]); in hypre_BoomerAMG_MyCreateS()
397 row_scale = hypre_min(row_scale, A_diag_data[jA]); in hypre_BoomerAMG_MyCreateS()
405 row_scale = hypre_min(row_scale, A_offd_data[jA]); in hypre_BoomerAMG_MyCreateS()
417 row_scale = hypre_max(row_scale, A_diag_data[jA]); in hypre_BoomerAMG_MyCreateS()
422 row_scale = hypre_max(row_scale, A_offd_data[jA]); in hypre_BoomerAMG_MyCreateS()
430 row_scale = hypre_min(row_scale, A_diag_data[jA]); in hypre_BoomerAMG_MyCreateS()
435 row_scale = hypre_min(row_scale, A_offd_data[jA]); in hypre_BoomerAMG_MyCreateS()
[all …]
H A DF90_HYPRE_parcsr_Euclid.c201 hypre_F90_Int *row_scale, in hypre_F90_IFACE()
206 hypre_F90_PassInt (row_scale) ); in hypre_F90_IFACE()
H A DHYPRE_parcsr_Euclid.c459 HYPRE_Int row_scale) in HYPRE_EuclidSetRowScale() argument
468 hypre_sprintf(str_row_scale,"%d",row_scale); in HYPRE_EuclidSetRowScale()
/dports/devel/py-qutip/qutip-4.6.2/qutip/cy/
H A Dheom.pyx40 def cy_pad_csr(object A, int row_scale, int col_scale, int insertrow=0, int insertcol=0): argument
44 cdef int nrowout = nrowin*row_scale
70 elif insertrow == row_scale-1:
71 temp = (row_scale - 1) * nrowin
75 elif insertrow > 0 and insertrow < row_scale - 1:
84 raise ValueError("insertrow must be >= 0 and < row_scale")
/dports/math/ipopt/Ipopt-3.12.13/Ipopt/src/Algorithm/
H A DIpEquilibrationScaling.cpp211 Number* row_scale = new Number[nc+nd+1]; in DetermineScalingParametersImpl() local
214 row_scale[i] = exp((Number)R[i]); in DetermineScalingParametersImpl()
223 df = row_scale[nc+nd]; in DetermineScalingParametersImpl()
225 TripletHelper::PutValuesInVector(nc, &row_scale[0], *dc); in DetermineScalingParametersImpl()
227 TripletHelper::PutValuesInVector(nd, &row_scale[nc], *dd); in DetermineScalingParametersImpl()
231 delete [] row_scale; in DetermineScalingParametersImpl()
/dports/databases/grass7/grass-7.8.6/raster/r.resamp.filter/
H A Dmain.c161 static int row_scale, col_scale; variable
216 v_weights = G_malloc(dst_w.rows * row_scale * sizeof(double)); in make_v_weights()
241 v_weights[row * row_scale + i] = w; in make_v_weights()
244 for (i = rows; i < row_scale; i++) in make_v_weights()
245 v_weights[row * row_scale + i] = 0; in make_v_weights()
296 double w = v_weights[row * row_scale + i]; in v_filter()
559 row_scale = 2 + 2 * ceil(f_y_radius / src_w.ns_res); in main()
563 bufs = G_malloc(row_scale * sizeof(DCELL *)); in main()
564 for (i = 0; i < row_scale; i++) in main()
/dports/math/py-or-tools/or-tools-9.2/ortools/lp_data/
H A Dmatrix_scaler.cc405 const ColIndex row_scale = CreateOrGetScaleIndex<RowIndex>( in LPScale() local
408 linear_program->SetVariableBounds(row_scale, -kInfinity, kInfinity); in LPScale()
423 linear_program->SetCoefficient(positive_constraint, row_scale, 1); in LPScale()
436 linear_program->SetCoefficient(negative_constraint, row_scale, 1); in LPScale()
463 DenseColumn row_scale(num_rows, 0.0); in LPScale() local
465 row_scale[row] = in LPScale()
469 ScaleMatrixRows(row_scale); in LPScale()
/dports/biology/ncbi-toolkit/ncbi/corelib/
H A Dmatrix.c82 Nlm_FloatHiPtr row_scale = (Nlm_FloatHiPtr) in lu_decompose() local
95 Nlm_MemFree( row_scale ); in lu_decompose()
99 row_scale[i] = 1.0 / max; in lu_decompose()
121 if ((temp = row_scale[i] * fabs(sum)) >= max) { in lu_decompose()
136 row_scale[imax] = row_scale[j]; in lu_decompose()
151 Nlm_MemFree( row_scale ); in lu_decompose()
/dports/databases/grass7/grass-7.8.6/raster/r.resamp.stats/
H A Dmain.c86 static int row_scale, col_scale; variable
98 values = G_malloc(row_scale * col_scale * sizeof(DCELL)); in resamp_unweighted()
167 values = G_malloc(row_scale * col_scale * 2 * sizeof(DCELL)); in resamp_weighted()
350 row_scale = 2 + ceil(dst_w.ns_res / src_w.ns_res); in main()
354 bufs = G_malloc(row_scale * sizeof(DCELL *)); in main()
355 for (row = 0; row < row_scale; row++) in main()
/dports/devel/py-qutip/qutip-4.6.2/qutip/nonmarkov/
H A Dheom.py583 def _pad_csr(A, row_scale, col_scale, insertrow=0, insertcol=0): argument
605 nrowout = nrowin*row_scale
618 np.array([A.indptr[-1]]*(row_scale-1)*nrowin)))
619 elif insertrow == row_scale-1:
620 A.indptr = np.concatenate((np.array([0]*(row_scale - 1)*nrowin),
622 elif insertrow > 0 and insertrow < row_scale - 1:
624 np.array([A.indptr[-1]]*(row_scale - insertrow - 1)*nrowin)))
/dports/graphics/rawtherapee/rawtherapee-5.8/rtengine/
H A Drescale.h63 float row_scale = float (Hs) / float (Hd); in rescaleBilinear() local
70 float ymrs = y * row_scale; in rescaleBilinear()
H A Dguidedfilter.cc189 const float row_scale = static_cast<float>(Hs) / static_cast<float>(Hd); in guidedFilter() local
196 const float ymrs = y * row_scale; in guidedFilter()
/dports/graphics/photoflow/PhotoFlow-8472024f/src/rt/rtengine/
H A Drescale.h61 float row_scale = float (Hs) / float (Hd); in rescaleBilinear() local
68 float ymrs = y * row_scale; in rescaleBilinear()
/dports/graphics/art/ART-1.9.3/rtengine/
H A Drescale.h61 float row_scale = float (Hs) / float (Hd); in rescaleBilinear() local
68 float ymrs = y * row_scale; in rescaleBilinear()
H A Dgainmap.cc214 const float row_scale = float(m.map_points_v-1) / float(H); in apply_gain_map() local
220 float ys = y * row_scale; in apply_gain_map()
H A Dguidedfilter.cc230 const float row_scale = float(Hs) / float(Hd); in guidedFilter() local
236 float ymrs = y * row_scale; in guidedFilter()
/dports/lang/erlang-runtime22/otp-OTP-22.3.4.24/lib/hipe/opt/
H A Dhipe_bb_weights.erl191 row_set_coef(Var, 1.0, row_scale(Row, 1.0/row_get(Var, Row))).
314 row_scale(_, 0.0) -> row_empty(); function
315 row_scale({RowCoefs, RowConst}, Factor) when is_float(Factor) -> function
/dports/lang/erlang-runtime23/otp-OTP-23.3.4.10/lib/hipe/opt/
H A Dhipe_bb_weights.erl191 row_set_coef(Var, 1.0, row_scale(Row, 1.0/row_get(Var, Row))).
314 row_scale(_, 0.0) -> row_empty(); function
315 row_scale({RowCoefs, RowConst}, Factor) when is_float(Factor) -> function
/dports/lang/erlang-runtime21/otp-OTP-21.3.8.24/lib/hipe/opt/
H A Dhipe_bb_weights.erl191 row_set_coef(Var, 1.0, row_scale(Row, 1.0/row_get(Var, Row))).
314 row_scale(_, 0.0) -> row_empty(); function
315 row_scale({RowCoefs, RowConst}, Factor) when is_float(Factor) -> function
/dports/graphics/R-cran-s2/s2/src/s2/
H A Ds2polyline_alignment.cc72 const double row_scale = static_cast<double>(new_rows) / rows_; in Upsample() local
77 from_stride = strides_[static_cast<int>((row + 0.5) / row_scale)]; in Upsample()

123