ADMB Documentation  11.1.2500
 All Classes Files Functions Variables Typedefs Friends Defines
Public Member Functions | Protected Attributes | Friends
dmatrix Class Reference

Description not yet available. More...

#include <fvar.hpp>

Public Member Functions

 dmatrix (void)
 Description not yet available.
 dmatrix (int, int, kkludge_object)
 dmatrix (int, int)
 Description not yet available.
 dmatrix (int, int, int, int)
 Description not yet available.
 dmatrix (const ad_integer &nrl, const ad_integer &nrh, const index_type &ncl, const index_type &nch)
 Description not yet available.
 dmatrix (int, int, const ivector &coll, const ivector &colh)
 Description not yet available.
 dmatrix (int, int, int coll, const ivector &colh)
 Description not yet available.
 dmatrix (const dvar_matrix_position &)
 Description not yet available.
 dmatrix (const dmatrix_position &)
 Description not yet available.
 dmatrix (const dmatrix &)
 Description not yet available.
 dmatrix (const banded_symmetric_dmatrix &)
 Description not yet available.
 dmatrix (const banded_lower_triangular_dmatrix &)
 Description not yet available.
 dmatrix (char *)
 Description not yet available.
 dmatrix (const tdmatrix &t)
 ~dmatrix ()
 Description not yet available.
void allocate (void)
 Description not yet available.
void allocate (const dmatrix &dm)
 Description not yet available.
void allocate (const dvar_matrix &)
 Description not yet available.
void allocate (int nrl, int nrh, int ncl, int nch)
 Description not yet available.
void allocate (int nrl, int nrh)
 Description not yet available.
void allocate (ad_integer nrl, ad_integer nrh)
 Description not yet available.
void allocate (int nrl, int nrh, int ncl, const ivector &nch)
 Description not yet available.
void allocate (int nrl, int nrh, const ivector &ncl, int nch)
 Description not yet available.
void allocate (const ad_integer &nrl, const ad_integer &nrh, const index_type &ncl, const index_type &nch)
 Description not yet available.
void allocate (int nrl, int nrh, const ivector &ncl, const ivector &nch)
 Description not yet available.
void colfill (int j, const dvector &v)
 Description not yet available.
void colfill_randn (const int &j, long int &n)
 Description not yet available.
void colfill_randn (const int &j, const random_number_generator &rng)
 Description not yet available.
void colfill_randn_ni (const int &j, long int &n)
 Description not yet available.
void colfill_randu (const int &j, long int &n)
 Description not yet available.
void colfill_randu (const int &j, const random_number_generator &rng)
 Description not yet available.
void colfill_randu_ni (const int &j, long int &n)
 Description not yet available.
void colfill_seqadd (const int &, const int &, const int &)
void colfill_seqadd (const int &, double, double)
 Description not yet available.
int colmax (void) const
int colmin (void) const
void colshift (int min)
 Description not yet available.
int colsize () const
void deallocate ()
 Description not yet available.
friend dvar_matrix::dvar_matrix (const dmatrix &)
dvectorelem (int i)
double & elem (int i, int j)
const dvectorelem (int i) const
const double & elem (int i, int j) const
void fill (const char *)
 Fill allocated dmatrix with values from input parameter s.
void fill_randcau (const random_number_generator &rng)
 Description not yet available.
void fill_randn (long int &n)
 Description not yet available.
void fill_randn (const random_number_generator &rng)
 Description not yet available.
void fill_randn_ni (long int &n)
 Description not yet available.
void fill_randu (long int &n)
 Description not yet available.
void fill_randu (const random_number_generator &rng)
 Description not yet available.
void fill_randu_ni (long int &n)
 Description not yet available.
double fill_seqadd (double, double)
 Description not yet available.
int indexmax (void) const
int indexmin (void) const
void initialize (void)
 Description not yet available.
int operator! (void) const
dvectoroperator() (int i)
const dvectoroperator() (int i) const
double & operator() (register int i, register int j)
const double & operator() (register int i, register int j) const
dmatrix operator() (const ivector &t)
 Description not yet available.
dmatrixoperator*= (double d)
 Description not yet available.
dmatrixoperator++ (void)
dmatrixoperator+= (const dmatrix &t)
 Description not yet available.
dmatrixoperator-- (void)
dmatrixoperator-= (const dmatrix &t)
 Description not yet available.
dmatrixoperator/= (double d)
 Description not yet available.
