Home
last modified time | relevance | path

Searched refs:v_new (Results 1 – 25 of 214) sorted by relevance

123456789

/dports/science/afni/afni-AFNI_21.3.16/src/
H A D3dECM.c255 if( v_new != NULL ) free(v_new); in calc_fecm_power()
270 if( v_new != NULL ) free(v_new); in calc_fecm_power()
461 if( v_new != NULL ) free(v_new); in calc_full_power_sparse()
491 if( v_new != NULL ) free(v_new); in calc_full_power_sparse()
550 v_new_sum_sq += v_new[ii]*v_new[ii]; in calc_full_power_sparse()
561 v_new[ii] = v_new[ii] / v_new_norm; in calc_full_power_sparse()
562 v_new_sum_sq += v_new[ii]*v_new[ii]; in calc_full_power_sparse()
662 if( v_new != NULL ) free(v_new); in calc_full_power_max_mem()
678 if( v_new != NULL ){ free(v_new); v_new=NULL;} in calc_full_power_max_mem()
955 v_new[ii] = v_new[ii] / v_new_norm; in calc_full_power_max_mem()
[all …]
/dports/math/spooles-mpich/spooles.2.2_SHARED/Tree/src/
H A Dpermute.c19 int n, u_old, v_new, v_old, w_old ; in Tree_permute() local
44 for ( v_new = 0 ; v_new < n ; v_new++ ) { in Tree_permute()
45 v_old = newToOld[v_new] ; in Tree_permute()
47 tree2->par[v_new] = oldToNew[w_old] ; in Tree_permute()
50 tree2->fch[v_new] = oldToNew[u_old] ; in Tree_permute()
53 tree2->sib[v_new] = oldToNew[u_old] ; in Tree_permute()
/dports/math/spooles-mpich/spooles.2.2/Tree/src/
H A Dpermute.c19 int n, u_old, v_new, v_old, w_old ; in Tree_permute() local
44 for ( v_new = 0 ; v_new < n ; v_new++ ) { in Tree_permute()
45 v_old = newToOld[v_new] ; in Tree_permute()
47 tree2->par[v_new] = oldToNew[w_old] ; in Tree_permute()
50 tree2->fch[v_new] = oldToNew[u_old] ; in Tree_permute()
53 tree2->sib[v_new] = oldToNew[u_old] ; in Tree_permute()
/dports/math/spooles/spooles.2.2_SHARED/Tree/src/
H A Dpermute.c19 int n, u_old, v_new, v_old, w_old ; in Tree_permute() local
44 for ( v_new = 0 ; v_new < n ; v_new++ ) { in Tree_permute()
45 v_old = newToOld[v_new] ; in Tree_permute()
47 tree2->par[v_new] = oldToNew[w_old] ; in Tree_permute()
50 tree2->fch[v_new] = oldToNew[u_old] ; in Tree_permute()
53 tree2->sib[v_new] = oldToNew[u_old] ; in Tree_permute()
/dports/math/spooles/spooles.2.2/Tree/src/
H A Dpermute.c19 int n, u_old, v_new, v_old, w_old ; in Tree_permute() local
44 for ( v_new = 0 ; v_new < n ; v_new++ ) { in Tree_permute()
45 v_old = newToOld[v_new] ; in Tree_permute()
47 tree2->par[v_new] = oldToNew[w_old] ; in Tree_permute()
50 tree2->fch[v_new] = oldToNew[u_old] ; in Tree_permute()
53 tree2->sib[v_new] = oldToNew[u_old] ; in Tree_permute()
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/trilinos/packages/rol/example/PinT/tanks/
H A DTankState_Impl.hpp147 jv.set( v_new, Qout_, Qout_ ); in applyJacobian_1_new()
148 jv.axpy( -kappa_, v_new, Qout_, h_ ); in applyJacobian_1_new()
149 jv.set( v_new, Qin_, Qin_ ); in applyJacobian_1_new()
157 ijv.set( v_new, Qout_, Qout_ ); in applyInverseJacobian_1_new()
159 ijv.set( v_new, Qin_, Qin_ ); in applyInverseJacobian_1_new()
167 jv.axpy(-kappa_, v_new, h_, Qout_ ); in applyAdjointJacobian_1_new()
168 jv.set( v_new, Qout_, Qout_ ); in applyAdjointJacobian_1_new()
169 jv.set( v_new, Qin_, Qin_ ); in applyAdjointJacobian_1_new()
176 iajv.set( v_new, Qin_, Qin_ ); in applyInverseAdjointJacobian_1_new()
177 iajv.set( v_new, Qout_, Qout_ ); in applyInverseAdjointJacobian_1_new()
[all …]
H A DTankConstraint.hpp146 void applyJacobian_1_new( Vector& jv, const Vector& v_new, in applyJacobian_1_new() argument
151 auto& vn_state = to_state(v_new); in applyJacobian_1_new()
164 void applyInverseJacobian_1_new( Vector &ijv, const Vector &v_new, in applyInverseJacobian_1_new() argument
169 auto& vn_state = to_state(v_new); in applyInverseJacobian_1_new()
173 void applyInverseAdjointJacobian_1_new( Vector& iajv, const Vector& v_new, in applyInverseAdjointJacobian_1_new() argument
178 auto& vn_state = to_state(v_new); in applyInverseAdjointJacobian_1_new()
206 const Vector& v_new, const Vector& u_old, in applyAdjointHessian_11_old() argument
211 const Vector &v_new, const Vector &u_old, in applyAdjointHessian_11_new() argument
/dports/math/eigen3/eigen-3.3.9/unsupported/Eigen/src/IterativeSolvers/
H A DMINRES.h58 VectorType v_new(rhs-mat*x); //initialize v_new in minres()
59 RealScalar residualNorm2(v_new.squaredNorm()); in minres()
61 VectorType w_new(precond.solve(v_new)); // initialize w_new in minres()
63 RealScalar beta_new2(v_new.dot(w_new)); in minres()
67 v_new /= beta_new; in minres()
95 v = v_new; // update in minres()
98 v_new.noalias() = mat*w - beta*v_old; // compute v_new in minres()
99 const RealScalar alpha = v_new.dot(w); in minres()
100 v_new -= alpha*v; // overwrite v_new in minres()
101 w_new = precond.solve(v_new); // overwrite w_new in minres()
[all …]
/dports/math/stanmath/math-4.2.0/lib/eigen_3.3.9/unsupported/Eigen/src/IterativeSolvers/
H A DMINRES.h58 VectorType v_new(rhs-mat*x); //initialize v_new in minres()
59 RealScalar residualNorm2(v_new.squaredNorm()); in minres()
61 VectorType w_new(precond.solve(v_new)); // initialize w_new in minres()
63 RealScalar beta_new2(v_new.dot(w_new)); in minres()
67 v_new /= beta_new; in minres()
95 v = v_new; // update in minres()
98 v_new.noalias() = mat*w - beta*v_old; // compute v_new in minres()
99 const RealScalar alpha = v_new.dot(w); in minres()
100 v_new -= alpha*v; // overwrite v_new in minres()
101 w_new = precond.solve(v_new); // overwrite w_new in minres()
[all …]
/dports/math/R-cran-RcppEigen/RcppEigen/inst/include/unsupported/Eigen/src/IterativeSolvers/
H A DMINRES.h58 VectorType v_new(rhs-mat*x); //initialize v_new in minres()
59 RealScalar residualNorm2(v_new.squaredNorm()); in minres()
61 VectorType w_new(precond.solve(v_new)); // initialize w_new in minres()
63 RealScalar beta_new2(v_new.dot(w_new)); in minres()
67 v_new /= beta_new; in minres()
95 v = v_new; // update in minres()
98 v_new.noalias() = mat*w - beta*v_old; // compute v_new in minres()
99 const RealScalar alpha = v_new.dot(w); in minres()
100 v_new -= alpha*v; // overwrite v_new in minres()
101 w_new = precond.solve(v_new); // overwrite w_new in minres()
[all …]
/dports/math/libsemigroups/libsemigroups-1.3.7/extern/eigen-3.3.7/unsupported/Eigen/src/IterativeSolvers/
H A DMINRES.h58 VectorType v_new(rhs-mat*x); //initialize v_new in minres()
59 RealScalar residualNorm2(v_new.squaredNorm()); in minres()
61 VectorType w_new(precond.solve(v_new)); // initialize w_new in minres()
63 RealScalar beta_new2(v_new.dot(w_new)); in minres()
67 v_new /= beta_new; in minres()
95 v = v_new; // update in minres()
98 v_new.noalias() = mat*w - beta*v_old; // compute v_new in minres()
99 const RealScalar alpha = v_new.dot(w); in minres()
100 v_new -= alpha*v; // overwrite v_new in minres()
101 w_new = precond.solve(v_new); // overwrite w_new in minres()
[all …]
/dports/science/pcmsolver/pcmsolver-1.3.0/external/eigen3/include/eigen3/unsupported/Eigen/src/IterativeSolvers/
H A DMINRES.h58 VectorType v_new(rhs-mat*x); //initialize v_new in minres()
59 RealScalar residualNorm2(v_new.squaredNorm()); in minres()
61 VectorType w_new(precond.solve(v_new)); // initialize w_new in minres()
63 RealScalar beta_new2(v_new.dot(w_new)); in minres()
67 v_new /= beta_new; in minres()
95 v = v_new; // update in minres()
98 v_new.noalias() = mat*w - beta*v_old; // compute v_new in minres()
99 const RealScalar alpha = v_new.dot(w); in minres()
100 v_new -= alpha*v; // overwrite v_new in minres()
101 w_new = precond.solve(v_new); // overwrite w_new in minres()
[all …]
/dports/misc/opennn/opennn-5.0.5/eigen/unsupported/Eigen/src/IterativeSolvers/
H A DMINRES.h58 VectorType v_new(rhs-mat*x); //initialize v_new in minres()
59 RealScalar residualNorm2(v_new.squaredNorm()); in minres()
61 VectorType w_new(precond.solve(v_new)); // initialize w_new in minres()
63 RealScalar beta_new2(v_new.dot(w_new)); in minres()
67 v_new /= beta_new; in minres()
95 v = v_new; // update in minres()
98 v_new.noalias() = mat*w - beta*v_old; // compute v_new in minres()
99 const RealScalar alpha = v_new.dot(w); in minres()
100 v_new -= alpha*v; // overwrite v_new in minres()
101 w_new = precond.solve(v_new); // overwrite w_new in minres()
[all …]
/dports/devel/taskflow/taskflow-3.2.0/3rd-party/eigen-3.3.7/unsupported/Eigen/src/IterativeSolvers/
H A DMINRES.h58 VectorType v_new(rhs-mat*x); //initialize v_new in minres()
59 RealScalar residualNorm2(v_new.squaredNorm()); in minres()
61 VectorType w_new(precond.solve(v_new)); // initialize w_new in minres()
63 RealScalar beta_new2(v_new.dot(w_new)); in minres()
67 v_new /= beta_new; in minres()
95 v = v_new; // update in minres()
98 v_new.noalias() = mat*w - beta*v_old; // compute v_new in minres()
99 const RealScalar alpha = v_new.dot(w); in minres()
100 v_new -= alpha*v; // overwrite v_new in minres()
101 w_new = precond.solve(v_new); // overwrite w_new in minres()
[all …]
/dports/math/py-pystan/pystan-2.19.0.0/pystan/stan/lib/stan_math/lib/eigen_3.3.3/unsupported/Eigen/src/IterativeSolvers/
H A DMINRES.h58 VectorType v_new(rhs-mat*x); //initialize v_new in minres()
59 RealScalar residualNorm2(v_new.squaredNorm()); in minres()
61 VectorType w_new(precond.solve(v_new)); // initialize w_new in minres()
63 RealScalar beta_new2(v_new.dot(w_new)); in minres()
67 v_new /= beta_new; in minres()
95 v = v_new; // update in minres()
98 v_new.noalias() = mat*w - beta*v_old; // compute v_new in minres()
99 const RealScalar alpha = v_new.dot(w); in minres()
100 v_new -= alpha*v; // overwrite v_new in minres()
101 w_new = precond.solve(v_new); // overwrite w_new in minres()
[all …]
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/eigen3/include/eigen3/unsupported/Eigen/src/IterativeSolvers/
H A DMINRES.h58 VectorType v_new(rhs-mat*x); //initialize v_new in minres()
59 RealScalar residualNorm2(v_new.squaredNorm()); in minres()
61 VectorType w_new(precond.solve(v_new)); // initialize w_new in minres()
63 RealScalar beta_new2(v_new.dot(w_new)); in minres()
67 v_new /= beta_new; in minres()
95 v = v_new; // update in minres()
98 v_new.noalias() = mat*w - beta*v_old; // compute v_new in minres()
99 const RealScalar alpha = v_new.dot(w); in minres()
100 v_new -= alpha*v; // overwrite v_new in minres()
101 w_new = precond.solve(v_new); // overwrite w_new in minres()
[all …]
/dports/devel/py-xarray/xarray-0.20.1/xarray/tests/
H A Dtest_variable.py104 v_new = v[dict(x=1)]
117 v_new = v[ind]
124 v_new = v[ind]
718 v_new = v[ind]
725 v_new = v[ind]
1297 v_new = v[0]
1302 v_new = v[:2]
1307 v_new = v[[0]]
1311 v_new = v[[]]
1338 v_new = v[0, 0]
[all …]
/dports/misc/py-onnx/onnx-1.10.2/onnx/backend/test/case/node/
H A Dmomentum.py22 v_new = alpha * v + beta_adjusted * g_regularized
24 x_new = x - r * v_new
25 return x_new, v_new
34 v_new = alpha * v + beta_adjusted * g_regularized
36 x_new = x - r * (g_regularized + alpha * v_new)
37 return x_new, v_new
68 x_new, v_new = apply_momentum(r, t, x, g, v,
73 outputs=[x_new, v_new], name='test_momentum',
102 x_new, v_new = apply_nesterov(r, t, x, g, v,
107 outputs=[x_new, v_new], name='test_nesterov_momentum',
/dports/devel/upp/upp/uppsrc/plugin/Eigen/unsupported/Eigen/src/IterativeSolvers/
H A DMINRES.h59 VectorType v_new(rhs-mat*x); //initialize v_new in minres()
60 RealScalar residualNorm2(v_new.squaredNorm()); in minres()
62 VectorType w_new(precond.solve(v_new)); // initialize w_new in minres()
64 RealScalar beta_new2(v_new.dot(w_new)); in minres()
93 v_new /= beta_new; // overwrite v_new for next iteration in minres()
95 v = v_new; // update in minres()
97 v_new.noalias() = mat*w - beta*v_old; // compute v_new in minres()
98 const RealScalar alpha = v_new.dot(w); in minres()
99 v_new -= alpha*v; // overwrite v_new in minres()
100 w_new = precond.solve(v_new); // overwrite w_new in minres()
[all …]
/dports/misc/openmvg/openMVG-2.0/src/third_party/eigen/unsupported/Eigen/src/IterativeSolvers/
H A DMINRES.h59 VectorType v_new(rhs-mat*x); //initialize v_new in minres()
60 RealScalar residualNorm2(v_new.squaredNorm()); in minres()
62 VectorType w_new(precond.solve(v_new)); // initialize w_new in minres()
64 RealScalar beta_new2(v_new.dot(w_new)); in minres()
93 v_new /= beta_new; // overwrite v_new for next iteration in minres()
95 v = v_new; // update in minres()
97 v_new.noalias() = mat*w - beta*v_old; // compute v_new in minres()
98 const RealScalar alpha = v_new.dot(w); in minres()
99 v_new -= alpha*v; // overwrite v_new in minres()
100 w_new = precond.solve(v_new); // overwrite w_new in minres()
[all …]
/dports/math/libmesh/libmesh-1.6.2/contrib/eigen/3.2.9/unsupported/Eigen/src/IterativeSolvers/
H A DMINRES.h58 VectorType v_new(rhs-mat*x); //initialize v_new in minres()
59 RealScalar residualNorm2(v_new.squaredNorm()); in minres()
61 VectorType w_new(precond.solve(v_new)); // initialize w_new in minres()
63 RealScalar beta_new2(v_new.dot(w_new)); in minres()
67 v_new /= beta_new; in minres()
95 v = v_new; // update in minres()
98 v_new.noalias() = mat*w - beta*v_old; // compute v_new in minres()
99 const RealScalar alpha = v_new.dot(w); in minres()
100 v_new -= alpha*v; // overwrite v_new in minres()
101 w_new = precond.solve(v_new); // overwrite w_new in minres()
[all …]
/dports/graphics/wdune/wdune-1.926/vcglib/eigenlib/unsupported/Eigen/src/IterativeSolvers/
H A DMINRES.h58 VectorType v_new(rhs-mat*x); //initialize v_new in minres()
59 RealScalar residualNorm2(v_new.squaredNorm()); in minres()
61 VectorType w_new(precond.solve(v_new)); // initialize w_new in minres()
63 RealScalar beta_new2(v_new.dot(w_new)); in minres()
67 v_new /= beta_new; in minres()
95 v = v_new; // update in minres()
98 v_new.noalias() = mat*w - beta*v_old; // compute v_new in minres()
99 const RealScalar alpha = v_new.dot(w); in minres()
100 v_new -= alpha*v; // overwrite v_new in minres()
101 w_new = precond.solve(v_new); // overwrite w_new in minres()
[all …]
/dports/games/quakeforge/quakeforge-0.7.2/tools/qflight/source/
H A Dnoise.c99 snap_vector (vec3_t v_old, vec3_t v_new, float scale) in snap_vector() argument
102 v_new[0] = v_old[0]; in snap_vector()
103 v_new[1] = v_old[1]; in snap_vector()
104 v_new[2] = v_old[2]; in snap_vector()
106 v_new[0] = floor (v_old[0] / scale + 0.5) * scale; in snap_vector()
107 v_new[1] = floor (v_old[1] / scale + 0.5) * scale; in snap_vector()
108 v_new[2] = floor (v_old[2] / scale + 0.5) * scale; in snap_vector()
/dports/science/chrono/chrono-7.0.1/src/chrono_multicore/constraints/
H A DChConstraintRigidRigid.cpp321 DynamicVector<real> v_new; in Build_s() local
328 v_new = M_invk + M_invD * gamma; in Build_s()
335 real s_v = D_t_T(index * 2 + 0, body_id.x * 6 + 0) * +v_new[body_id.x * 6 + 0] + in Build_s()
336 D_t_T(index * 2 + 0, body_id.x * 6 + 1) * +v_new[body_id.x * 6 + 1] + in Build_s()
337 D_t_T(index * 2 + 0, body_id.x * 6 + 2) * +v_new[body_id.x * 6 + 2] + in Build_s()
338 D_t_T(index * 2 + 0, body_id.x * 6 + 3) * +v_new[body_id.x * 6 + 3] + in Build_s()
339 D_t_T(index * 2 + 0, body_id.x * 6 + 4) * +v_new[body_id.x * 6 + 4] + in Build_s()
340 D_t_T(index * 2 + 0, body_id.x * 6 + 5) * +v_new[body_id.x * 6 + 5] + in Build_s()
342 D_t_T(index * 2 + 0, body_id.y * 6 + 0) * +v_new[body_id.y * 6 + 0] + in Build_s()
347 D_t_T(index * 2 + 0, body_id.y * 6 + 5) * +v_new[body_id.y * 6 + 5]; in Build_s()
[all …]
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/trilinos/packages/rol/src/function/simopt/
H A DROL_Constraint_TimeSimOpt.hpp214 const Vector<Real> &v_new,
311 const Vector<Real> & v_new = getNewVector(v); in applyJacobian_1() local
324 applyJacobian_1_new(*jv_new,v_new, in applyJacobian_1()
417 const Vector<Real> & v_new = getNewVector(v); in applyAdjointHessian_11() local
548 applyJacobian_1_new( *Jv, v_new, u_old, u_new, z, tol ); in checkInverseJacobian_1_new()
552 auto diff = workspace_.clone(v_new); in checkInverseJacobian_1_new()
553 diff->set(v_new); in checkInverseJacobian_1_new()
556 Real vnorm = v_new.norm(); in checkInverseJacobian_1_new()
583 auto diff = workspace_.clone(v_new); in checkInverseAdjointJacobian_1_new()
584 diff->set(v_new); in checkInverseAdjointJacobian_1_new()
[all …]

123456789