Home
last modified time | relevance | path

Searched refs:xsol (Results 1 – 25 of 71) sorted by relevance

123

/dports/science/gromacs/gromacs-2021.4/src/gromacs/gmxana/
H A Dgmx_trjorder.cpp137 rvec * x, *xsol, xcom, dx; in gmx_trjorder() local
215 snew(xsol, nwat); in gmx_trjorder()
255 clear_rvec(xsol[i]); in gmx_trjorder()
263 xsol[i][d] += mass * x[sa][d]; in gmx_trjorder()
266 svmul(1.0 / totmass, xsol[i], xsol[i]); in gmx_trjorder()
274 copy_rvec(x[ind_sol[i * na + ref_a]], xsol[i]); in gmx_trjorder()
284 order[i].d2 = xsol[i][ZZ]; in gmx_trjorder()
304 pbc_dx(&pbc, xcom, xsol[i], dx); in gmx_trjorder()
315 pbc_dx(&pbc, x[ind_ref[0]], xsol[i], dx); in gmx_trjorder()
324 pbc_dx(&pbc, x[sr], xsol[i], dx); in gmx_trjorder()
/dports/math/concorde/concorde/TINY/
H A Dtt_main.c63 int *xsol = (int *) NULL; in main() local
114 xsol = CC_SAFE_MALLOC (ecount, int); in main()
115 if (!xsol) { in main()
121 upper, up, objsense, &optval, xsol, searchlimit); in main()
124 upper, up, objsense, &optval, xsol, verify_result, searchlimit); in main()
140 if (xsol[i]) { in main()
142 if (xsol[i] == 2.0) { in main()
160 CC_IFFREE (xsol, int); in main()
/dports/math/concorde/concorde/INCLUDE/
H A Dtinytsp.h34 double *optval, int *xsol, int checkresult, int searchlimit),
37 double *objval, int *xsol, int searchlimit),
40 double *objval, int *xsol, int searchlimit),
/dports/math/scilab/scilab-6.1.1/scilab/modules/optimization/tests/nonreg_tests/
H A Dbug_3348.dia.ref20 assert_checkfalse(execstr('[xsol,v]=lsqrsolve([100;100;100],f1,2)','errcatch') == 0);
26 assert_checkfalse(execstr('[xsol,v]=lsqrsolve([100;100],f1,3,[-1.d-8,1.d-8,1.d-5,1000,0,100])','err…
27 assert_checkfalse(execstr('[xsol,v]=lsqrsolve([100;100],f1,3,[1.d-8,1.d-8,1.d-5,1000,0,100],[0 1])'…
H A Dbug_3348.tst24 assert_checkfalse(execstr('[xsol,v]=lsqrsolve([100;100;100],f1,2)','errcatch') == 0);
32 assert_checkfalse(execstr('[xsol,v]=lsqrsolve([100;100],f1,3,[-1.d-8,1.d-8,1.d-5,1000,0,100])','err…
33 assert_checkfalse(execstr('[xsol,v]=lsqrsolve([100;100],f1,3,[1.d-8,1.d-8,1.d-5,1000,0,100],[0 1])'…
/dports/math/scilab/scilab-6.1.1/scilab/modules/optimization/tests/unit_tests/
H A Dlsqrsolve.tst17 [xsol,v]=lsqrsolve([100;100],f1,3);
18 if size(xsol) <> [2 1] then pause,end
22 [xsol,v]=lsqrsolve([100;100],f1,3,fj1);
H A Dlsqrsolve.dia.ref13 [xsol,v]=lsqrsolve([100;100],f1,3);
14 if size(xsol) <> [2 1] then bugmes();quit;end
17 [xsol,v]=lsqrsolve([100;100],f1,3,fj1);
/dports/math/concorde/concorde/LOCALCUT/
H A Dtsporacl.c40 int CCchunk_oracle (CCchunk_graph *ch, CCchunk_ineq *c, int *xsol, int *objval, in CCchunk_oracle() argument
77 if (xsol) { in CCchunk_oracle()
133 if (xsol) { in CCchunk_oracle()
135 xsol[i] = tmpxsol[i]; in CCchunk_oracle()
172 if (xsol) { in CCchunk_oracle()
174 xsol[i] = tmpxsol[i]; in CCchunk_oracle()
/dports/math/osqp/osqp-0.6.2/lin_sys/direct/qdldl/qdldl_sources/tests/
H A Dtest_basic.h13 QDLDL_float xsol[] = {10.2171, 3.9416, -5.69096, 9.28661, 50.0, -6.11433, in test_basic() local
20 mu_assert("Solve accuracy failed", vec_diff_norm(b,xsol,An) < QDLDL_TESTS_TOL); in test_basic()
H A Dtest_osqp_kkt.h16 QDLDL_float xsol[] = {1.13141, -1.1367, -0.591044, 1.68867, -2.24209, 0.32254, 0.407998}; in test_osqp_kkt() local
22 mu_assert("Solve accuracy failed", vec_diff_norm(b,xsol,An) < QDLDL_TESTS_TOL); in test_osqp_kkt()
H A Dtest_singleton.h11 QDLDL_float xsol[] = {10.0}; in test_singleton() local
17 mu_assert("Solve accuracy failed", vec_diff_norm(b,xsol,An) < QDLDL_TESTS_TOL); in test_singleton()
H A Dtest_two_by_two.h11 QDLDL_float xsol[] = {3,-1}; in test_two_by_two() local
17 mu_assert("Solve accuracy failed", vec_diff_norm(b,xsol,An) < QDLDL_TESTS_TOL); in test_two_by_two()
H A Dtest_zero_on_diag.h11 QDLDL_float xsol[] = {17,-46,-8}; in test_zero_on_diag() local
18 mu_assert("Solve accuracy failed", vec_diff_norm(b,xsol,An) < QDLDL_TESTS_TOL); in test_zero_on_diag()
H A Dtest_identity.h11 QDLDL_float xsol[] = {2,2,2,2}; in test_identity() local
17 mu_assert("Solve accuracy failed", vec_diff_norm(b,xsol,An) < QDLDL_TESTS_TOL); in test_identity()
/dports/math/py-qdldl/qdldl-0.1.5.post0/c/qdldl/tests/
H A Dtest_osqp_kkt.h16 QDLDL_float xsol[] = {1.13141, -1.1367, -0.591044, 1.68867, -2.24209, 0.32254, 0.407998}; in test_osqp_kkt() local
22 mu_assert("Solve accuracy failed", vec_diff_norm(b,xsol,An) < QDLDL_TESTS_TOL); in test_osqp_kkt()
H A Dtest_singleton.h11 QDLDL_float xsol[] = {10.0}; in test_singleton() local
17 mu_assert("Solve accuracy failed", vec_diff_norm(b,xsol,An) < QDLDL_TESTS_TOL); in test_singleton()
H A Dtest_two_by_two.h11 QDLDL_float xsol[] = {3,-1}; in test_two_by_two() local
17 mu_assert("Solve accuracy failed", vec_diff_norm(b,xsol,An) < QDLDL_TESTS_TOL); in test_two_by_two()
H A Dtest_basic.h13 QDLDL_float xsol[] = {10.2171, 3.9416, -5.69096, 9.28661, 50.0, -6.11433, in test_basic() local
20 mu_assert("Solve accuracy failed", vec_diff_norm(b,xsol,An) < QDLDL_TESTS_TOL); in test_basic()
H A Dtest_zero_on_diag.h11 QDLDL_float xsol[] = {17,-46,-8}; in test_zero_on_diag() local
18 mu_assert("Solve accuracy failed", vec_diff_norm(b,xsol,An) < QDLDL_TESTS_TOL); in test_zero_on_diag()
/dports/math/py-osqp/osqp-0.6.2.post0/osqp_sources/lin_sys/direct/qdldl/qdldl_sources/tests/
H A Dtest_osqp_kkt.h16 QDLDL_float xsol[] = {1.13141, -1.1367, -0.591044, 1.68867, -2.24209, 0.32254, 0.407998}; in test_osqp_kkt() local
22 mu_assert("Solve accuracy failed", vec_diff_norm(b,xsol,An) < QDLDL_TESTS_TOL); in test_osqp_kkt()
H A Dtest_two_by_two.h11 QDLDL_float xsol[] = {3,-1}; in test_two_by_two() local
17 mu_assert("Solve accuracy failed", vec_diff_norm(b,xsol,An) < QDLDL_TESTS_TOL); in test_two_by_two()
H A Dtest_basic.h13 QDLDL_float xsol[] = {10.2171, 3.9416, -5.69096, 9.28661, 50.0, -6.11433, in test_basic() local
20 mu_assert("Solve accuracy failed", vec_diff_norm(b,xsol,An) < QDLDL_TESTS_TOL); in test_basic()
H A Dtest_singleton.h11 QDLDL_float xsol[] = {10.0}; in test_singleton() local
17 mu_assert("Solve accuracy failed", vec_diff_norm(b,xsol,An) < QDLDL_TESTS_TOL); in test_singleton()
H A Dtest_identity.h11 QDLDL_float xsol[] = {2,2,2,2}; in test_identity() local
17 mu_assert("Solve accuracy failed", vec_diff_norm(b,xsol,An) < QDLDL_TESTS_TOL); in test_identity()
H A Dtest_zero_on_diag.h11 QDLDL_float xsol[] = {17,-46,-8}; in test_zero_on_diag() local
18 mu_assert("Solve accuracy failed", vec_diff_norm(b,xsol,An) < QDLDL_TESTS_TOL); in test_zero_on_diag()

123