dmatrixoperator= (const dmatrix &t)
 Description not yet available.
dmatrixoperator= (double t)
 Description not yet available.
dvectoroperator[] (int)
const dvectoroperator[] (int) const
void read_from (const istream &)
 Description not yet available.
void read_from (const uistream &)
 Description not yet available.
void rowfill (int j, const dvector &v)
 Description not yet available.
void rowfill_randn (const int &i, long int &n)
 Description not yet available.
void rowfill_randn (const int &i, const random_number_generator &rng)
 Description not yet available.
void rowfill_randn_ni (const int &i, long int &n)
 Description not yet available.
void rowfill_randu (const int &i, long int &n)
 Description not yet available.
void rowfill_randu (const int &i, const random_number_generator &rng)
 Description not yet available.
void rowfill_randu_ni (const int &i, long int &n)
 Description not yet available.
void rowfill_seqadd (const int &, double, double)
 Description not yet available.
int rowmax (void) const
int rowmin (void) const
void rowshift (int min)
 Description not yet available.
int rowsize () const
void save_dmatrix_derivatives (const dvar_matrix_position &pos) const
 Description not yet available.
void save_dmatrix_derivatives_na (const dvar_matrix_position &pos) const
 Description not yet available.
void save_dmatrix_position (void) const
 Description not yet available.
void save_dmatrix_value (void) const
 Description not yet available.
void shallow_copy (const dmatrix &)
 Description not yet available.
dmatrix sub (int, int)
 Description not yet available.
void write_on (const ostream &) const
 Description not yet available.
void write_on (const uostream &) const
 Description not yet available.

Protected Attributes

int index_max
int index_min
dvectorm
mat_shapexshape

Friends

class banded_lower_triangular_dmatrix
class banded_symmetric_dmatrix
class d3_array
double det (const dmatrix &)
 Compute determinant of a constant matrix.
class dvar_matrix
dvar_matrixdvar_matrix::operator= (const dmatrix &)
char * fform (const char *, const dmatrix &)
dmatrix inv (const dmatrix &)
 Inverse of a constant matrix by LU decomposition.
dmatrix inv (const dmatrix &m1, const double &_ln_det, const int &_sgn)
 Inverse of a constant matrix by LU decomposition.
double ln_det (const dmatrix &m1, const int &sgn)
 Compute log determinant of a constant matrix.
double norm (const dmatrix &)
 Norm of a matrix; constant object.
double norm2 (const dmatrix &)
 Norm squared of a matrix; constant object.
dvector operator* (const dvector &, const dmatrix &)
 Description not yet available.
dvector operator* (const dmatrix &, const dvector &)
 Description not yet available.
dvar_vector operator* (const dvar_vector &, const dmatrix &)
 Description not yet available.
dvar_vector operator* (const dmatrix &, const dvar_vector &)
 Description not yet available.
dmatrix operator* (const dmatrix &, const dmatrix &)
 Description not yet available.
dvar_matrix operator* (const dvar_matrix &, const dmatrix &)
 Description not yet available.
dvar_matrix operator* (const dmatrix &, const dvar_matrix &)
 Description not yet available.
dmatrix operator+ (const dmatrix &, const dmatrix &)
 Description not yet available.
dvar_matrix operator+ (const dvar_matrix &, const dmatrix &)
 Description not yet available.
dvar_matrix operator+ (const dmatrix &, const dvar_matrix &)
 Description not yet available.
dmatrix operator- (const dmatrix &, const dmatrix &)
 Description not yet available.
double sumsq (const dmatrix &)
dmatrix trans (const dmatrix &m1)
 Transpose of a matrix; constant objects.

Detailed Description

Description not yet available.

Parameters:

Definition at line 2635 of file fvar.hpp.


Constructor & Destructor Documentation

dmatrix::dmatrix ( void  )

Description not yet available.

Parameters:

Definition at line 29 of file dmat0.cpp.

dmatrix::dmatrix ( int  ,
int  ,
kkludge_object   
)
dmatrix::dmatrix ( int  nrl,
int  nrh 
)

Description not yet available.

Parameters:

Definition at line 86 of file dmat.cpp.

dmatrix::dmatrix ( int  nrl,
int  nrh,
int  ncl,
int  nch 
)

Description not yet available.

Parameters:

Definition at line 26 of file dmat.cpp.

dmatrix::dmatrix ( const ad_integer nrl,
const ad_integer nrh,
const index_type ncl,
const index_type nch 
)

