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 &) |
dvector & | elem (int i) |
double & | elem (int i, int j) |
const dvector & | elem (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. | |
bool | is_valid_row (const int i) const |
Check index i is in matrix row bounds [index_min, index_max]. | |
int | operator! (void) const |
dvector & | operator() (int i) |
const dvector & | operator() (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. | |
dmatrix & | operator*= (double d) |
Multiply value x to all elements in dmatrix. | |
dmatrix & | operator++ (void) |
dmatrix & | operator+= (const dmatrix &t) |
Description not yet available. | |
dmatrix & | operator-- (void) |
dmatrix & | operator-= (const dmatrix &t) |
Description not yet available. | |
dmatrix & | operator/= (double d) |
Divide value x to all elements in dmatrix. | |
dmatrix & | operator= (const dmatrix &t) |
Description not yet available. | |
dmatrix & | operator= (double t) |
Assign value x to all elements in dmatrix. | |
dvector & | operator[] (int) |
const dvector & | operator[] (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 |
dvector * | m |
mat_shapex * | shape |
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_matrix & | dvar_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, 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. |
dmatrix::dmatrix | ( | void | ) |
dmatrix::dmatrix | ( | int | , |
int | , | ||
kkludge_object | |||
) |
dmatrix::dmatrix | ( | int | nrl, |
int | nrh | ||
) |
dmatrix::dmatrix | ( | int | nrl, |
int | nrh, | ||
int | ncl, | ||
int | nch | ||
) |
dmatrix::dmatrix | ( | const ad_integer & | nrl, |
const ad_integer & | nrh, | ||
const index_type & | ncl, | ||
const index_type & | nch | ||
) |
dmatrix::dmatrix | ( | int | nrl, |
int | nrh, | ||
const ivector & | ncl, | ||
const ivector & | nch | ||
) |
dmatrix::dmatrix | ( | int | nrl, |
int | nrh, | ||
int | ncl, | ||
const ivector & | nch | ||
) |
dmatrix::dmatrix | ( | const dvar_matrix_position & | pos | ) |
dmatrix::dmatrix | ( | const dmatrix_position & | pos | ) |
dmatrix::dmatrix | ( | const dmatrix & | m2 | ) |
dmatrix::dmatrix | ( | const banded_symmetric_dmatrix & | S | ) |
dmatrix::dmatrix | ( | const banded_lower_triangular_dmatrix & | S | ) |
dmatrix::dmatrix | ( | char * | s | ) |
dmatrix::dmatrix | ( | const tdmatrix & | t | ) |
void dmatrix::allocate | ( | void | ) |
Description not yet available.
Reimplemented in sdmatrix.
Definition at line 17 of file dmat0.cpp.
Referenced by named_dmatrix::allocate(), data_matrix::allocate(), dll_data_matrix::allocate(), param_stddev_matrix::allocate(), allocate(), d3_array::allocate(), banded_lower_triangular_dmatrix::banded_lower_triangular_dmatrix(), banded_symmetric_dmatrix::banded_symmetric_dmatrix(), calculate_laplace_approximation(), laplace_approximation_calculator::check_hessian_type(), laplace_approximation_calculator::check_hessian_type2(), cube(), dmatrix(), first_derivatives(), param_init_bounded_number_matrix::get_scalefactor(), function_minimizer::hybrid_mcmc_routine(), laplace_approximation_calculator::laplace_approximation_calculator(), lower_triangular_dmatrix::lower_triangular_dmatrix(), make_preliminary_hist(), function_minimizer::mcmc_routine(), operator*(), operator+(), operator-(), operator/(), second_derivatives(), square(), third_derivatives(), and value().
void dmatrix::allocate | ( | const dmatrix & | dm | ) |
void dmatrix::allocate | ( | const dvar_matrix & | dm | ) |
void dmatrix::allocate | ( | int | nrl, |
int | nrh, | ||
int | ncl, | ||
int | nch | ||
) |
void dmatrix::allocate | ( | int | nrl, |
int | nrh | ||
) |
void dmatrix::allocate | ( | ad_integer | nrl, |
ad_integer | nrh | ||
) |
void dmatrix::allocate | ( | int | nrl, |
int | nrh, | ||
int | ncl, | ||
const ivector & | nch | ||
) |
void dmatrix::allocate | ( | int | nrl, |
int | nrh, | ||
const ivector & | ncl, | ||
int | nch | ||
) |
void dmatrix::allocate | ( | const ad_integer & | nrl, |
const ad_integer & | nrh, | ||
const index_type & | ncl, | ||
const index_type & | nch | ||
) |
void dmatrix::allocate | ( | int | nrl, |
int | nrh, | ||
const ivector & | ncl, | ||
const ivector & | nch | ||
) |
void dmatrix::colfill | ( | int | j, |
const dvector & | v | ||
) |
void dmatrix::colfill_randn | ( | const int & | j, |
long int & | n | ||
) |
void dmatrix::colfill_randn | ( | const int & | j, |
const random_number_generator & | rng | ||
) |
void dmatrix::colfill_randn_ni | ( | const int & | j, |
long int & | n | ||
) |
void dmatrix::colfill_randu | ( | const int & | j, |
long int & | n | ||
) |
void dmatrix::colfill_randu | ( | const int & | j, |
const random_number_generator & | rng | ||
) |
void dmatrix::colfill_randu_ni | ( | const int & | j, |
long int & | n | ||
) |
void dmatrix::colfill_seqadd | ( | const int & | , |
const int & | , | ||
const int & | |||
) |
void dmatrix::colfill_seqadd | ( | const int & | j, |
double | base, | ||
double | offset | ||
) |
int dmatrix::colmax | ( | void | ) | const [inline] |
Definition at line 2747 of file fvar.hpp.
Referenced by cmdm_prod(), colsize(), colsum(), det(), df_xdet(), df_xldet(), dfinvpret(), dfmattrans(), diagonal(), dmcm_prod(), dmdm_prod(), dmdv_solve(), dmultinom(), dmvlogistic(), dvcm_prod(), dvdm_prod(), expm(), extract_column(), extract_diagonal(), extract_row(), fabs(), inv(), ln_det(), lubksb(), ludcmp(), ludcmp_det(), ludcmp_index(), matrix2vector(), multifan(), operator*(), operator+(), operator-(), dvar_matrix::operator=(), operator=(), rowfill(), rowfill_randn(), rowfill_randn_ni(), rowfill_randu(), rowfill_randu_ni(), rowfill_seqadd(), solve(), symmetrize(), trace(), trans(), and dll_data_matrix::~dll_data_matrix().
int dmatrix::colmin | ( | void | ) | const [inline] |
Definition at line 2743 of file fvar.hpp.
Referenced by choleski_decomp(), choleski_decomp_error(), choleski_decomp_neghess_error(), choleski_decomp_positive(), cmdm_prod(), colsize(), colsum(), det(), df_ln_det_choleski(), df_xdet(), df_xldet(), dfcholeski_decomp(), dfcholeski_decomp_positive(), dfinvpret(), dfmattrans(), diagonal(), dmcm_prod(), dmdm_prod(), dmdv_solve(), dmultinom(), dmvlogistic(), dvcm_prod(), dvdm_prod(), expm(), extract_column(), extract_diagonal(), extract_row(), fabs(), fill(), inv(), ln_det(), lower_triangular_choleski_decomp_positive(), lubksb(), ludcmp(), ludcmp_det(), ludcmp_index(), matrix2vector(), multifan(), operator*(), operator+(), operator-(), dvar_matrix::operator=(), operator=(), rowfill(), rowfill_randn(), rowfill_randn_ni(), rowfill_randu(), rowfill_randu_ni(), rowfill_seqadd(), solve(), svd(), symmetrize(), trace(), trans(), and dll_data_matrix::~dll_data_matrix().
void dmatrix::colshift | ( | int | min | ) |
Description not yet available.
Definition at line 70 of file dmat9.cpp.
Referenced by choleski_decomp(), choleski_decomp_error(), choleski_decomp_neghess_error(), choleski_decomp_positive(), df_ln_det_choleski(), dfcholeski_decomp(), dfcholeski_decomp_positive(), eigenvalues(), eigenvectors(), fill(), ln_det_choleski(), ln_det_choleski_error(), lower_triangular_choleski_decomp_positive(), and svd().
int dmatrix::colsize | ( | ) | const [inline] |
Definition at line 2757 of file fvar.hpp.
Referenced by choleski_decomp(), choleski_decomp_error(), choleski_decomp_neghess_error(), choleski_decomp_positive(), df_ln_det_choleski(), dfcholeski_decomp(), dfcholeski_decomp_positive(), eigenvalues(), eigenvectors(), ln_det_choleski(), ln_det_choleski_error(), lower_triangular_choleski_decomp_positive(), ludcmp(), ludcmp_det(), ludcmp_index(), solve(), tri_dag(), and tri_dagv().
void dmatrix::deallocate | ( | void | ) |
Description not yet available.
Reimplemented in sdmatrix.
Definition at line 440 of file dmat.cpp.
Referenced by calculate_laplace_approximation(), laplace_approximation_calculator::check_hessian_type(), laplace_approximation_calculator::check_hessian_type2(), laplace_approximation_calculator::do_separable_stuff_hessian_type_information(), function_minimizer::get_bigS(), and ~dmatrix().
dmatrix::dvar_matrix::dvar_matrix | ( | const dmatrix & | ) |
dvector& dmatrix::elem | ( | int | i | ) | [inline] |
Definition at line 2819 of file fvar.hpp.
Referenced by cmdm_prod(), cmdv_prod(), colfill_randn(), colfill_randn_ni(), colfill_randu(), colfill_randu_ni(), colfill_seqadd(), colshift(), column_vector(), det(), dfinvpret(), dmatrix(), dmcm_prod(), dmcv_prod(), dmdm_prod(), dmdv_prod(), dmdv_solve(), dvar_matrix::dvar_matrix(), dvcm_prod(), dvdm_prod(), extract_column(), extract_diagonal(), extract_row(), fill_randcau(), fill_randn(), fill_randn_ni(), fill_randu(), fill_randu_ni(), fill_seqadd(), identity_matrix(), initialize(), inv(), ln_det(), norm(), norm2(), operator*(), operator*=(), operator+(), dvar_matrix::operator+=(), operator+=(), operator-(), dvar_matrix::operator-=(), operator-=(), operator/=(), operator=(), outer_prod(), row_vector(), rowfill_randn(), rowfill_randn_ni(), rowfill_randu(), rowfill_randu_ni(), rowfill_seqadd(), solve(), sum(), and trace().
double& dmatrix::elem | ( | int | i, |
int | j | ||
) | [inline] |
const dvector& dmatrix::elem | ( | int | i | ) | const [inline] |
const double& dmatrix::elem | ( | int | i, |
int | j | ||
) | const [inline] |
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);
s | values |
Definition at line 37 of file dmat10.cpp.
void dmatrix::fill_randcau | ( | const random_number_generator & | rng | ) |
Description not yet available.
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.
Definition at line 224 of file ranfill.cpp.
Referenced by d3_array::fill_randn(), and laplace_approximation_calculator::generate_antithetical_rvs().
void dmatrix::fill_randn | ( | const random_number_generator & | rng | ) |
void dmatrix::fill_randn_ni | ( | long int & | n | ) |
Description not yet available.
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.
Definition at line 269 of file ranfill.cpp.
Referenced by d3_array::fill_randu(), and laplace_approximation_calculator::laplace_approximation_calculator().
void dmatrix::fill_randu | ( | const random_number_generator & | rng | ) |
void dmatrix::fill_randu_ni | ( | long int & | n | ) |
Description not yet available.
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.
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 2731 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(), reorder(), 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] |
Definition at line 2727 of file fvar.hpp.
Referenced by choleski_decomp(), colmax(), colmin(), copy_value_from_vector(), cos(), dfempirical_covarv(), dfempirical_covarv_partial(), dfmattrans(), diagonal(), dmatrix_position::dmatrix_position(), dot(), elem_div(), elem_prod(), exp(), fill(), fillout(), fillout_trans(), function_minimizer::get_bigS(), quadratic_prior::get_cgradient(), quadratic_prior::get_cHessian(), df1b2quadratic_prior::get_Lxu(), ghk_test(), function_minimizer::hess_routine_noparallel_random_effects(), banded_symmetric_dmatrix::indexmin(), banded_lower_triangular_dmatrix::indexmin(), ln_det_choleski(), ln_det_choleski_error(), 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(), reorder(), sin(), singval_decomp(), solve(), solve_trans(), sort(), sqr(), sqrt(), sub_unallocated(), symmetrize(), tan(), tmpxchol1(), use_shape(), and VEC().
void dmatrix::initialize | ( | void | ) |
Description not yet available.
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().
bool dmatrix::is_valid_row | ( | const int | i | ) | const |
int dmatrix::operator! | ( | void | ) | const [inline] |
const dvector & dmatrix::operator() | ( | int | i | ) | const [inline] |
double& dmatrix::operator() | ( | register int | i, |
register int | j | ||
) | [inline] |
const double& dmatrix::operator() | ( | register int | i, |
register int | j | ||
) | const [inline] |
dmatrix & dmatrix::operator*= | ( | double | d | ) |
Multiply value x to all elements in dmatrix.
Definition at line 47 of file dmat22.cpp.
dmatrix & dmatrix::operator/= | ( | double | d | ) |
Divide value x to all elements in dmatrix.
Definition at line 36 of file dmat22.cpp.
Description not yet available.
Reimplemented in dll_data_matrix, data_matrix, and named_dmatrix.
dmatrix & dmatrix::operator= | ( | double | t | ) |
Assign value x to all elements in dmatrix.
Reimplemented in named_dmatrix.
Definition at line 25 of file dmat22.cpp.
dvector & dmatrix::operator[] | ( | int | i | ) | [inline] |
Reimplemented in dmatrix_index.
const dvector & dmatrix::operator[] | ( | int | i | ) | const [inline] |
void dmatrix::read_from | ( | const istream & | s | ) |
Description not yet available.
Definition at line 91 of file dmat_io.cpp.
Referenced by operator>>().
void dmatrix::read_from | ( | const uistream & | s | ) |
void dmatrix::rowfill | ( | int | i, |
const dvector & | v | ||
) |
void dmatrix::rowfill_randn | ( | const int & | i, |
long int & | n | ||
) |
void dmatrix::rowfill_randn | ( | const int & | i, |
const random_number_generator & | rng | ||
) |
void dmatrix::rowfill_randn_ni | ( | const int & | i, |
long int & | n | ||
) |
void dmatrix::rowfill_randu | ( | const int & | i, |
long int & | n | ||
) |
void dmatrix::rowfill_randu | ( | const int & | i, |
const random_number_generator & | rng | ||
) |
void dmatrix::rowfill_randu_ni | ( | const int & | i, |
long int & | n | ||
) |
void dmatrix::rowfill_seqadd | ( | const int & | i, |
double | base, | ||
double | offset | ||
) |
int dmatrix::rowmax | ( | void | ) | const [inline] |
Definition at line 2739 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 2735 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 | ) |
Description not yet available.
Definition at line 49 of file dmat9.cpp.
Referenced by choleski_decomp(), choleski_decomp_error(), choleski_decomp_neghess_error(), choleski_decomp_positive(), df_ln_det_choleski(), dfcholeski_decomp(), dfcholeski_decomp_positive(), eigenvalues(), eigenvectors(), fill(), ln_det_choleski(), ln_det_choleski_error(), lower_triangular_choleski_decomp_positive(), and svd().
int dmatrix::rowsize | ( | ) | const [inline] |
Definition at line 2752 of file fvar.hpp.
Referenced by allocate(), sdmatrix::allocate(), choleski_decomp(), choleski_decomp_error(), choleski_decomp_neghess_error(), choleski_decomp_positive(), df_ln_det_choleski(), dfcholeski_decomp(), dfcholeski_decomp_positive(), dmatrix(), eigenvalues(), eigenvectors(), fill(), ln_det_choleski(), ln_det_choleski_error(), lower_triangular_choleski_decomp_positive(), operator*(), read_from(), tri_dag(), and tri_dagv().
void dmatrix::save_dmatrix_derivatives | ( | const dvar_matrix_position & | _pos | ) | const |
Description not yet available.
Definition at line 241 of file cmpdif5.cpp.
Referenced by cmdm_prod(), df_ln_det_choleski(), dfcholeski_decomp(), dfcholeski_decomp_positive(), dfempirical_covarv(), dfempirical_covarv_partial(), dfmattrans(), dmcm_prod(), dmcv_prod(), dmdm_prod(), dmdv_prod(), and dvdm_prod().
void dmatrix::save_dmatrix_derivatives_na | ( | const dvar_matrix_position & | _pos | ) | const |
Description not yet available.
Definition at line 264 of file cmpdif5.cpp.
Referenced by dfmatinit().
void dmatrix::save_dmatrix_position | ( | void | ) | const |
Description not yet available.
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.
Definition at line 19 of file cmpdif5.cpp.
Referenced by inv(), ln_det(), operator*(), and solve().
void dmatrix::shallow_copy | ( | const dmatrix & | m2 | ) |
dmatrix dmatrix::sub | ( | int | nrl, |
int | nrh | ||
) |
Description not yet available.
Definition at line 65 of file dmat.cpp.
Referenced by orthpoly().
void dmatrix::write_on | ( | const ostream & | _s | ) | const |
Description not yet available.
Definition at line 46 of file dmat_io.cpp.
Referenced by operator<<().
void dmatrix::write_on | ( | const uostream & | s | ) | const |
friend class banded_lower_triangular_dmatrix [friend] |
friend class banded_symmetric_dmatrix [friend] |
Compute determinant of a constant matrix.
m1 | A dmatrix, , for which the determinant is computed. |
friend class dvar_matrix [friend] |
dvar_matrix& dvar_matrix::operator= | ( | const dmatrix & | ) | [friend] |
Inverse of a constant matrix by LU decomposition.
m1 | A dmatrix, , for which the inverse is to be computed. |
Inverse of a constant matrix by LU decomposition.
m1 | A dmatrix, , for which the inverse is to be computed. |
_ln_det | On return contains |
_sign |
Compute log determinant of a constant matrix.
m1 | A dmatrix, , for which the determinant is computed. |
_sgn |
dvar_vector operator* | ( | const dvar_vector & | x, |
const dmatrix & | m | ||
) | [friend] |
dvar_vector operator* | ( | const dmatrix & | m, |
const dvar_vector & | x | ||
) | [friend] |
dvar_matrix operator* | ( | const dvar_matrix & | m1, |
const dmatrix & | cm2 | ||
) | [friend] |
dvar_matrix operator* | ( | const dmatrix & | cm1, |
const dvar_matrix & | m2 | ||
) | [friend] |
dvar_matrix operator+ | ( | const dvar_matrix & | m1, |
const dmatrix & | m2 | ||
) | [friend] |
dvar_matrix operator+ | ( | const dmatrix & | m1, |
const dvar_matrix & | m2 | ||
) | [friend] |
int dmatrix::index_max [protected] |
Definition at line 2646 of file fvar.hpp.
Referenced by allocate(), sdmatrix::allocate(), dmatrix(), dvar_matrix::dvar_matrix(), indexmax(), is_valid_row(), operator++(), operator--(), operator=(), rowmax(), rowshift(), and shallow_copy().
int dmatrix::index_min [protected] |
Definition at line 2645 of file fvar.hpp.
Referenced by allocate(), sdmatrix::allocate(), dmatrix(), dvar_matrix::dvar_matrix(), indexmin(), is_valid_row(), operator++(), operator--(), operator=(), rowmin(), rowshift(), and shallow_copy().
dvector* dmatrix::m [protected] |
Definition at line 2647 of file fvar.hpp.
Referenced by allocate(), sdmatrix::allocate(), deallocate(), dmatrix(), elem(), make_dmatrix(), operator()(), d3_array::operator()(), banded_symmetric_dmatrix::operator()(), banded_lower_triangular_dmatrix::operator()(), operator++(), operator--(), operator=(), operator[](), rowshift(), sdmatrix::sdmatrix(), and shallow_copy().
mat_shapex* dmatrix::shape [protected] |
Definition at line 2648 of file fvar.hpp.
Referenced by dvar_matrix::allocate(), allocate(), sdmatrix::allocate(), deallocate(), dmatrix(), operator!(), operator=(), sdmatrix::sdmatrix(), and shallow_copy().
Generated on Tue Mar 8 2016 19:51:39 for ADMB Documentation by 1.8.0 |