Home
last modified time | relevance | path

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

12345678910>>...208

/dports/science/hypre/hypre-2.23.0/src/FEI_mv/fei-hypre/
H A DHYPRE_LSI_poly.c217 case 2: coefs[0] = 14.0; coefs[1] = -7.0; coefs[2] = 1.0; in HYPRE_LSI_PolySetup()
219 case 3: coefs[0] = 30.0; coefs[1] = -27.0; coefs[2] = 9.0; in HYPRE_LSI_PolySetup()
221 case 4: coefs[0] = 55.0; coefs[1] = -77.0; coefs[2] = 44.0; in HYPRE_LSI_PolySetup()
223 case 5: coefs[0] = 91.0; coefs[1] = -182.0; coefs[2] = 156.0; in HYPRE_LSI_PolySetup()
224 coefs[3] = -65.0; coefs[4] = 13.0; coefs[5] = -1.0; in HYPRE_LSI_PolySetup()
226 case 6: coefs[0] = 140.0; coefs[1] = -378.0; coefs[2] = 450.0; in HYPRE_LSI_PolySetup()
227 coefs[3] = -275.0; coefs[4] = 90.0; coefs[5] = -15.0; in HYPRE_LSI_PolySetup()
229 case 7: coefs[0] = 204.0; coefs[1] = -714.0; coefs[2] = 1122.0; in HYPRE_LSI_PolySetup()
230 coefs[3] = -935.0; coefs[4] = 442.0; coefs[5] = -119.0; in HYPRE_LSI_PolySetup()
232 case 8: coefs[0] = 285.0; coefs[1] = -1254.0; coefs[2] = 2508.0; in HYPRE_LSI_PolySetup()
[all …]
/dports/math/octave-forge-nurbs/nurbs-1.4.3/inst/
H A Dnrbctrlplot.m65 coefs = bsxfun (@rdivide, nurbs.coefs(1:3,:,:,:), nurbs.coefs(4,:,:,:)); variable
66 coefs = reshape (coefs, 3, []); variable
67 plot3 (coefs(1,:), coefs(2,:), coefs(3,:), 'r.','MarkerSize',20);
73 plot3 (coefs(1,:)./weights, coefs(2,:)./weights, coefs(3,:)./weights,'k--')
78 plot3 (coefs(1,:)./weights, coefs(2,:)./weights, coefs(3,:)./weights,'k--')
85 plot3 (coefs(1,:)./weights, coefs(2,:)./weights, coefs(3,:)./weights,'k--')
103 plot3 (coefs(1,:)./weights, coefs(2,:)./weights, coefs(3,:)./weights,'k--')
109 plot3 (coefs(1,:)./weights, coefs(2,:)./weights, coefs(3,:)./weights,'k--')
121 coefs = nurbs.coefs(1:3,:); variable
123 plot3 (coefs(1,:)./weights, coefs(2,:)./weights, coefs(3,:)./weights,'k--')
[all …]
H A Dnrbdegelev.m85 coefs = nurbs.coefs; variable
98 coefs = permute(coefs,[1 2 4 3]); variable
103 coefs = permute(coefs,[1 2 4 3]); variable
110 coefs = permute(coefs,[1 3 4 2]); variable
113 coefs = reshape(coefs,[4 num2 num3 size(coefs,2)]); variable
114 coefs = permute(coefs,[1 4 2 3]); variable
123 coefs = nurbs.coefs; variable
136 coefs = permute(coefs,[1 3 2]); variable
139 coefs = reshape(coefs,[4 num2 size(coefs,2)]); variable
140 coefs = permute(coefs,[1 3 2]); variable
[all …]
H A Dnrbkntins.m109 coefs = nurbs.coefs; variable
122 coefs = permute(coefs,[1 2 4 3]); variable
127 coefs = permute(coefs,[1 2 4 3]); variable
134 coefs = permute(coefs,[1 3 4 2]); variable
137 coefs = reshape(coefs,[4 num2 num3 size(coefs,2)]); variable
138 coefs = permute(coefs,[1 4 2 3]); variable
148 coefs = nurbs.coefs; variable
161 coefs = permute(coefs,[1 3 2]); variable
164 coefs = reshape(coefs,[4 num2 size(coefs,2)]); variable
165 coefs = permute(coefs,[1 3 2]); variable
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/sound/pci/au88x0/
H A Dau88x0_xtalk.c243 xtalk_coefs_t const coefs) in vortex_XtalkHw_SetLeftEQ() argument
277 xtalk_coefs_t const coefs) in vortex_XtalkHw_SetLeftXT() argument
331 xtalk_state_t const coefs) in vortex_XtalkHw_SetRightEQStates() argument
369 xtalk_state_t const coefs) in vortex_XtalkHw_SetRightXTStates() argument
388 xtalk_coefs_t coefs)
405 xtalk_coefs_t coefs)
422 xtalk_coefs_t coefs)
439 xtalk_coefs_t coefs)
456 xtalk_state_t coefs)
474 xtalk_state_t coefs)
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/sound/pci/au88x0/
H A Dau88x0_xtalk.c243 xtalk_coefs_t const coefs) in vortex_XtalkHw_SetLeftEQ() argument
277 xtalk_coefs_t const coefs) in vortex_XtalkHw_SetLeftXT() argument
331 xtalk_state_t const coefs) in vortex_XtalkHw_SetRightEQStates() argument
369 xtalk_state_t const coefs) in vortex_XtalkHw_SetRightXTStates() argument
388 xtalk_coefs_t coefs)
405 xtalk_coefs_t coefs)
422 xtalk_coefs_t coefs)
439 xtalk_coefs_t coefs)
456 xtalk_state_t coefs)
474 xtalk_state_t coefs)
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/sound/pci/au88x0/
H A Dau88x0_xtalk.c243 xtalk_coefs_t const coefs) in vortex_XtalkHw_SetLeftEQ() argument
277 xtalk_coefs_t const coefs) in vortex_XtalkHw_SetLeftXT() argument
331 xtalk_state_t const coefs) in vortex_XtalkHw_SetRightEQStates() argument
369 xtalk_state_t const coefs) in vortex_XtalkHw_SetRightXTStates() argument
388 xtalk_coefs_t coefs)
405 xtalk_coefs_t coefs)
422 xtalk_coefs_t coefs)
439 xtalk_coefs_t coefs)
456 xtalk_state_t coefs)
474 xtalk_state_t coefs)
[all …]
/dports/devel/systemc/systemc-2.3.4_pub_rev_20190614/examples/sysc/fir/
H A Dfir_const.h38 coefs[0] = -6;
39 coefs[1] = -4;
40 coefs[2] = 13;
41 coefs[3] = 16;
42 coefs[4] = -18;
43 coefs[5] = -41;
44 coefs[6] = 23;
45 coefs[7] = 154;
46 coefs[8] = 222;
47 coefs[9] = 154;
[all …]
H A Dfir_data.cpp70 acc = sample_tmp*coefs[0]; in entry()
78 acc += shift[9]*coefs[10]; in entry()
79 acc += shift[8]*coefs[9]; in entry()
80 acc += shift[7]*coefs[8]; in entry()
83 acc += shift[6]*coefs[7]; in entry()
84 acc += shift[5]*coefs[6]; in entry()
85 acc += shift[4]*coefs[5]; in entry()
86 acc += shift[3]*coefs[4]; in entry()
89 acc += shift[2]*coefs[3]; in entry()
90 acc += shift[1]*coefs[2]; in entry()
[all …]
/dports/science/py-gpaw/gpaw-21.6.0/c/bmgs/
H A Dstencils.c24 memcpy(stencil.coefs, coefs, ncoefs * sizeof(double)); in bmgs_stencil()
64 {ncoefs, coefs, offsets, in bmgs_laplace()
90 coefs[m] = f; in bmgs_mslaplaceA()
94 coefs[m] = g[0]; in bmgs_mslaplaceA()
96 coefs[m] = g[1]; in bmgs_mslaplaceA()
98 coefs[m] = g[2]; in bmgs_mslaplaceA()
104 coefs[m] = e[1] + e[2]; in bmgs_mslaplaceA()
106 coefs[m] = e[0] + e[2]; in bmgs_mslaplaceA()
108 coefs[m] = e[0] + e[1]; in bmgs_mslaplaceA()
127 coefs[k] = 0.5; in bmgs_mslaplaceB()
[all …]
/dports/misc/visp/visp-3.4.0/3rdparty/atidaq/
H A Dftrt.c39 for (i=0; i<coefs->NumChannels-1; i++) { in RTConvertToFT()
41 …cvoltages[i]=TempComp(coefs,voltages[i],voltages[coefs->NumChannels-1],i) - coefs->TCbias_vector[i… in RTConvertToFT()
43 cvoltages[i]=voltages[i]-coefs->bias_vector[i]; in RTConvertToFT()
47 mmult(*coefs->working_matrix,coefs->NumAxes,(unsigned short)(coefs->NumChannels-1),MAX_GAUGES, in RTConvertToFT()
51 void RTBias(RTCoefs *coefs, float voltages[]) { in RTBias() argument
53 for (i=0; i<coefs->NumChannels-1; i++) { in RTBias()
54 coefs->bias_vector[i]=voltages[i]; in RTBias()
55 coefs->TCbias_vector[i]=TempComp(coefs,voltages[i],voltages[coefs->NumChannels-1],i); in RTBias()
58 coefs->bias_vector[coefs->NumChannels-1]=voltages[coefs->NumChannels-1]; in RTBias()
76 float TempComp(RTCoefs *coefs,float G,float T,unsigned short i) { in TempComp() argument
[all …]
/dports/databases/rrdtool/rrdtool-1.7.2/src/
H A Drrd_hw_update.c11 unival *coefs, in init_slope_intercept() argument
17 coefs[CDP_hw_intercept].u_val = coefs[CDP_scratch_idx].u_val; in init_slope_intercept()
18 coefs[CDP_hw_last_intercept].u_val = coefs[CDP_scratch_idx].u_val; in init_slope_intercept()
20 coefs[CDP_hw_slope].u_val = 0.0; in init_slope_intercept()
21 coefs[CDP_hw_last_slope].u_val = 0.0; in init_slope_intercept()
23 coefs[CDP_null_count].u_cnt = 1; in init_slope_intercept()
24 coefs[CDP_last_null_count].u_cnt = 1; in init_slope_intercept()
53 coefs[CDP_hw_last_intercept].u_val = coefs[CDP_hw_intercept].u_val; in update_hwpredict()
54 coefs[CDP_hw_last_slope].u_val = coefs[CDP_hw_slope].u_val; in update_hwpredict()
55 coefs[CDP_last_null_count].u_cnt = coefs[CDP_null_count].u_cnt; in update_hwpredict()
[all …]
/dports/audio/aften/aften-0.0.8/libaften/
H A Dfilter.c42 FLOAT coefs[5]; member
130 FLOAT *coefs = b->coefs; in biquad_i_run_filter() local
161 FLOAT *coefs = b->coefs; in biquad_ii_run_filter() local
173 state_j[2] = coefs[2] * state_j[0] - coefs[4] * v; in biquad_ii_run_filter()
204 f->coefs[1] = FCONST(2.0) * f->coefs[0]; in butterworth_generate_lowpass()
205 f->coefs[2] = f->coefs[0]; in butterworth_generate_lowpass()
206 f->coefs[3] = FCONST(2.0) * (FCONST(1.0) - c2) * f->coefs[0]; in butterworth_generate_lowpass()
207 f->coefs[4] = (c2 - AFT_SQRT2 * c + FCONST(1.0)) * f->coefs[0]; in butterworth_generate_lowpass()
217 f->coefs[1] = -FCONST(2.0) * f->coefs[0]; in butterworth_generate_highpass()
218 f->coefs[2] = f->coefs[0]; in butterworth_generate_highpass()
[all …]
/dports/math/gismo/gismo-21.12.0/src/gsNurbs/
H A DgsBoehm.hpp62 coefs.conservativeResize( coefs.rows()+r, coefs.cols() ); in gsBoehm()
66 coefs.row(i+r) = coefs.row(i); in gsBoehm()
121 coefs.row(i) = (1-a) * coefs.row(i-1) + a * coefs.row(i); in gsBoehmSingle()
143 coefs.conservativeResize( p+2, coefs.cols() ); in gsBoehmSingle()
148 coefs.row(p+1) = coefs.row(p); in gsBoehmSingle()
155 coefs.row(i) = (1-a) * coefs.row(i-1) + a * coefs.row(i); in gsBoehmSingle()
179 coefs.conservativeResize(np+nk, coefs.cols()); in gsBoehmRefine()
191 coefs.row( j+nk-1) = coefs.row(j-1); in gsBoehmRefine()
209 coefs.row(k-p-1) = coefs.row(i-p-1); in gsBoehmRefine()
216 coefs.row(k-p-1) = coefs.row(k-p); in gsBoehmRefine()
[all …]
/dports/science/InsightToolkit/ITK-5.0.1/Modules/ThirdParty/MINC/src/libminc/volume_io/Geometry/
H A Dsplines.c57 VIO_Real **coefs ) in get_linear_spline_coefs() argument
80 VIO_Real **coefs ) in get_quadratic_spline_coefs() argument
104 VIO_Real **coefs ) in get_cubic_spline_coefs() argument
141 coefs[0] = v0; in cubic_interpolate()
142 coefs[1] = v1; in cubic_interpolate()
143 coefs[2] = v2; in cubic_interpolate()
144 coefs[3] = v3; in cubic_interpolate()
171 VIO_Real coefs[], in evaluate_univariate_interpolating_spline() argument
205 VIO_Real coefs[], in evaluate_bivariate_interpolating_spline() argument
248 VIO_Real coefs[], in evaluate_trivariate_interpolating_spline() argument
[all …]
/dports/science/minc2/minc-release-2.2.00/volume_io/Geometry/
H A Dsplines.c54 Real **coefs ) in get_linear_spline_coefs() argument
77 Real **coefs ) in get_quadratic_spline_coefs() argument
101 Real **coefs ) in get_cubic_spline_coefs() argument
138 coefs[0] = v0; in cubic_interpolate()
139 coefs[1] = v1; in cubic_interpolate()
140 coefs[2] = v2; in cubic_interpolate()
141 coefs[3] = v3; in cubic_interpolate()
168 Real coefs[], in evaluate_univariate_interpolating_spline() argument
202 Real coefs[], in evaluate_bivariate_interpolating_spline() argument
245 Real coefs[], in evaluate_trivariate_interpolating_spline() argument
[all …]
/dports/science/hypre/hypre-2.23.0/src/parcsr_ls/
H A Dpar_cheby.c115 coefs[0] = 1.0/theta; in hypre_ParCSRRelax_Cheby_Setup()
123 coefs[1] = -1.0/den; in hypre_ParCSRRelax_Cheby_Setup()
132 coefs[2] = 2/den; in hypre_ParCSRRelax_Cheby_Setup()
142 coefs[3] = 4/den; in hypre_ParCSRRelax_Cheby_Setup()
155 coefs[0] = 1.0/theta; in hypre_ParCSRRelax_Cheby_Setup()
162 coefs[1] = 2/den; in hypre_ParCSRRelax_Cheby_Setup()
171 coefs[2] = -4/den; in hypre_ParCSRRelax_Cheby_Setup()
181 coefs[3] = -8/den; in hypre_ParCSRRelax_Cheby_Setup()
186 *coefs_ptr = coefs; in hypre_ParCSRRelax_Cheby_Setup()
275 mult = coefs[i]; in hypre_ParCSRRelax_Cheby_SolveHost()
[all …]
/dports/audio/libaudiofile/audiofile-0.3.6/libaudiofile/alac/
H A Ddp_enc.c55 coefs[k] = 0; in init_coefs()
117 a0 = coefs[0]; in pc_block()
118 a1 = coefs[1]; in pc_block()
119 a2 = coefs[2]; in pc_block()
120 a3 = coefs[3]; in pc_block()
189 coefs[0] = a0; in pc_block()
190 coefs[1] = a1; in pc_block()
191 coefs[2] = a2; in pc_block()
192 coefs[3] = a3; in pc_block()
200 a0 = coefs[0]; in pc_block()
[all …]
/dports/audio/libsndfile/libsndfile-1.0.31/src/ALAC/
H A Ddp_enc.c52 coefs [k] = 0 ; in init_coefs()
116 a0 = coefs [0] ; in pc_block()
117 a1 = coefs [1] ; in pc_block()
118 a2 = coefs [2] ; in pc_block()
119 a3 = coefs [3] ; in pc_block()
188 coefs [0] = a0 ; in pc_block()
189 coefs [1] = a1 ; in pc_block()
190 coefs [2] = a2 ; in pc_block()
191 coefs [3] = a3 ; in pc_block()
199 a0 = coefs [0] ; in pc_block()
[all …]
/dports/audio/alac/alac-0.0.7/codec/
H A Ddp_enc.c55 coefs[k] = 0; in init_coefs()
117 a0 = coefs[0]; in pc_block()
118 a1 = coefs[1]; in pc_block()
119 a2 = coefs[2]; in pc_block()
120 a3 = coefs[3]; in pc_block()
189 coefs[0] = a0; in pc_block()
190 coefs[1] = a1; in pc_block()
191 coefs[2] = a2; in pc_block()
192 coefs[3] = a3; in pc_block()
200 a0 = coefs[0]; in pc_block()
[all …]
/dports/math/R-cran-lava/lava/R/
H A Dbootstrap.R63 coefs <- sds <- c() functionVar
80 coefs <- fun(e0) functionVar
83 coefs <- coef(e0)
90 coefs <- c(coefs, cc[, 1])
91 names(coefs)[seq(length(coefs) - length(cc[, 1]) + 1, length(coefs))] <- rownames(cc)
97 return(list(coefs = coefs, sds = newsd)) nameattr
114 coefs <- matrix(unlist(lapply(res, function(x) x$coefs)), nrow = R + 1, byrow = TRUE)
123 rownames(coefs) <- c()
124 res <- list(coef = coefs[-1, , drop = FALSE], coef0 = coefs[1, ], model = x)
126 colnames(coefs) <- names(res[[1]]$coefs)
[all …]
/dports/graphics/krita/krita-4.4.8/libs/image/3rdparty/einspline/
H A Dbspline_create.cpp141 coefs[0*cstride] = coefs[M*cstride]; in solve_periodic_interp_1d_s()
142 coefs[(M+1)*cstride] = coefs[1*cstride]; in solve_periodic_interp_1d_s()
143 coefs[(M+2)*cstride] = coefs[2*cstride]; in solve_periodic_interp_1d_s()
202 coefs[0*cstride] = -coefs[M*cstride]; in solve_antiperiodic_interp_1d_s()
203 coefs[(M+1)*cstride] = -coefs[1*cstride]; in solve_antiperiodic_interp_1d_s()
204 coefs[(M+2)*cstride] = -coefs[2*cstride]; in solve_antiperiodic_interp_1d_s()
1053 coefs[0*cstride] = coefs[M*cstride]; in solve_periodic_interp_1d_d()
1054 coefs[(M+1)*cstride] = coefs[1*cstride]; in solve_periodic_interp_1d_d()
1055 coefs[(M+2)*cstride] = coefs[2*cstride]; in solve_periodic_interp_1d_d()
1110 coefs[0*cstride] = -coefs[M*cstride]; in solve_antiperiodic_interp_1d_d()
[all …]
/dports/science/qmcpack/qmcpack-3.11.0/src/einspline/
H A Dbspline_create.c125 coefs[0*cstride] = coefs[M*cstride]; in solve_periodic_interp_1d_s()
126 coefs[(M+1)*cstride] = coefs[1*cstride]; in solve_periodic_interp_1d_s()
127 coefs[(M+2)*cstride] = coefs[2*cstride]; in solve_periodic_interp_1d_s()
184 coefs[0*cstride] = -coefs[M*cstride]; in solve_antiperiodic_interp_1d_s()
185 coefs[(M+1)*cstride] = -coefs[1*cstride]; in solve_antiperiodic_interp_1d_s()
186 coefs[(M+2)*cstride] = -coefs[2*cstride]; in solve_antiperiodic_interp_1d_s()
1032 coefs[0*cstride] = coefs[M*cstride]; in solve_periodic_interp_1d_d()
1033 coefs[(M+1)*cstride] = coefs[1*cstride]; in solve_periodic_interp_1d_d()
1034 coefs[(M+2)*cstride] = coefs[2*cstride]; in solve_periodic_interp_1d_d()
1087 coefs[0*cstride] = -coefs[M*cstride]; in solve_antiperiodic_interp_1d_d()
[all …]
/dports/math/gismo/gismo-21.12.0/plugins/RhinoTHBSplines/GismoSupport/
H A DThbSurfaceGrips.cpp60 const gsMatrix<>& coefs = m_editSrf->coefs(); in Reset() local
61 bool rational = coefs.cols() == 4; in Reset()
62 for (int row = 0; row < coefs.rows(); ++row) in Reset()
67 ON_4dPoint origPt(coefs(row, 0), coefs(row, 1), coefs(row, 2), coefs(row, 3)); in Reset()
73 ON_3dPoint origPt(coefs(row, 0), coefs(row, 1), coefs(row, 2)); in Reset()
126 const gsMatrix<>& coefs = m_editSrf->coefs(); in CreateGrips() local
127 bool rational = coefs.cols() == 4; in CreateGrips()
129 m_grip_list.SetCapacity(coefs.rows()); in CreateGrips()
130 for (int row = 0; row < coefs.rows(); ++row) in CreateGrips()
135 double w = rational ? coefs(row, 3) : 1.0; in CreateGrips()
[all …]
/dports/devel/boost-docs/boost_1_72_0/libs/multiprecision/example/
H A Dfloating_point_examples.cpp365 static const std::array<mp_type, 32U> coefs = in mysin() local
408 const mp_type sum = ((((((((((((((((((((((((((((((( + coefs[31U] in mysin()
430 * x2 + coefs[9U]) in mysin()
431 * x2 + coefs[8U]) in mysin()
432 * x2 + coefs[7U]) in mysin()
433 * x2 + coefs[6U]) in mysin()
434 * x2 + coefs[5U]) in mysin()
435 * x2 + coefs[4U]) in mysin()
436 * x2 + coefs[3U]) in mysin()
437 * x2 + coefs[2U]) in mysin()
[all …]

12345678910>>...208