Description not yet available.

Parameters:

Definition at line 223 of file indextyp.cpp.

dmatrix::dmatrix ( int  nrl,
int  nrh,
const ivector ncl,
const ivector nch 
)

Description not yet available.

Parameters:

Definition at line 339 of file dmat.cpp.

dmatrix::dmatrix ( int  nrl,
int  nrh,
int  ncl,
const ivector nch 
)

Description not yet available.

Parameters:

Definition at line 348 of file dmat.cpp.

Description not yet available.

Parameters:

Definition at line 26 of file dmat_a.cpp.

Description not yet available.

Parameters:

Definition at line 80 of file dmat_a.cpp.

dmatrix::dmatrix ( const dmatrix m2)

Description not yet available.

Parameters:

Definition at line 357 of file dmat.cpp.

Description not yet available.

Parameters:

Definition at line 211 of file dmat28.cpp.

Description not yet available.

Parameters:

Definition at line 182 of file dmat28.cpp.

dmatrix::dmatrix ( char *  s)

Description not yet available.

Parameters:

Definition at line 79 of file dmat_io2.cpp.

Description not yet available.

Parameters:

Definition at line 401 of file dmat.cpp.

dmatrix::dmatrix ( const tdmatrix &  t)

Member Function Documentation

void dmatrix::allocate ( void  )
void dmatrix::allocate ( const dmatrix dm)

Description not yet available.

Parameters:

Definition at line 177 of file dmat.cpp.

void dmatrix::allocate ( const dvar_matrix dm)

Description not yet available.

Parameters:

Definition at line 17 of file fvar_m33.cpp.

void dmatrix::allocate ( int  nrl,
int  nrh,
int  ncl,
int  nch 
)

Description not yet available.

Parameters:

Definition at line 35 of file dmat.cpp.

void dmatrix::allocate ( int  nrl,
int  nrh 
)

Description not yet available.

Parameters:

Definition at line 95 of file dmat.cpp.

void dmatrix::allocate ( ad_integer  nrl,
ad_integer  nrh 
)

Description not yet available.

Parameters:

Definition at line 121 of file dmat.cpp.

void dmatrix::allocate ( int  nrl,
int  nrh,
int  ncl,
const ivector nch 
)

Description not yet available.

Parameters:

Definition at line 255 of file dmat.cpp.

void dmatrix::allocate ( int  nrl,
int  nrh,
const ivector ncl,
int  nch 
)

Description not yet available.

Parameters:

Definition at line 291 of file dmat.cpp.

void dmatrix::allocate ( const ad_integer nrl,
const ad_integer nrh,
const index_type ncl,
const index_type nch 
)

Description not yet available.

Parameters:

Definition at line 233 of file indextyp.cpp.

void dmatrix::allocate ( int  nrl,
int  nrh,
const ivector ncl,
const ivector nch 
)

Description not yet available.

Parameters:

Definition at line 216 of file dmat.cpp.

void dmatrix::colfill ( int  j,
const dvector v 
)

Description not yet available.

Parameters:

Definition at line 125 of file cranfill.cpp.

void dmatrix::colfill_randn ( const int &  j,
long int &  n 
)

Description not yet available.

Parameters:

Definition at line 294 of file ranfill.cpp.

void dmatrix::colfill_randn ( const int &  j,
const random_number_generator rng 
)

Description not yet available.

Parameters:

Definition at line 328 of file rngen.cpp.

void dmatrix::colfill_randn_ni ( const int &  j,
long int &  n 
)

Description not yet available.

Parameters:

Definition at line 175 of file ranf_ni.cpp.

void dmatrix::colfill_randu ( const int &  j,
long int &  n 
)

Description not yet available.

Parameters:

Definition at line 186 of file ranfill.cpp.

void dmatrix::colfill_randu ( const int &  j,
const random_number_generator rng 
)

Description not yet available.

Parameters:

Definition at line 244 of file rngen.cpp.

void dmatrix::colfill_randu_ni ( const int &  j,
long int &  n 
)

Description not yet available.

Parameters:

Definition at line 74 of file ranf_ni.cpp.

void dmatrix::colfill_seqadd ( const int &  ,
const int &  ,
const int &   
)
void dmatrix::colfill_seqadd ( const int &  j,
double  base,
double  offset 
)

Description not yet available.

Parameters:

Definition at line 110 of file cranfill.cpp.

