Home
last modified time | relevance | path

Searched refs:x_raw (Results 1 – 16 of 16) sorted by relevance

/dports/math/py-algopy/algopy-0.5.7/algopy/utpm/tests/
H A Dtest_utpm_convenience.py31 x_raw = np.array((0.1, 0.3, 0.4))
32 expected_jac = scipy.optimize.rosen_der(x_raw)
33 x = algopy.UTPM.init_jacobian(x_raw)
41 x_raw = np.array((0.1, 0.3, 0.4))
42 N = np.size(x_raw)
43 expected_hess = scipy.optimize.rosen_hess(x_raw)
44 x = algopy.UTPM.init_hessian(x_raw)
52 x_raw = np.array((0.1, 0.3, 0.4, 12))
61 x_raw = np.array((0.1, 0.3, 0.4, 12))
62 N = np.size(x_raw)
[all …]
/dports/math/dune-functions/dune-functions-1882b3ec0a14b211dd077f0d5e6455495e28c35d/dune/functions/backends/test/
H A Distlvectorbackendtest.cc98 Vector x_raw; in checkISTLVectorBackend() local
101 auto x = Dune::Functions::istlVectorBackend(x_raw); in checkISTLVectorBackend()
110 test.require(x_raw.size() == basis.size(SizePrefix{}), "resize check") in checkISTLVectorBackend()
113 test.require(x_raw[_0].size() == basis.size(SizePrefix{0}), "resize check") in checkISTLVectorBackend()
120 test.require(x_raw[_1].size() == basis.size(SizePrefix{1}), "resize check") in checkISTLVectorBackend()
125 for (std::size_t i=0; i<x_raw[_0].size(); ++i) in checkISTLVectorBackend()
126 for (std::size_t j=0; j<x_raw[_0][i].size(); ++j) in checkISTLVectorBackend()
128 for (std::size_t i=0; i<x_raw[_1].size(); ++i) in checkISTLVectorBackend()
134 for (std::size_t i=0; i<x_raw[_0].size(); ++i) in checkISTLVectorBackend()
135 for (std::size_t j=0; j<x_raw[_0][i].size(); ++j) in checkISTLVectorBackend()
[all …]
/dports/math/dune-functions/dune-functions-1882b3ec0a14b211dd077f0d5e6455495e28c35d/dune/functions/functionspacebases/test/
H A Dhierarchicvectorwrappertest.cc139 Vector x_raw; in checkHierarchicVector() local
142 Dune::Functions::HierarchicVectorWrapper<Vector, Coefficient> x(x_raw); in checkHierarchicVector()
148 test.require(x_raw.size() == sizeInfo(SizePrefix{}), "resize check") in checkHierarchicVector()
151 test.require(x_raw[_0].size() == sizeInfo(SizePrefix{0}), "resize check") in checkHierarchicVector()
158 test.require(x_raw[_1].size() == sizeInfo(SizePrefix{1}), "resize check") in checkHierarchicVector()
163 for (std::size_t i=0; i<x_raw[_0].size(); ++i) in checkHierarchicVector()
164 for (std::size_t j=0; j<x_raw[_0][i].size(); ++j) in checkHierarchicVector()
166 for (std::size_t i=0; i<x_raw[_1].size(); ++i) in checkHierarchicVector()
172 for (std::size_t i=0; i<x_raw[_0].size(); ++i) in checkHierarchicVector()
173 for (std::size_t j=0; j<x_raw[_0][i].size(); ++j) in checkHierarchicVector()
[all …]
/dports/games/freeminer/freeminer-0.4.10.4/builtin/common/
H A Dvector.lua50 local x_raw = pos2.x - pos1.x
53 local x_abs = math.abs(x_raw)
60 x_raw = x_raw / x_abs
64 x_raw = x_raw * (1 / y_abs)
70 x_raw = x_raw * (1 / z_abs)
74 return {x=x_raw, y=y_raw, z=z_raw}
/dports/math/cppad/CppAD-20210000.8/speed/adolc/
H A Dode.cpp86 double *x_raw = thread_alloc::create_array<double>(size_min, size_out); in link_ode() local
114 x_raw[j] = x[j]; in link_ode()
115 jacobian(tag, m, n, x_raw, jac_ptr); in link_ode()
138 x_raw[j] = x[j]; in link_ode()
141 jacobian(tag, m, n, x_raw, jac_ptr); in link_ode()
151 thread_alloc::delete_array(x_raw); in link_ode()
/dports/cad/gnucap/gnucap-2013-04-23/apps/
H A Dbm_posy.cc139 double x_raw = ioffset(d->_y[0].x); in tr_eval() local
140 trace1("before", x_raw); in tr_eval()
141 double x = (x_raw < 0) in tr_eval()
142 ? ((_odd || _even) ? -x_raw : 0.) in tr_eval()
143 : x_raw; in tr_eval()
169 if (_odd && x_raw < 0) { in tr_eval()
172 if (_even && x_raw < 0) { in tr_eval()
194 d->_y[0] = FPOLY1(x_raw, f0, f1); in tr_eval()
/dports/math/dune-istl/dune-istl-fffb544a61d2c65a0d2fc7c751f36909f06be8f5/dune/istl/eigenvalue/
H A Darpackpp.hh334 Real* x_raw = dprob.RawEigenvector(nev-1); in computeSymMaxMagnitude() local
335 WrappedMatrix::arrayToDomainBlockVector(x_raw,x); in computeSymMaxMagnitude()
343 A.multMv(x_raw,Ax_raw); in computeSymMaxMagnitude()
436 Real* x_raw = dprob.RawEigenvector(nev-1); in computeSymMinMagnitude() local
437 WrappedMatrix::arrayToDomainBlockVector(x_raw,x); in computeSymMinMagnitude()
445 A.multMv(x_raw,Ax_raw); in computeSymMinMagnitude()
655 Real* x_raw = dprob.RawEigenvector(nev-1); in computeNonSymMax() local
656 WrappedMatrix::arrayToDomainBlockVector(x_raw,x); in computeNonSymMax()
664 A.multMtMv(x_raw,AtAx_raw); in computeNonSymMax()
767 Real* x_raw = dprob.RawEigenvector(nev-1); in computeNonSymMin() local
[all …]
/dports/emulators/mednafen/mednafen/src/cdplay/
H A Dcdplay.cpp330 float x_raw, y_raw; in Emulate() local
338 x_raw = radius * sin_lut[(16384 + theta_i) & 0xFFFF]; in Emulate()
345 x_raw_prime = (x_raw2 - x_raw) * rawp_adjust; in Emulate()
351 x_raw += sample * y_raw_prime; in Emulate()
354 x = 96 + 60 * x_raw; in Emulate()
/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/usb/
H A Duatp.c1704 unsigned int x_pressure, x_raw, x_fingers; in interpret_input() local
1709 uatp_x_sensors(sc), uatp_x_ratio(sc), &x_raw, &x_fingers); in interpret_input()
1715 x_pressure, x_raw, x_fingers, in interpret_input()
1751 update_position(sc, fingers, x_raw, y_raw, dx, dy, dz, dw); in interpret_input()
2418 unsigned int x_raw, unsigned int y_raw, in update_position() argument
2424 move_mouse(sc, x_raw, y_raw, dx, dy); in update_position()
2426 scroll_wheel(sc, x_raw, y_raw, dz, dw); in update_position()
2434 move_mouse(struct uatp_softc *sc, unsigned int x_raw, unsigned int y_raw, in move_mouse() argument
2437 move(sc, "mouse", x_raw, y_raw, &sc->sc_x_raw, &sc->sc_y_raw, in move_mouse()
2444 scroll_wheel(struct uatp_softc *sc, unsigned int x_raw, unsigned int y_raw, in scroll_wheel() argument
[all …]
/dports/math/dune-pdelab/dune-pdelab-20c7085389d3eb4f8ca99e1bc60f7fa6036536c8/dune/pdelab/backend/istl/geneo/
H A Darpackpp_geneo.hh340 Real* x_raw = dprob.RawEigenvector(index[i]); in computeGenNonSymMinMagnitude() local
341 WrappedMatrix::arrayToVector(x_raw,x[i]); in computeGenNonSymMinMagnitude()
/dports/devel/R-cran-vctrs/vctrs/inst/doc/
H A Ds3-vector.R433 x_raw <- vec_data(x) functionVar
435 n <- max(vapply(x_raw, length, integer(1)))
438 full <- lapply(x_raw, function(x) c(rep(0L, n - length(x)), x))
H A Ds3-vector.Rmd749 x_raw <- vec_data(x)
751 n <- max(vapply(x_raw, length, integer(1)))
754 full <- lapply(x_raw, function(x) c(rep(0L, n - length(x)), x))
/dports/net-im/tdlib/td-a53cb30e99f937cfd64e0266fa558785a184a553/tddb/td/db/
H A DSqliteDb.cpp102 static int trace_v2_callback(unsigned code, void *ctx, void *p_raw, void *x_raw) { in trace_v2_callback() argument
104 auto x = static_cast<const char *>(x_raw); in trace_v2_callback()
/dports/multimedia/gmerlin/gmerlin-1.2.0/lib/x11/
H A Dx11_event.c341 int x_raw, int y_raw, in transform_coords() argument
347 *x_ret = x_raw; in transform_coords()
352 coord_norm = (double)(x_raw - w->dst_rect.x) / w->dst_rect.w; in transform_coords()
/dports/science/py-GPy/GPy-1.10.0/GPy/testing/
H A Dmodel_tests.py1089 x_raw = np.random.rand(N*D,1)
1107 cov = k.K(x_raw)
1132 x[offset_train:offset_train+D_train] = x_raw[offset_all:offset_all+D_train,0]
1134 … x_test[offset_test:offset_test+D_test] = x_raw[offset_all+D_train:offset_all+D_train+D_test,0]
/dports/devel/R-cran-vctrs/vctrs/vignettes/
H A Ds3-vector.Rmd749 x_raw <- vec_data(x)
751 n <- max(vapply(x_raw, length, integer(1)))
754 full <- lapply(x_raw, function(x) c(rep(0L, n - length(x)), x))