9 # if defined(USE_SHARE_FLAGS)
27 for (
int i=mmin;i<=mmax;i++)
45 for (i=mmin;i<=mmax;i++)
52 for (
int k=kmin;k<=kmax;k++)
67 for (
int i=mmin;i<=mmax;i++)
73 for (
int j=jmin;j<=jmax;j++)
81 for (
int k=kmin;k<=kmax;k++)
94 int idim1= share_flags->get_shareflags()->dimension();
95 share_flags->get_dimension()=idim1;
96 int idim2= share_flags->get_activeflags()->dimension();
100 share_flags->get_inv_vector_shared(current_phase);
104 cout << idim1 <<
" " << idim2 <<
endl;
106 int mmin1= share_flags->get_shareflags()->indexmin();
107 int mmax1= share_flags->get_shareflags()->indexmax();
108 int mmin2= share_flags->get_activeflags()->indexmin();
109 int mmax2= share_flags->get_activeflags()->indexmax();
112 if (mmin1 != mmin || mmax1 != mmax ||
113 mmin2 != mmin || mmax2 != mmax)
115 cerr <<
"sanity error" <<
endl;
118 share_flags->get_inv_matrix_shared(current_phase);
122 cerr <<
"Error" <<
endl;
Uses polymorphism to get index information from various data types to be used in constructing and all...
#define ADUNCONST(type, obj)
Creates a shallow copy of obj that is not CONST.
Vector of double precision numbers.
virtual void shared_set_value(const dvar_vector &, const int &, const dvariable &pen)
void get_inv_matrix_shared(int _cf)
virtual unsigned int size_count() const
Return number of active parameters.
prnstream & endl(prnstream &)
int & get_current_phase(void)
Description not yet available.
Description not yet available.
i3_array & get_bmap(void)
virtual void setshare(const index_type &sf, const index_type &af)
virtual void shared_set_value_inv(const dvector &, const int &)
virtual int shared_size_count(void)
dvector value(const df1_one_vector &v)
Description not yet available.
Fundamental data type for reverse mode automatic differentiation.