int dmatrix::colmax ( void  ) const [inline]
int dmatrix::colmin ( void  ) const [inline]
void dmatrix::colshift ( int  min)
int dmatrix::colsize ( ) const [inline]
void dmatrix::deallocate ( void  )
dmatrix::dvar_matrix::dvar_matrix ( const dmatrix )
dvector& dmatrix::elem ( int  i) [inline]
double& dmatrix::elem ( int  i,
int  j 
) [inline]

Definition at line 2820 of file fvar.hpp.

const dvector& dmatrix::elem ( int  i) const [inline]

Definition at line 2824 of file fvar.hpp.

const double& dmatrix::elem ( int  i,
int  j 
) const [inline]

Definition at line 2828 of file fvar.hpp.

void dmatrix::fill ( const char *  s)

Fill allocated dmatrix with values from input parameter s.

dmatrix m(1, 2, 1, 3);
char values[] = "{0, 1, 2} {3, 4, 5}";
m.fill(values);
Parameters:
svalues

Definition at line 37 of file dmat10.cpp.

Description not yet available.

Parameters:

Definition at line 39 of file drancau.cpp.

Referenced by d3_array::fill_randcau().

void dmatrix::fill_randn ( long int &  n)

Description not yet available.

Parameters:

Definition at line 231 of file ranfill.cpp.

Referenced by d3_array::fill_randn(), and laplace_approximation_calculator::generate_antithetical_rvs().

Description not yet available.

Parameters:

Definition at line 280 of file rngen.cpp.

void dmatrix::fill_randn_ni ( long int &  n)

Description not yet available.

Parameters:

Definition at line 116 of file ranf_ni.cpp.

Referenced by d3_array::fill_randn(), and d3_array::fill_randn_ni().

void dmatrix::fill_randu ( long int &  n)

Description not yet available.

Parameters:

Definition at line 278 of file ranfill.cpp.

Referenced by d3_array::fill_randu(), and laplace_approximation_calculator::laplace_approximation_calculator().

Description not yet available.

Parameters:

Definition at line 316 of file rngen.cpp.

void dmatrix::fill_randu_ni ( long int &  n)

Description not yet available.

Parameters:

Definition at line 160 of file ranf_ni.cpp.

Referenced by d3_array::fill_randu(), and d3_array::fill_randu_ni().

double dmatrix::fill_seqadd ( double  x,
double  d 
)

Description not yet available.

Parameters:

Definition at line 35 of file dmat21.cpp.

Referenced by derch(), function_minimizer::mcmc_routine(), and print_is_diagnostics().

int dmatrix::indexmax ( void  ) const [inline]

Definition at line 2724 of file fvar.hpp.

Referenced by laplace_approximation_calculator::check_hessian_type(), laplace_approximation_calculator::check_hessian_type2(), choleski_decomp(), colmax(), copy_value_from_vector(), cos(), dfempirical_covarv(), dfempirical_covarv_partial(), dfmattrans(), diagonal(), dmatrix_position::dmatrix_position(), laplace_approximation_calculator::do_newton_raphson_banded(), dot(), elem_div(), elem_prod(), exp(), fillout(), fillout_trans(), function_minimizer::get_bigS(), quadratic_prior::get_cgradient(), quadratic_prior::get_cHessian(), laplace_approximation_calculator::get_gradient_for_hessian_calcs(), ghk(), ghk_choleski(), ghk_choleski_m(), ghk_choleski_m_cauchy(), ghk_choleski_m_logistic(), ghk_m(), ghk_test(), function_minimizer::hess_inv(), function_minimizer::hess_routine_noparallel_random_effects(), banded_symmetric_dmatrix::indexmax(), banded_lower_triangular_dmatrix::indexmax(), function_minimizer::limited_memory_quasi_newton_block(), log(), lower_triangular_solve(), lower_triangular_solve_trans(), make_dcompressed_triplet(), matrix2vector(), mfexp(), nograd_assign(), nograd_assign_trans(), function_minimizer::normalize_posterior_distribution(), operator+(), operator-(), operator/(), df1b2quadratic_prior::operator=(), pow(), print_is_diagnostics(), function_minimizer::quasi_newton_block(), function_minimizer::sd_routine(), sin(), singval_decomp(), solve(), solve_trans(), sort(), sqr(), sqrt(), sub_unallocated(), symmetrize(), tan(), tmpxchol1(), use_shape(), and VEC().

