Changeset 3820 for trunk/test_more


Ignore:
Timestamp:
Jun 28, 2016 10:26:48 AM (4 years ago)
Author:
bradbell
Message:

merge to branch: trunk
from repository: https://github.com/coin-or/CppAD
start hash code: c6e0882b72d1ab14f736cecfdbc4c5f745b5993b
end hash code: 59a1b159a8d223b912db4ef8dc502a9294b44e3b

commit 59a1b159a8d223b912db4ef8dc502a9294b44e3b
Author: Brad Bell <bradbell@…>
Date: Tue Jun 28 06:23:44 2016 -0700

atomic branch:
remove size specific information for eigen_mat_inv object.


eigen_mat_mul.hpp: comment where all to CppAD base object occurs.
atomic_base.hpp: fix discussion of x in sparsity calculations.

commit 7e14e2ae878d8be820beb431426b6d3cf8d4ea91
Author: Brad Bell <bradbell@…>
Date: Mon Jun 27 12:55:38 2016 -0700

atomic branch:
Make it so eigen_mat_mul.hpp works for any matrix product.

commit b0472ec5b071893b26feb53eafecc8272a2ff765
Author: Brad Bell <bradbell@…>
Date: Mon Jun 27 11:21:23 2016 -0700

atomic branch:
Change x parameter in atomic sparsity functions from in to Base type.
batch_edit.sh: only run sed on source files that change.

commit bc75941594ca856c155ec5b7820c7c30822dda80
Author: Brad Bell <bradbell@…>
Date: Mon Jun 27 10:34:06 2016 -0700

atomic branch:
Add parameter part of x to atomic_base::rev_sparse_hes function.


rev_jac_sweep.hpp: no need to skip check (small overhead for this case).

commit 0c5d06cee77c8687f56fc971a90d29639f7277bc
Author: Brad Bell <bradbell@…>
Date: Mon Jun 27 09:34:34 2016 -0700

atomic branch:
Add parameter part of x to atomic_base::for_sparse_hes function.


for_jac_sweep.hpp: minor white spacing change.

commit 6e856948a76aa8acea8e7f004974720d5dcfe0cb
Author: Brad Bell <bradbell@…>
Date: Mon Jun 27 07:37:52 2016 -0700

atomic branch:
Fix check_all.sh failure in test_more/optimize.cpp.
optimize.hpp: pass atomic function parameters to rev_sparse_jac.
rev_jac_sweep.hpp: remove duplicated code.

commit 67bc0cdd0b6c7ef98838c1ce82584b09503f2886
Author: Brad Bell <bradbell@…>
Date: Sun Jun 26 23:24:55 2016 -0700

atomic branch:
Add paramaeter part of x to atomic_base::rev_sparse_jac function.

commit c113a4bd6d97c7266ffa9e5cc3050f63a82193b7
Author: Brad Bell <bradbell@…>
Date: Sun Jun 26 22:35:13 2016 -0700

atomic branch:
eigen_mat_mul.hpp: start conversion from member data to parameter data.

commit cc6d5c642839f298aef1e7aaeac89fea0124f889
Author: Brad Bell <bradbell@…>
Date: Sun Jun 26 18:48:37 2016 -0700

atomic branch:
Add x integer information to atomic_base::for_sparse_jac.


eigen_mat_mul.hpp: Change example to pack integers in x.

commit 0ba682bd3baa3dbb0427076dcddb225f0e4a8997
Author: Brad Bell <bradbell@…>
Date: Sun Jun 26 07:31:21 2016 -0700

test_one.sh.in: add message about library path for cppad_lib.

commit 867656b13ea4ecf2c230c1c1eaab34a8a3da0cca
Author: Brad Bell <bradbell@…>
Date: Sun Jun 26 06:26:09 2016 -0700

  1. Improve discussion of Matrix reverse mode calculations.
  2. Remove privative functions that are not being used.
  3. Advance to cppad-20160626.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test_more/eigen_mat_inv.cpp

    r3812 r3820  
    4141        // -------------------------------------------------------------------
    4242        // object that computes inverse of a 2x2 matrix
    43         size_t nr  = 2;
    44         atomic_eigen_mat_inv<scalar> mat_inv(nr);
     43        atomic_eigen_mat_inv<scalar> mat_inv;
    4544        // -------------------------------------------------------------------
    4645        // declare independent variable vector x
     
    5352        // arg = [ x[0]  -1   ]
    5453        //       [ 2     x[1] ]
     54        size_t nr  = 2;
    5555        ad_matrix ad_arg(nr, nr);
    5656        ad_arg(0, 0) = ad_x[0];
Note: See TracChangeset for help on using the changeset viewer.