24 cerr <<
"Error[" << __FILE__ <<
':' << __LINE__
25 <<
"]: Max size exceeded.\n";
42 int mmin=(*pu)(
pu->
indexmin()).get_ind_index();
44 int offset=mmin-
M(M.
indexmin()).indexmax()-1;
50 for (
int i=1;i<=nvar;i++)
53 for (
int ii=1;ii<=size;ii++)
55 M(ii+offset,jcol)+=(*Lxu)(i,ii);
73 for (
int i=1;i<=nvar;i++)
76 for (
int ii=1;ii<=size;ii++)
78 M(ii+offset,jcol)+=(*Lxu)(i,ii);
83 cerr <<
"Illegal valueinswitch statement" <<
endl;
171 cerr <<
"Illegal value for quadratic_prior::old_style_flag"
175 int mmin=v.indexmin();
176 int mmax=v.indexmax();
201 || ((*
Lxu)(tmin).indexmin() != 1)
216 for (
int j=mmin;j<=mmax;j++)
223 (*Lxu)(i,j)=v(j).get_u_dot()[i-1];
227 (*Lxu)(i,j)=2.0*v(j).get_u_dot()[i-1];
230 cerr <<
"Illegal value for quadratic_prior::old_style_flag"
339 cout <<
"this can't happen" <<
endl;
346 cerr <<
"Illegal value for quadratic_prior::old_style_flag"
356 cout <<
"this can't happen" <<
endl;
364 cout <<
"this can't happen" <<
endl;
void operator=(const dmatrix &M)
Description not yet available.
static const int max_num_quadratic_prior
void operator=(const df1b2matrix &M)
Assigns df1v2quadratic_re with values from m.
~df1b2quadratic_prior(void)
Destructor.
normal_df1b2quadratic_prior(void)
static int num_quadratic_prior
static void get_Lxu_contribution(dmatrix &)
int allocated(const ivector &v)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
Vector of double precision numbers.
Description not yet available.
Description not yet available.
virtual void get_Lxu(dmatrix &)=0
static int where_are_we_flag
virtual void set_old_style_flag(void)
dvector solve(const dmatrix &aa, const dvector &z)
Solve a linear system using LU decomposition.
prnstream & endl(prnstream &)
Array of integers(int) with indexes from index_min to indexmax.
void operator=(const df1b2matrix &)
static int no_derivatives
virtual void set_old_style_flag(void)
df1b2quadratic_prior(void)
Default constructor.
Description not yet available.
static df1b2quadratic_prior * ptr[]
unsigned int num_active_parameters
Description not yet available.
df1b2quadratic_re_penalty(void)
Description not yet available.
dvector column(const dmatrix &matrix, int j)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
void operator=(const df1b2matrix &M)
Assigns normal_df1b2quadratic_prior with values from m.
dvector value(const df1_one_vector &v)
static unsigned int num_vars
virtual void set_old_style_flag(void)
void allocate(const df1b2_init_vector &_u, const char *s)
constant_df1b2quadratic_re_penalty(void)
static int in_qp_calculations