int dmatrix::indexmin ( void  ) const [inline]
void dmatrix::initialize ( void  )

Description not yet available.

Parameters:

Definition at line 17 of file dmat7.cpp.

Referenced by ageLengthKey(), check_second_derivatives(), choleski_decomp(), choleski_decomp_error(), choleski_decomp_neghess_error(), choleski_decomp_positive(), cmdm_prod(), laplace_approximation_calculator::default_calculations_check_derivatives(), df_ln_det_choleski(), df_xdet(), df_xldet(), dfcholeski_decomp(), dfcholeski_decomp_positive(), dfempirical_covarv(), dfempirical_covarv_partial(), dfinvpret(), dfmatinit(), dmcm_prod(), dmcv_prod(), dmdm_prod(), dmdv_prod(), dmdv_solve(), laplace_approximation_calculator::do_newton_raphson_banded(), laplace_approximation_calculator::do_separable_stuff_laplace_approximation_block_diagonal(), laplace_approximation_calculator::do_separable_stuff_laplace_approximation_importance_sampling_adjoint(), laplace_approximation_calculator::do_separable_stuff_newton_raphson_block_diagonal(), laplace_approximation_calculator::do_separable_stuff_x_u_block_diagonal(), dvdm_prod(), eigenvalues(), eigenvectors(), expm(), fcomp1(), function_minimizer::get_bigS(), laplace_approximation_calculator::get_block_diagonal_hessian(), laplace_approximation_calculator::get_complete_hessian(), get_second_ders(), get_solution_vector(), function_minimizer::hybrid_mcmc_routine(), identity_matrix(), d3_array::initialize(), function_minimizer::likeprof_routine(), ln_det_choleski(), ln_det_choleski_error(), lower_triangular_choleski_decomp_positive(), make_dmatrix(), make_preliminary_hist(), make_sdmatrix(), MAT(), function_minimizer::mcmc_routine(), read_hist_data(), function_minimizer::sd_routine(), and seldif_basis().

int dmatrix::operator! ( void  ) const [inline]

Definition at line 2660 of file fvar.hpp.

dvector & dmatrix::operator() ( int  i) [inline]

Definition at line 2886 of file fvar.hpp.

const dvector & dmatrix::operator() ( int  i) const [inline]

Definition at line 2894 of file fvar.hpp.

double& dmatrix::operator() ( register int  i,
register int  j 
) [inline]

Definition at line 2803 of file fvar.hpp.

const double& dmatrix::operator() ( register int  i,
register int  j 
) const [inline]

Definition at line 2807 of file fvar.hpp.

dmatrix dmatrix::operator() ( const ivector t)

Description not yet available.

Parameters:

Definition at line 17 of file dmat18.cpp.

dmatrix & dmatrix::operator*= ( double  d)

Description not yet available.

Parameters:

Definition at line 61 of file dmat22.cpp.

dmatrix& dmatrix::operator++ ( void  ) [inline]

Definition at line 2652 of file fvar.hpp.

dmatrix & dmatrix::operator+= ( const dmatrix m1)

Description not yet available.

Parameters:

Definition at line 64 of file dmat4.cpp.

dmatrix& dmatrix::operator-- ( void  ) [inline]

Definition at line 2645 of file fvar.hpp.

dmatrix & dmatrix::operator-= ( const dmatrix m1)

Description not yet available.

Parameters:

Definition at line 84 of file dmat4.cpp.

dmatrix & dmatrix::operator/= ( double  d)

Description not yet available.

Parameters:

Definition at line 48 of file dmat22.cpp.

dmatrix & dmatrix::operator= ( const dmatrix m1)

Description not yet available.

Parameters:

Reimplemented in dll_data_matrix, data_matrix, and named_dmatrix.

Definition at line 26 of file dmat4.cpp.

dmatrix & dmatrix::operator= ( double  t)

Description not yet available.

Parameters:

Reimplemented in named_dmatrix.

Definition at line 35 of file dmat22.cpp.

dvector & dmatrix::operator[] ( int  i) [inline]

Reimplemented in dmatrix_index.

Definition at line 2890 of file fvar.hpp.

const dvector & dmatrix::operator[] ( int  i) const [inline]

Definition at line 2898 of file fvar.hpp.

void dmatrix::read_from ( const istream &  s)

Description not yet available.

Parameters:

Definition at line 91 of file dmat_io.cpp.

