/dports/math/cppad/CppAD-20210000.8/speed/fadbad/ |
H A D | mat_mul.cpp | 53 CppAD::vector<double>& x , in link_mat_mul() 54 CppAD::vector<double>& z , in link_mat_mul() 55 CppAD::vector<double>& dz ) in link_mat_mul() 68 typedef CppAD::vector<ADScalar> ADVector; in link_mat_mul() 80 CppAD::uniform_01(n, x); in link_mat_mul()
|
H A D | det_minor.cpp | 54 CppAD::vector<double> &matrix , in link_det_minor() 55 CppAD::vector<double> &gradient ) in link_det_minor() 68 typedef CppAD::vector<b_double> b_vector; in link_det_minor() 71 CppAD::det_by_minor<b_double> b_det(size); in link_det_minor() 88 CppAD::uniform_01(n, matrix); in link_det_minor()
|
H A D | sparse_hessian.cpp | 31 const CppAD::vector<size_t>& row , in link_sparse_hessian() 32 const CppAD::vector<size_t>& col , in link_sparse_hessian() 33 CppAD::vector<double>& x , in link_sparse_hessian() 34 CppAD::vector<double>& hessian , in link_sparse_hessian()
|
/dports/math/cppad/CppAD-20210000.8/example/json/ |
H A D | to_json.cpp | 30 using CppAD::vector; in to_json() 31 using CppAD::AD; in to_json() 61 CppAD::ADFun< AD<double> > af; in to_json() 70 CppAD::Independent(ax); in to_json() 81 CppAD::ADFun<double> g(ax, az); in to_json()
|
H A D | cexp_op.cpp | 31 using CppAD::vector; in cexp_op() 32 using CppAD::AD; in cexp_op() 61 CppAD::ADFun<double> f; in cexp_op() 84 ok &= CppAD::NearEqual(y[0], check, eps99, eps99); in cexp_op() 96 ok &= CppAD::NearEqual(y[0], check, eps99, eps99); in cexp_op()
|
/dports/math/cppad/CppAD-20210000.8/include/cppad/core/ |
H A D | sparse_hessian.hpp | 324 namespace CppAD { // BEGIN_CPPAD_NAMESPACE namespace 341 CppAD::vector<size_t> row; 342 CppAD::vector<size_t> col; 344 CppAD::vector<size_t> order; 346 CppAD::vector<size_t> color; 427 using CppAD::vectorBool; in SparseHessianCompute() 430 CppAD::vector<size_t>& row(work.row); in SparseHessianCompute() 431 CppAD::vector<size_t>& col(work.col); in SparseHessianCompute() 773 CppAD::vector<size_t> row; 774 CppAD::vector<size_t> col; [all …]
|
/dports/math/SCIP/scip-7.0.3/src/cppad/core/ |
H A D | sparse_hessian.hpp | 324 namespace CppAD { // BEGIN_CPPAD_NAMESPACE namespace 341 CppAD::vector<size_t> row; 342 CppAD::vector<size_t> col; 344 CppAD::vector<size_t> order; 346 CppAD::vector<size_t> color; 427 using CppAD::vectorBool; in SparseHessianCompute() 430 CppAD::vector<size_t>& row(work.row); in SparseHessianCompute() 431 CppAD::vector<size_t>& col(work.col); in SparseHessianCompute() 773 CppAD::vector<size_t> row; 774 CppAD::vector<size_t> col; [all …]
|
/dports/math/cppad/CppAD-20210000.8/test_more/general/ |
H A D | subgraph_1.cpp | 17 typedef CppAD::sparse_rc<svector> sparsity; 19 using CppAD::AD; 30 CppAD::checkpoint<double>* atom_g = nullptr; 37 CppAD::ADFun<double>& fun ) in record_function() 53 CppAD::Independent(ax); in record_function() 87 CppAD::sparse_rc<svector> subgraph , in compare_subgraph_sparsity() 88 CppAD::sparse_rc<svector> check ) in compare_subgraph_sparsity() 129 CppAD::ADFun<double> f; in test_subgraph_sparsity() 203 ok &= CppAD::NearEqual(dw[j], check[j], eps99, eps99); in compare_subgraph_reverse() 205 ok &= CppAD::NearEqual(0.0, check[j], eps99, eps99); in compare_subgraph_reverse() [all …]
|
H A D | dependency.cpp | 66 using CppAD::AD; in dependency() 67 using CppAD::NearEqual; in dependency() 70 CppAD::VecAD<double> vec_ad(2); in dependency() 81 CppAD::Independent(ax); in dependency() 97 CppAD::ADFun<double> f(ax, ay); in dependency() 104 CppAD::vectorBool eye_bool(n * n), depend_bool(m * n); in dependency() 124 CppAD::vector< std::set<size_t> > eye_set(m), depend_set(m); in dependency()
|
H A D | cppad_vector.cpp | 23 typedef CppAD::vector<char>::const_iterator const_iterator; in test_find() 26 CppAD::vector<char> vec(n); in test_find() 46 CppAD::vector<char> vec(n), des(n); in test_copy() 49 const CppAD::vector<char> src(vec); in test_copy() 66 CppAD::vector<char> src(n), des(n); in test_reverse() 83 CppAD::vector<char> vec(n); in test_sort()
|
/dports/math/cppad/CppAD-20210000.8/test_more/deprecated/ |
H A D | old_usead_1.cpp | 49 using CppAD::AD; 50 using CppAD::ADFun; 51 using CppAD::vector; 59 CppAD::Independent(ax); in create_r() 241 CppAD::vector , 253 using CppAD::NearEqual; in old_usead_1() 270 CppAD::Independent(ax); in old_usead_1() 334 CppAD::vectorBool r1(n * p), s1(m * p); in old_usead_1() 342 CppAD::vectorBool s2(q * m), r2(q * n); in old_usead_1() 349 CppAD::vectorBool s3(m), h(p * n); in old_usead_1() [all …]
|
/dports/math/cppad/CppAD-20210000.8/example/sparse/ |
H A D | rev_sparse_hes.cpp | 51 using CppAD::AD; in BoolCases() 61 CppAD::Independent(ax); in BoolCases() 70 CppAD::ADFun<double> f(ax, ay); in BoolCases() 122 using CppAD::AD; in SetCases() 132 CppAD::Independent(ax); in SetCases() 141 CppAD::ADFun<double> f(ax, ay); in SetCases() 207 ok &= BoolCases< CppAD::vector <bool> >(); in rev_sparse_hes() 208 ok &= BoolCases< CppAD::vectorBool >(); in rev_sparse_hes() 215 ok &= SetCases< CppAD::vector <set> >(); in rev_sparse_hes()
|
H A D | sub_sparse_hes.cpp | 54 using CppAD::vector; 70 using CppAD::AD; in sub_sparse_hes() 84 CppAD::Independent(ax); in sub_sparse_hes() 90 CppAD::Independent(a2u); in sub_sparse_hes() 100 CppAD::ADFun<adouble> g; in sub_sparse_hes() 124 CppAD::sparse_hessian_work work; in sub_sparse_hes() 135 CppAD::ADFun<double> H(ax, ahes); in sub_sparse_hes() 155 ok &= CppAD::NearEqual(hes[k], check, eps, eps); in sub_sparse_hes()
|
/dports/math/cppad/CppAD-20210000.8/speed/adolc/ |
H A D | sparse_jacobian.cpp | 60 using CppAD::vector; 93 CppAD::sparse_jac_fun<adouble>(m, n, a_x, row, col, order, a_y); in setup() 123 const CppAD::vector<size_t>& row , in link_sparse_jacobian() 124 const CppAD::vector<size_t>& col , in link_sparse_jacobian() 125 CppAD::vector<double>& x_return , in link_sparse_jacobian() 126 CppAD::vector<double>& jacobian , in link_sparse_jacobian() 176 CppAD::uniform_01(n, x); in link_sparse_jacobian() 201 CppAD::uniform_01(n, x); in link_sparse_jacobian()
|
/dports/math/cppad/CppAD-20210000.8/example/general/ |
H A D | rev_checkpoint.cpp | 147 double eps = 10. * CppAD::numeric_limits<double>::epsilon(); in rev_checkpoint_case() 149 using CppAD::AD; in rev_checkpoint_case() 150 using CppAD::NearEqual; in rev_checkpoint_case() 151 CppAD::ADFun<double> f, g, empty; in rev_checkpoint_case() 164 CppAD::Independent(X); in rev_checkpoint_case() 169 CppAD::Independent(X); in rev_checkpoint_case() 185 CppAD::Independent(Y); in rev_checkpoint_case() 220 CppAD::Independent(X); in rev_checkpoint_case()
|
H A D | stack_machine.cpp | 56 CppAD::vector< CppAD::AD<double> > &variable ) in StackMachine() 60 using CppAD::AD; in StackMachine() 135 using CppAD::AD; in StackMachine() 136 using CppAD::NearEqual; in StackMachine() 138 using CppAD::vector; in StackMachine() 161 CppAD::Independent(X); in StackMachine() 179 CppAD::ADFun<double> f(X, Y); in StackMachine()
|
H A D | con_dyn_var.cpp | 32 using CppAD::AD; in con_dyn_var() 33 using CppAD::VecAD; in con_dyn_var() 34 using CppAD::Parameter; in con_dyn_var() 35 using CppAD::Variable; in con_dyn_var() 59 CppAD::Independent(x, dynamic); in con_dyn_var() 84 CppAD::ADFun<double> f(x, y); in con_dyn_var()
|
/dports/math/cppad/CppAD-20210000.8/speed/sacado/ |
H A D | mat_mul.cpp | 52 CppAD::vector<double>& x , in link_mat_mul() 53 CppAD::vector<double>& z , in link_mat_mul() 54 CppAD::vector<double>& dz ) in link_mat_mul() 64 typedef CppAD::vector<ADScalar> ADVector; in link_mat_mul() 77 CppAD::uniform_01(n, x); in link_mat_mul()
|
H A D | det_minor.cpp | 54 CppAD::vector<double> &matrix , in link_det_minor() 55 CppAD::vector<double> &gradient ) in link_det_minor() 70 typedef CppAD::vector<r_double> r_vector; in link_det_minor() 73 CppAD::det_by_minor<r_double> r_det(size); in link_det_minor() 87 CppAD::uniform_01(n, matrix); in link_det_minor()
|
H A D | sparse_hessian.cpp | 32 const CppAD::vector<size_t>& row , in link_sparse_hessian() 33 const CppAD::vector<size_t>& col , in link_sparse_hessian() 34 CppAD::vector<double>& x , in link_sparse_hessian() 35 CppAD::vector<double>& hessian , in link_sparse_hessian()
|
H A D | ode.cpp | 52 CppAD::vector<double> &x , in link_ode() 53 CppAD::vector<double> &jacobian in link_ode() 67 typedef CppAD::vector<ADScalar> ADVector; in link_ode() 78 CppAD::uniform_01(n, x); in link_ode() 85 CppAD::ode_evaluate(X, p, Y); in link_ode()
|
/dports/math/cppad/CppAD-20210000.8/example/chkpoint_two/ |
H A D | dynamic.cpp | 53 using CppAD::AD; in dynamic() 54 using CppAD::NearEqual; in dynamic() 55 double eps99 = 99.0 * CppAD::numeric_limits<double>::epsilon(); in dynamic() 70 CppAD::ADFun<double> g_fun(ax, ay); in dynamic() 78 CppAD::chkpoint_two<double> g_chk(g_fun, name, in dynamic() 88 CppAD::ADFun<double> f_fun(ax, ay); in dynamic()
|
/dports/math/cppad/CppAD-20210000.8/bug/ |
H A D | subgraph.sh | 36 using CppAD::AD; 37 using CppAD::vector; 46 CppAD::Independent(ax); 52 CppAD::ADFun<double> f(ax, ay); 55 CppAD::sparse_rc<s_vector> upper_triangle(n, n, nnz); 62 CppAD::sparse_rcv<s_vector, d_vector> subset( upper_triangle );
|
/dports/math/cppad/CppAD-20210000.8/speed/cppadcg/ |
H A D | sparse_hessian.cpp | 31 const CppAD::vector<size_t>& row , in link_sparse_hessian() 32 const CppAD::vector<size_t>& col , in link_sparse_hessian() 33 CppAD::vector<double>& x , in link_sparse_hessian() 34 CppAD::vector<double>& hessian , in link_sparse_hessian()
|
/dports/math/cppad/CppAD-20210000.8/speed/xpackage/ |
H A D | sparse_hessian.cpp | 31 const CppAD::vector<size_t>& row , in link_sparse_hessian() 32 const CppAD::vector<size_t>& col , in link_sparse_hessian() 33 CppAD::vector<double>& x , in link_sparse_hessian() 34 CppAD::vector<double>& hessian , in link_sparse_hessian()
|