/dports/math/py-theano/Theano-1.0.5/theano/sparse/sandbox/ |
H A D | test_sp.py | 179 imval = np.random.rand(4, 5, 10, 10) 187 output_val = f(imval.reshape(imval.shape[0], -1)) 190 my_output_val = np.zeros((imval.shape[0], imval.shape[1], 191 imval.shape[2] // maxpoolshp[0], 192 imval.shape[3] // maxpoolshp[1])) 195 for n in range(imval.shape[0]): 196 for k in range(imval.shape[1]): 197 for i in range(imval.shape[2] // maxpoolshp[0]): 198 for j in range(imval.shape[3] // maxpoolshp[1]): 202 my_output_val = my_output_val.reshape(imval.shape[0], -1) [all …]
|
/dports/graphics/blender/blender-2.91.0/source/blender/editors/transform/ |
H A D | transform_input.c | 45 convertViewVec(t, output, mval[0] - mi->imval[0], mval[1] - mi->imval[1]); in InputVector() 91 output[0] = (float)(mi->imval[1] - mval[1]); in InputTrackBall() 288 mi->imval[0] + dir[0] * win_axis, in setCustomPointsFromDirection() 289 mi->imval[1] + dir[1] * win_axis, in setCustomPointsFromDirection() 291 const int mval_end[2] = {mi->imval[0], mi->imval[1]}; in setCustomPointsFromDirection() 313 mi->imval[0] = mval[0]; in initMouseInput() 314 mi->imval[1] = mval[1]; in initMouseInput() 322 ((float)(mi->center[1] - mi->imval[1])) * ((float)(mi->center[1] - mi->imval[1])) + in calcSpringFactor() 323 ((float)(mi->center[0] - mi->imval[0])) * ((float)(mi->center[0] - mi->imval[0]))); in calcSpringFactor() 364 data->mval_prev[0] = mi->imval[0]; in initMouseInputMode() [all …]
|
H A D | transform_mode_vert_slide.c | 105 ARRAY_SET_ITEMS(mval_ofs, t->mouse.imval[0] - co_orig_2d[0], t->mouse.imval[1] - co_orig_2d[1]); in calcVertSlideCustomPoints() 156 const float imval_fl[2] = {UNPACK2(t->mouse.imval)}; in calcVertSlideMouseActiveEdges() 444 if ((t->mval[0] != t->mouse.imval[0]) || (t->mval[1] != t->mouse.imval[1])) { in drawVertSlide() 450 mval_ofs[0] = t->mval[0] - t->mouse.imval[0]; in drawVertSlide() 451 mval_ofs[1] = t->mval[1] - t->mouse.imval[1]; in drawVertSlide()
|
H A D | transform_mode_timescale.c | 134 center[1] = t->mouse.imval[1]; in initTimeScale() 138 initMouseInput(t, &t->mouse, center, t->mouse.imval, false); in initTimeScale()
|
H A D | transform_mode_timetranslate.c | 122 UI_view2d_region_to_view(v2d, t->mouse.imval[0], t->mouse.imval[0], &sval[0], &sval[1]); in applyTimeTranslate()
|
H A D | transform_mode_timeslide.c | 147 UI_view2d_region_to_view(v2d, t->mouse.imval[0], t->mouse.imval[1], &sval[0], &sval[1]); in applyTimeSlide()
|
H A D | transform_mode_shear.c | 61 if (t->center2d[1] > t->mouse.imval[1]) { in initShear_mouseInputMode() 66 if (t->center2d[0] > t->mouse.imval[0]) { in initShear_mouseInputMode()
|
H A D | transform_constraints.c | 759 convertViewVec(t, vec, (t->mval[0] - t->con.imval[0]), (t->mval[1] - t->con.imval[1])); in drawConstraint() 998 if (abs(t->mval[0] - t->con.imval[0]) < abs(t->mval[1] - t->con.imval[1])) { in setNearestAxis2d() 1016 mvec[0] = (float)(t->mval[0] - t->con.imval[0]); in setNearestAxis3d() 1017 mvec[1] = (float)(t->mval[1] - t->con.imval[1]); in setNearestAxis3d()
|
H A D | transform.h | 119 int imval[2]; member 153 int imval[2]; member
|
/dports/math/py-theano/Theano-1.0.5/theano/tensor/signal/tests/ |
H A D | test_pool.py | 332 imval = rng.rand(*inputsize) 404 imval = rng.rand(*inputshp) 460 output_val = f(imval) 597 imval = rng.rand(*inputsize) 685 imval = rng.rand(*inputsize) 716 imval = rng.rand(*inputsize) 718 imval.shape, avgpoolshp, 849 imval = rng.rand(4, 5) 875 imval = rng.rand(4, 5, 6) 901 imval = rng.rand(4, 5, 6) [all …]
|
/dports/multimedia/vmaf/vmaf-2.3.0/matlab/strred/matlabPyrTools/MEX/ |
H A D | wrap.c | 42 sum += imval[YIND][XIND] * filt[filt_pos]; \ 56 image_type **imval; local 74 imval = (image_type **) malloc(y_dim*sizeof(image_type *)); 75 if (imval IS NULL) 81 imval[y_pos] = (image+y_im); 143 free ((image_type **) imval); 173 imval[YIND][XIND] += val * filt[filt_pos]; \ 186 image_type **imval; local 205 if (imval IS NULL) 211 imval[y_pos] = (result+y_res); [all …]
|
/dports/astro/kstars/kstars-3.5.6/kstars/fitsviewer/sep/ |
H A D | convolve.c | 115 PIXTYPE imval, varval; in matched_filter() local 181 imval = *src_im; in matched_filter() 185 *dst_num += conv[i] * imval / varval; in matched_filter()
|
/dports/astro/stellarsolver/stellarsolver-1.8/stellarsolver/sep/ |
H A D | convolve.cpp | 128 PIXTYPE imval, varval; in matched_filter() local 194 imval = *src_im; in matched_filter() 198 *dst_num += conv[i] * imval / varval; in matched_filter()
|
/dports/math/py-mpmath/mpmath-1.2.1/mpmath/ |
H A D | ctx_mp_python.py | 850 reval = imval = 0 854 reval, imval = term._mpc_ 860 reval, imval = term._mpc_ 863 if imval: 867 real.append(mpf_mul(imval,imval)) 869 reval, imval = mpc_pow_int((reval,imval),2,prec+10) 871 imag.append(imval) 873 real.append(mpc_abs((reval,imval), prec)) 876 imag.append(imval)
|
/dports/science/dalton/dalton-66052b3af5ea7225e31178bf9a8b031913c72190/DALTON/amfi/ |
H A D | symtra.F | 202 imval=mval(irun) 229 indexi=ifirstLM(ilval,imval,icent)+ncount(irun)-1
|
/dports/lang/gcc6-aux/gcc-6-20180516/libgo/go/go/internal/gccgoimporter/ |
H A D | parser.go | 329 imval := constant.MakeFromLiteral(im+"i", token.IMAG, 0) 330 if imval == nil { 333 val = constant.BinaryOp(reval, token.ADD, imval)
|
/dports/lang/gnat_util/gcc-6-20180516/libgo/go/go/internal/gccgoimporter/ |
H A D | parser.go | 329 imval := constant.MakeFromLiteral(im+"i", token.IMAG, 0) 330 if imval == nil { 333 val = constant.BinaryOp(reval, token.ADD, imval)
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llgo/third_party/gotools/go/gccgoimporter/ |
H A D | parser.go | 330 imval := exact.MakeFromLiteral(im+"i", token.IMAG) 331 if imval == nil { 334 val = exact.BinaryOp(reval, token.ADD, imval)
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llgo/third_party/gofrontend/libgo/go/go/internal/gccgoimporter/ |
H A D | parser.go | 329 imval := constant.MakeFromLiteral(im+"i", token.IMAG, 0) 330 if imval == nil { 333 val = constant.BinaryOp(reval, token.ADD, imval)
|
/dports/lang/gcc8/gcc-8.5.0/libgo/go/go/internal/gccgoimporter/ |
H A D | parser.go | 352 imval := constant.MakeFromLiteral(im+"i", token.IMAG, 0) 353 if imval == nil { 356 val = constant.BinaryOp(reval, token.ADD, imval)
|
/dports/net/google-cloud-sdk-app-engine-go/platform/google_appengine/goroot-1.9/src/go/internal/gccgoimporter/ |
H A D | parser.go | 344 imval := constant.MakeFromLiteral(im+"i", token.IMAG, 0) 345 if imval == nil { 348 val = constant.BinaryOp(reval, token.ADD, imval)
|
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/libgo/go/go/internal/gccgoimporter/ |
H A D | parser.go | 352 imval := constant.MakeFromLiteral(im+"i", token.IMAG, 0) 353 if imval == nil { 356 val = constant.BinaryOp(reval, token.ADD, imval)
|
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/libgo/go/go/internal/gccgoimporter/ |
H A D | parser.go | 352 imval := constant.MakeFromLiteral(im+"i", token.IMAG, 0) 353 if imval == nil { 356 val = constant.BinaryOp(reval, token.ADD, imval)
|
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/libgo/go/go/internal/gccgoimporter/ |
H A D | parser.go | 352 imval := constant.MakeFromLiteral(im+"i", token.IMAG, 0) 353 if imval == nil { 356 val = constant.BinaryOp(reval, token.ADD, imval)
|
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/libgo/go/go/internal/gccgoimporter/ |
H A D | parser.go | 352 imval := constant.MakeFromLiteral(im+"i", token.IMAG, 0) 353 if imval == nil { 356 val = constant.BinaryOp(reval, token.ADD, imval)
|