Referenced by operator>>().

void dmatrix::read_from ( const uistream s)

Description not yet available.

Parameters:

Definition at line 51 of file dmat_io3.cpp.

void dmatrix::rowfill ( int  i,
const dvector v 
)

Description not yet available.

Parameters:

Definition at line 137 of file cranfill.cpp.

void dmatrix::rowfill_randn ( const int &  i,
long int &  n 
)

Description not yet available.

Parameters:

Definition at line 309 of file ranfill.cpp.

void dmatrix::rowfill_randn ( const int &  i,
const random_number_generator rng 
)

Description not yet available.

Parameters:

Definition at line 340 of file rngen.cpp.

void dmatrix::rowfill_randn_ni ( const int &  i,
long int &  n 
)

Description not yet available.

Parameters:

Definition at line 189 of file ranf_ni.cpp.

void dmatrix::rowfill_randu ( const int &  i,
long int &  n 
)

Description not yet available.

Parameters:

Definition at line 201 of file ranfill.cpp.

void dmatrix::rowfill_randu ( const int &  i,
const random_number_generator rng 
)

Description not yet available.

Parameters:

Definition at line 256 of file rngen.cpp.

void dmatrix::rowfill_randu_ni ( const int &  i,
long int &  n 
)

Description not yet available.

Parameters:

Definition at line 88 of file ranf_ni.cpp.

void dmatrix::rowfill_seqadd ( const int &  i,
double  base,
double  offset 
)

Description not yet available.

Parameters:

Definition at line 149 of file cranfill.cpp.

int dmatrix::rowmax ( void  ) const [inline]

Definition at line 2732 of file fvar.hpp.

Referenced by dvar_matrix::allocate(), allocate(), param_init_bounded_number_vector::allocate(), sdmatrix::allocate(), choleski_decomp(), choleski_decomp_error(), choleski_decomp_neghess_error(), choleski_decomp_positive(), cmdm_prod(), cmdv_prod(), colfill(), colfill_randn(), colfill_randn_ni(), colfill_randu(), colfill_randu_ni(), colfill_seqadd(), colshift(), colsum(), cos(), cube(), det(), df_ln_det_choleski(), dfcholeski_decomp(), dfcholeski_decomp_positive(), dmatrix(), dmatrix_position::dmatrix_position(), dmcm_prod(), dmcv_prod(), dmdm_prod(), dmdv_prod(), dmultinom(), dmvlogistic(), elem_div(), elem_prod(), exp(), expm(), extract_column(), extract_diagonal(), extract_row(), fabs(), fill(), fill_randcau(), fill_randn(), fill_randn_ni(), fill_randu(), fill_randu_ni(), fill_seqadd(), dmatrix_index::indexmax(), initialize(), inv(), ln_det(), ln_det_choleski(), ln_det_choleski_error(), log(), lower_triangular_choleski_decomp_positive(), matrix2vector(), max(), mfexp(), min(), nograd_assign(), nograd_assign_trans(), norm(), norm2(), function_minimizer::normalize_posterior_distribution(), operator*(), operator*=(), operator+(), dvar_matrix::operator+=(), operator+=(), operator-(), dvar_matrix::operator-=(), operator-=(), operator/(), operator/=(), dvar_matrix::operator=(), operator=(), operator>>(), pow(), read_from(), restore_dmatrix_value(), restore_dvar_matrix_value(), banded_symmetric_dmatrix::rowmax(), banded_lower_triangular_dmatrix::rowmax(), rowsize(), rowsum(), save_dmatrix_derivatives(), save_dmatrix_derivatives_na(), save_dmatrix_position(), save_dmatrix_value(), banded_symmetric_dmatrix::save_dmatrix_value(), set_value_inv(), sin(), size_count(), size_count_partial(), solve(), sort(), sqr(), sqrt(), square(), sum(), symmetrize(), tan(), trace(), trans(), use_shape(), write_on(), and dll_data_matrix::~dll_data_matrix().

int dmatrix::rowmin ( void  ) const [inline]

Definition at line 2728 of file fvar.hpp.

Referenced by dvar_matrix::allocate(), allocate(), param_init_bounded_number_vector::allocate(), sdmatrix::allocate(), choleski_decomp(), choleski_decomp_error(), choleski_decomp_neghess_error(), choleski_decomp_positive(), cmdm_prod(), cmdv_prod(), colfill(), colfill_randn(), colfill_randn_ni(), colfill_randu(), colfill_randu_ni(), colfill_seqadd(), colshift(), colsum(), cos(), cube(), det(), df_ln_det_choleski(), dfcholeski_decomp(), dfcholeski_decomp_positive(), dmatrix(), dmatrix_position::dmatrix_position(), dmcm_prod(), dmcv_prod(), dmdm_prod(), dmdv_prod(), dmultinom(), dmvlogistic(), elem_div(), elem_prod(), exp(), expm(), extract_column(), extract_diagonal(), extract_row(), fabs(), fill(), fill_randcau(), fill_randn(), fill_randn_ni(), fill_randu(), fill_randu_ni(), fill_seqadd(), dmatrix_index::indexmin(), initialize(), inv(), ln_det(), log(), lower_triangular_choleski_decomp_positive(), matrix2vector(), max(), mfexp(), min(), nograd_assign(), nograd_assign_trans(), norm(), norm2(), function_minimizer::normalize_posterior_distribution(), operator*(), operator*=(), operator+(), dvar_matrix::operator+=(), operator+=(), operator-(), dvar_matrix::operator-=(), operator-=(), operator/(), operator/=(), dvar_matrix::operator=(), operator=(), operator>>(), pow(), read_from(), restore_dmatrix_value(), restore_dvar_matrix_value(), banded_symmetric_dmatrix::rowmin(), banded_lower_triangular_dmatrix::rowmin(), rowshift(), rowsize(), rowsum(), save_dmatrix_derivatives(), save_dmatrix_derivatives_na(), save_dmatrix_position(), save_dmatrix_value(), banded_symmetric_dmatrix::save_dmatrix_value(), set_value_inv(), sin(), size_count(), size_count_partial(), solve(), sort(), sqr(), sqrt(), square(), sum(), svd(), symmetrize(), tan(), trace(), trans(), use_shape(), write_on(), and dll_data_matrix::~dll_data_matrix().

void dmatrix::rowshift ( int  min)
int dmatrix::rowsize ( ) const [inline]

Description not yet available.

Parameters:

Definition at line 278 of file cmpdif5.cpp.

Referenced by dfmatinit().

void dmatrix::save_dmatrix_position ( void  ) const

Description not yet available.

Parameters:

Definition at line 28 of file cmpdif6.cpp.

Referenced by inv(), ln_det(), operator*(), and solve().

void dmatrix::save_dmatrix_value ( void  ) const

Description not yet available.

Parameters:

Definition at line 32 of file cmpdif5.cpp.

Referenced by inv(), ln_det(), operator*(), and solve().

void dmatrix::shallow_copy ( const dmatrix m2)

Description not yet available.

Parameters:

Definition at line 379 of file dmat.cpp.

Referenced by sub().

dmatrix dmatrix::sub ( int  nrl,
int  nrh 
)

Description not yet available.

Parameters:

Definition at line 65 of file dmat.cpp.

Referenced by orthpoly().

void dmatrix::write_on ( const ostream &  _s) const

Description not yet available.

Parameters:

Definition at line 46 of file dmat_io.cpp.

Referenced by operator<<().

void dmatrix::write_on ( const uostream s) const

Description not yet available.

Parameters:

Definition at line 81 of file dmat_io3.cpp.


Friends And Related Function Documentation

friend class banded_lower_triangular_dmatrix [friend]

Definition at line 2685 of file fvar.hpp.

friend class banded_symmetric_dmatrix [friend]

Definition at line 2684 of file fvar.hpp.

friend class d3_array [friend]

Definition at line 2832 of file fvar.hpp.

double det ( const dmatrix m1) [friend]

Compute determinant of a constant matrix.

\param m1 A dmatrix, \form#28, for which the determinant is computed.
\return A double containing \form#36.
\n\n The implementation of this algorithm was inspired by
"Numerical Recipes in C", 2nd edition,
Press, Teukolsky, Vetterling, Flannery, chapter 2
Deprecated:
Scheduled for replacement by 2010.

Definition at line 432 of file dmat3.cpp.

friend class dvar_matrix [friend]

Definition at line 2643 of file fvar.hpp.

dvar_matrix& dvar_matrix::operator= ( const dmatrix ) [friend]
char* fform ( const char *  ,
const dmatrix  
) [friend]
dmatrix inv ( const dmatrix m1) [friend]

Inverse of a constant matrix by LU decomposition.

Parameters:
m1A dmatrix, $M$, for which the inverse is to be computed.
Returns:
A dmatrix containing $M^{-1}$.

The implementation of this algorithm was inspired by "Numerical Recipes in C", 2nd edition, Press, Teukolsky, Vetterling, Flannery, chapter 2

Definition at line 30 of file dmat3.cpp.

dmatrix inv ( const dmatrix m1,
const double &  _ln_det,
const int &  _sgn 
) [friend]

Inverse of a constant matrix by LU decomposition.

Parameters:
m1A dmatrix, $M$, for which the inverse is to be computed.
_ln_detOn return contains $|\log M|$
_sign
Returns:
A dmatrix containing $M^{-1}$.

The implementation of this algorithm was inspired by "Numerical Recipes in C", 2nd edition, Press, Teukolsky, Vetterling, Flannery, chapter 2

Definition at line 83 of file dmat3.cpp.

double ln_det ( const dmatrix m1,
const int &  sgn 
) [friend]

Compute log determinant of a constant matrix.

\param m1 A dmatrix, \form#28, for which the determinant is computed.
\param _sgn
\return A double containing \form#37.
\n\n The implementation of this algorithm was inspired by
"Numerical Recipes in C", 2nd edition,
Press, Teukolsky, Vetterling, Flannery, chapter 2
Deprecated:
Scheduled for replacement by 2010.

Definition at line 471 of file dmat3.cpp.

double norm ( const dmatrix m1) [friend]

Norm of a matrix; constant object.

Parameters:
m1a matrix, $M$
Returns:
$||M||$

Definition at line 38 of file dmat2.cpp.

double norm2 ( const dmatrix m1) [friend]

Norm squared of a matrix; constant object.

Parameters:
m1a matrix, $M$
Returns:
$||M||^2$

Definition at line 54 of file dmat2.cpp.

dvector operator* ( const dvector x,
const dmatrix m 
) [friend]

Description not yet available.

Parameters:

Definition at line 17 of file dmat1.cpp.

dvector operator* ( const dmatrix m,
const dvector x 
) [friend]

Description not yet available.

Parameters:

Definition at line 67 of file dmat1.cpp.

dvar_vector operator* ( const dvar_vector x,
const dmatrix m 
) [friend]

Description not yet available.

Parameters:

Definition at line 105 of file fvar_m23.cpp.

dvar_vector operator* ( const dmatrix m,
const dvar_vector x 
) [friend]

Description not yet available.

Parameters:

Definition at line 101 of file fvar_m22.cpp.

dmatrix operator* ( const dmatrix m1,
const dmatrix m2 
) [friend]

Description not yet available.

Parameters:

Definition at line 117 of file dmat1.cpp.

dvar_matrix operator* ( const dvar_matrix m1,
const dmatrix cm2 
) [friend]

Description not yet available.

Parameters:

Definition at line 31 of file fvar_m19.cpp.

dvar_matrix operator* ( const dmatrix cm1,
const dvar_matrix m2 
) [friend]

Description not yet available.

Parameters:

Definition at line 28 of file fvar_m18.cpp.

dmatrix operator+ ( const dmatrix m1,
const dmatrix m2 
) [friend]

Description not yet available.

Parameters:

Definition at line 40 of file dmat16.cpp.

dvar_matrix operator+ ( const dvar_matrix m1,
const dmatrix m2 
) [friend]

Description not yet available.

Parameters:

Definition at line 17 of file fvar_ma2.cpp.

dvar_matrix operator+ ( const dmatrix m1,
const dvar_matrix m2 
) [friend]

Description not yet available.

Parameters:

Definition at line 70 of file fvar_ma2.cpp.

dmatrix operator- ( const dmatrix m1,
const dmatrix m2 
) [friend]

Description not yet available.

Parameters:

Definition at line 17 of file dmat16.cpp.

double sumsq ( const dmatrix m1) [friend]

Definition at line 63 of file dmat2.cpp.

dmatrix trans ( const dmatrix m1) [friend]

Transpose of a matrix; constant objects.

Parameters:
m1The matrix, $M$, to be transposed.
Returns:
$M^T$

Definition at line 18 of file dmat2.cpp.


Member Data Documentation

int dmatrix::index_max [protected]
int dmatrix::index_min [protected]
dvector* dmatrix::m [protected]
mat_shapex* dmatrix::shape [protected]

List of all members.


The documentation for this class was generated from the following files: