ADMB Documentation
-a65f1c97
|
ADMB variable vector. More...
#include <fvar.hpp>
Public Member Functions | |
dvar_vector (const dvar_vector &) | |
Copy constructor. More... | |
dvar_vector (const predvar_vector &) | |
Description not yet available. More... | |
dvar_vector () | |
Default constructor. More... | |
dvar_vector (int ncl, int ncu) | |
Description not yet available. More... | |
dvar_vector (int ncl, int ncu, kkludge_object) | |
Description not yet available. More... | |
dvar_vector (unsigned int sz, double *x) | |
Description not yet available. More... | |
dvar_vector (const independent_variables &) | |
Description not yet available. More... | |
dvar_vector (const param_init_number_vector &) | |
Description not yet available. More... | |
dvar_vector (const param_init_bounded_number_vector &) | |
Description not yet available. More... | |
dvar_vector (const dvector &) | |
Description not yet available. More... | |
dvar_vector (const char *) | |
~dvar_vector () | |
Destructor. More... | |
void | allocate (int, int) |
Allocate dvar_vector with indexmin = ncl and indexmax = nch. More... | |
void | allocate (void) |
Does not allocate, but initializes dvar_vector to empty. More... | |
void | allocate (const dvector &) |
Allocate dvar_vector using indexes from v1. More... | |
void | allocate (const dvar_vector &) |
Allocate dvar_vector using indexes from v1. More... | |
void | allocate (const ad_integer &, const ad_integer &) |
Description not yet available. More... | |
void | allocatec (const dvar_vector &) |
Description not yet available. More... | |
void | deallocate () |
Deallocate dvar_vector memory. More... | |
prevariable | elem (int i) |
prevariable | elem (int i) const |
double & | elem_value (int i) |
double & | elem_value (int i) const |
void | fill (const char *) |
Fill variable vector from values in string s. More... | |
void | fill_multinomial (const int &seed, const dvector &p) |
Description not yet available. More... | |
void | fill_multinomial (const random_number_generator &rng, const dvector &p) |
Description not yet available. More... | |
void | fill_randbi (long int &n, double) |
Description not yet available. More... | |
void | fill_randbi_ni (long int &n, double) |
Description not yet available. More... | |
void | fill_randn (long int &n) |
Description not yet available. More... | |
void | fill_randn_ni (long int &n) |
Description not yet available. More... | |
void | fill_randnegbinomial (double lambda, double tau, const random_number_generator &rng) |
Description not yet available. More... | |
void | fill_randpoisson (double lambda, const random_number_generator &rng) |
Description not yet available. More... | |
void | fill_randu (long int &n) |
Description not yet available. More... | |
void | fill_randu_ni (long int &n) |
Description not yet available. More... | |
void | fill_seqadd (double, double) |
Description not yet available. More... | |
unsigned int | get_ncopies () const |
double_and_int * | get_va () |
double_and_int * | get_va () const |
int | indexmax () const |
int | indexmin () const |
void | initialize (const dvector &ww) |
Description not yet available. More... | |
void | initialize (void) |
Description not yet available. More... | |
double * | initpointer (void) |
const double * | initpointer (void) const |
int | operator! (void) const |
dvar_vector | operator() (int lb, int ub) |
prevariable | operator() (int i) |
const prevariable | operator() (int i) const |
dvar_vector | operator() (const lvector &) |
Description not yet available. More... | |
dvar_vector | operator() (const ivector &u) |
Description not yet available. More... | |
dvar_vector & | operator*= (const prevariable &d) |
Description not yet available. More... | |
dvar_vector & | operator*= (double d) |
Description not yet available. More... | |
dvar_vector & | operator++ (void) |
dvar_vector & | operator+= (const prevariable &d) |
Adds d to each element of dvar_vector. More... | |
dvar_vector & | operator+= (double d) |
Adds d to each element of dvar_vector. More... | |
dvar_vector & | operator+= (const dvector &v1) |
Description not yet available. More... | |
dvar_vector & | operator+= (const dvar_vector &v1) |
Description not yet available. More... | |
dvar_vector | operator- () |
Description not yet available. More... | |
dvar_vector & | operator-- (void) |
dvar_vector & | operator-= (const prevariable &d) |
Substracts d from each element of dvar_vector. More... | |
dvar_vector & | operator-= (double d) |
Substracts d from each element of dvar_vector. More... | |
dvar_vector & | operator-= (const dvector &v1) |
Description not yet available. More... | |
dvar_vector & | operator-= (const dvar_vector &v1) |
Description not yet available. More... | |
dvar_vector & | operator/= (const prevariable &d) |
Description not yet available. More... | |
dvar_vector & | operator/= (double d) |
Description not yet available. More... | |
dvar_vector & | operator= (const dvar_vector &t) |
Assign values from other t to dvar_vector. More... | |
dvar_vector & | operator= (const dvector &t) |
Description not yet available. More... | |
dvar_vector & | operator= (double t) |
Assigns all elements for dvar_vector with t. More... | |
dvar_vector & | operator= (const prevariable &t) |
Assigns all elements for dvar_vector with t. More... | |
prevariable | operator[] (int i) |
const prevariable | operator[] (int i) const |
void | read_from (const istream &) |
Description not yet available. More... | |
void | read_from (const uistream &) |
Description not yet available. More... | |
void | save_dvar_vector_position () const |
Description not yet available. More... | |
void | save_dvar_vector_value () const |
Saves the size, address, and value information for a dvar_vector. More... | |
void | shallow_copy (const dvar_vector &) |
Shallow copy other data structure pointers. More... | |
dvar_vector & | shift (int min) |
Description not yet available. More... | |
unsigned int | size () const |
dvar_vector | sub (int lb, int ub) |
void | write_on (const ostream &) const |
Description not yet available. More... | |
void | write_on (const uostream &) const |
Description not yet available. More... | |
Public Attributes | |
int | index_max |
int | index_min |
arr_link * | link_ptr |
vector_shapex * | shape |
double_and_int * | va |
Friends | |
class | array_size |
class | banded_lower_triangular_dmatrix |
class | banded_lower_triangular_dvar_matrix |
class | banded_symmetric_dmatrix |
class | banded_symmetric_dvar_matrix |
void | copy_status (const ostream &s, const dvar_vector &v) |
Description not yet available. More... | |
class | dvar3_array |
class | dvar_matrix |
dvar_vector | elem_div (const dvar_vector &, const dvar_vector &) |
Element-wise division of v1 by v2 into a dvar_vector. More... | |
dvar_vector | elem_div (const dvector &, const dvar_vector &) |
Element-wise division of v1 by v2 into a dvar_vector. More... | |
dvar_vector | elem_div (const dvar_vector &, const dvector &) |
Element-wise division of v1 by v2 into a dvar_vector. More... | |
dvar_vector | elem_prod (const dvar_vector &, const dvar_vector &) |
Description not yet available. More... | |
dvar_vector | elem_prod (const dvector &, const dvar_vector &) |
Description not yet available. More... | |
dvar_vector | elem_prod (const dvar_vector &, const dvector &) |
Description not yet available. More... | |
dvar_vector | exp (const dvar_vector &) |
Description not yet available. More... | |
dvar_vector | fabs (const dvar_vector &) |
Description not yet available. More... | |
char * | fform (const char *, const dvar_vector &) |
dvar_vector | first_difference (const dvar_vector &) |
Returns a dvector containing the differences of an x(i) and x(i + 1) for i = 1 to x.indexmax() - 1. More... | |
dvar_vector | log (const dvar_vector &) |
Description not yet available. More... | |
void | make_indvar_list (const dvar_vector &) |
Description not yet available. More... | |
dvariable | norm (const dvar_vector &) |
Description not yet available. More... | |
dvariable | norm2 (const dvar_vector &) |
Description not yet available. More... | |
dvar_matrix | operator* (const dvar_matrix &m1, const dmatrix &m2) |
Description not yet available. More... | |
dvariable | operator* (const dvar_vector &, const dvar_vector &) |
Compute the dot product of two variable type vectors. More... | |
dvariable | operator* (const dvector &, const dvar_vector &) |
Description not yet available. More... | |
dvariable | operator* (const dvar_vector &, const dvector &) |
Description not yet available. More... | |
dvar_vector | operator* (const prevariable &, const dvar_vector &) |
Description not yet available. More... | |
dvar_vector | operator* (const prevariable &, const dvector &) |
Description not yet available. More... | |
dvar_vector | operator* (double, const dvar_vector &) |
Description not yet available. More... | |
dvar_vector | operator* (const dvar_vector &, const dmatrix &) |
Description not yet available. More... | |
dvar_vector | operator* (const dmatrix &, const dvar_vector &) |
Description not yet available. More... | |
dvar_vector | operator* (const dvar_vector &, const dvar_matrix &) |
Description not yet available. More... | |
dvar_vector | operator* (const dvar_matrix &, const dvar_vector &) |
Description not yet available. More... | |
dvar_matrix | operator* (const dvar_matrix &, const dvar_matrix &) |
Description not yet available. More... | |
dvar_matrix | operator* (const dmatrix &, const dvar_matrix &) |
Description not yet available. More... | |
dvar_vector | operator+ (const dvar_vector &, const dvar_vector &) |
Description not yet available. More... | |
dvar_vector | operator+ (const dvar_vector &, const dvector &) |
Description not yet available. More... | |
dvar_vector | operator+ (const dvector &, const dvar_vector &) |
Description not yet available. More... | |
dvar_vector | operator- (const dvar_vector &, const dvar_vector &) |
Description not yet available. More... | |
dvar_vector | operator- (const dvector &, const dvar_vector &) |
Description not yet available. More... | |
dvar_vector | operator- (const dvar_vector &, const dvector &) |
Description not yet available. More... | |
dvar_vector | second_difference (const dvar_vector &) |
dvar_vector | sfabs (const dvar_vector &) |
Description not yet available. More... | |
dvar_vector | sigmoid (const dvar_vector &t1) |
dvar_vector | sin (const dvar_vector &) |
Computes sin of each element in v1 to a dvar_vector. More... | |
dvariable | sumsq (const dvar_vector &) |
dvector | value (const dvar_vector &v1) |
Description not yet available. More... | |
dvar_vector::dvar_vector | ( | const dvar_vector & | other | ) |
Copy constructor.
Definition at line 45 of file fvar_ar1.cpp.
dvar_vector::dvar_vector | ( | const predvar_vector & | pdv | ) |
dvar_vector::dvar_vector | ( | ) |
Default constructor.
Definition at line 150 of file fvar_arr.cpp.
Referenced by param_init_vector::allocate(), param_init_bounded_vector::allocate(), param_init_vector::restore_value(), param_init_bounded_vector::restore_value(), param_init_vector::save_value(), param_init_bounded_vector::save_value(), and param_stddev_vector::set_dependent_variables().
dvar_vector::dvar_vector | ( | int | ncl, |
int | nch | ||
) |
dvar_vector::dvar_vector | ( | int | ncl, |
int | nch, | ||
kkludge_object | kg | ||
) |
dvar_vector::dvar_vector | ( | unsigned int | sz, |
double * | x | ||
) |
dvar_vector::dvar_vector | ( | const independent_variables & | t | ) |
dvar_vector::dvar_vector | ( | const param_init_number_vector & | _t | ) |
dvar_vector::dvar_vector | ( | const param_init_bounded_number_vector & | _t | ) |
dvar_vector::dvar_vector | ( | const dvector & | t | ) |
dvar_vector::dvar_vector | ( | const char * | s | ) |
Definition at line 54 of file fvar_io2.cpp.
dvar_vector::~dvar_vector | ( | ) |
Destructor.
Definition at line 10 of file fvar_ar1.cpp.
void dvar_vector::allocate | ( | int | ncl, |
int | nch | ||
) |
Allocate dvar_vector with indexmin = ncl and indexmax = nch.
Definition at line 270 of file fvar_arr.cpp.
Referenced by dvar_matrix::allocate(), dvar_compressed_triplet::allocate(), dvar_matrix::dvar_matrix(), and vcubic_spline_function::vcubic_spline_function().
void dvar_vector::allocate | ( | void | ) |
Does not allocate, but initializes dvar_vector to empty.
Definition at line 216 of file fvar_arr.cpp.
Referenced by named_dvar_vector::allocate(), dll_param_vector::allocate(), param_init_vector::allocate(), dll_param_init_vector::allocate(), param_init_bounded_vector::allocate(), dll_param_init_bounded_vector::allocate(), allocate(), param_stddev_vector::allocate(), deallocate(), dvar_vector(), shallow_copy(), and vector_kludge::vector_kludge().
void dvar_vector::allocate | ( | const dvector & | v1 | ) |
Allocate dvar_vector using indexes from v1.
Definition at line 227 of file fvar_arr.cpp.
void dvar_vector::allocate | ( | const dvar_vector & | v1 | ) |
Allocate dvar_vector using indexes from v1.
Definition at line 234 of file fvar_arr.cpp.
void dvar_vector::allocate | ( | const ad_integer & | ncl, |
const ad_integer & | nch | ||
) |
void dvar_vector::allocatec | ( | const dvar_vector & | t | ) |
Description not yet available.
Definition at line 243 of file fvar_arr.cpp.
Referenced by operator=().
void dvar_vector::deallocate | ( | void | ) |
Deallocate dvar_vector memory.
Definition at line 15 of file fvar_ar1.cpp.
Referenced by dvar_compressed_triplet::deallocate(), operator=(), and ~dvar_vector().
|
inline |
Definition at line 2221 of file fvar.hpp.
Referenced by acos(), asin(), check_for_params_on_bounds(), column_vector(), cosh(), dvar_vector(), extract_column(), extract_row(), fill(), fill_randbi(), fill_randbi_ni(), fill_randn(), fill_randn_ni(), fill_randnegbinomial(), fill_randpoisson(), fill_randu(), fill_randu_ni(), fill_seqadd(), log10(), lubksb(), max(), min(), operator*=(), outer_prod(), pow(), read_from(), row_vector(), sfabs(), sinh(), and tanh().
|
inline |
|
inline |
Definition at line 2226 of file fvar.hpp.
Referenced by atan(), cos(), cube(), elem_div(), first_difference(), fourth(), mfexp(), operator()(), operator*(), operator+(), operator+=(), operator-(), operator-(), operator-=(), operator/(), pow(), sin(), solve(), sqrt(), and tan().
void dvar_vector::fill | ( | const char * | s | ) |
Fill variable vector from values in string s.
s | should be in {v1, ..., vn} format. |
Definition at line 52 of file fvar_a10.cpp.
void dvar_vector::fill_multinomial | ( | const int & | seed, |
const dvector & | p | ||
) |
void dvar_vector::fill_multinomial | ( | const random_number_generator & | rng, |
const dvector & | p | ||
) |
void dvar_vector::fill_randbi | ( | long int & | n, |
double | p | ||
) |
void dvar_vector::fill_randbi_ni | ( | long int & | n, |
double | p | ||
) |
void dvar_vector::fill_randn | ( | long int & | n | ) |
void dvar_vector::fill_randn_ni | ( | long int & | n | ) |
Description not yet available.
Definition at line 102 of file ranf_ni2.cpp.
Referenced by dvar_matrix::fill_randn(), dvar_matrix::fill_randn_ni(), and dvar_matrix::fill_randu().
void dvar_vector::fill_randnegbinomial | ( | double | lambda, |
double | tau, | ||
const random_number_generator & | rng | ||
) |
void dvar_vector::fill_randpoisson | ( | double | lambda, |
const random_number_generator & | rng | ||
) |
void dvar_vector::fill_randu | ( | long int & | n | ) |
void dvar_vector::fill_randu_ni | ( | long int & | n | ) |
Description not yet available.
Definition at line 60 of file ranf_ni2.cpp.
Referenced by dvar_matrix::fill_randu_ni().
void dvar_vector::fill_seqadd | ( | double | base, |
double | offset | ||
) |
Description not yet available.
Definition at line 33 of file ranfill1.cpp.
Referenced by dvar_matrix::fill_seqadd().
|
inline |
|
inline |
Definition at line 2231 of file fvar.hpp.
Referenced by dvar_matrix_position::dvar_matrix_position(), dvar_matrix::initialize(), and solve().
|
inline |
|
inline |
Definition at line 2292 of file fvar.hpp.
Referenced by acos(), param_init_vector::add_value(), param_init_bounded_vector::add_value(), ageLengthKey(), ALK(), factor::allocate(), dvector::allocate(), allocate(), asin(), atan(), boundp(), check_for_params_on_bounds(), column_vector(), copy_value_to_vector(), cos(), cosh(), cube(), param_init_vector::curv_scale(), param_init_bounded_vector::curv_scale(), dbinom(), dmultinom(), dnorm(), dvar_matrix_position::dvar_matrix_position(), dvar_vector(), elem_div(), elem_prod(), exp(), fabs(), factln(), fill(), fill_multinomial(), fill_randbi(), fill_randbi_ni(), fill_randn(), fill_randn_ni(), fill_randnegbinomial(), fill_randpoisson(), fill_randu(), fill_randu_ni(), fill_seqadd(), first_difference(), fourth(), gammln(), param_init_vector::get_jacobian(), param_init_bounded_vector::get_jacobian(), ghk(), ghk_choleski(), ghk_choleski_m(), ghk_choleski_m_cauchy(), ghk_choleski_m_logistic(), ghk_m(), initialize(), dvar_matrix::initialize(), inv_cumd_norm(), log(), log10(), log_comb(), lower_triangular_solve(), gradient_structure::make_indvar_list(), MAT(), max(), param_init_vector::mc_scale(), param_init_bounded_vector::mc_scale(), mfexp(), min(), operator&(), vcubic_spline_function::operator()(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-(), operator-=(), operator/(), operator<<(), operator=(), cifstream::operator>>(), outer_prod(), posfun(), pow(), function_minimizer::random_effects_maximization(), read_from(), robust_regression(), row_vector(), DF_FILE::save_dvar_vector_value(), param_init_vector::save_value(), param_init_bounded_vector::save_value(), param_init_vector::sd_scale(), param_init_bounded_vector::sd_scale(), param_init_vector::sd_vscale(), param_init_bounded_vector::sd_vscale(), param_init_vector::set_simulation_bounds(), param_init_bounded_vector::set_simulation_bounds(), set_value(), set_value_inv(), set_value_inv_mc(), set_value_inv_partial(), set_value_partial(), sfabs(), sgn(), shape_check(), param_init_vector::shared_set_value(), param_init_d3array::shared_set_value(), param_init_d3array::shared_set_value_inv(), sin(), sinh(), sqrt(), square(), sum(), tan(), tanh(), use_shape(), value(), write_on(), dll_param_init_bounded_vector::~dll_param_init_bounded_vector(), dll_param_init_vector::~dll_param_init_vector(), and dll_param_vector::~dll_param_vector().
|
inline |
Definition at line 2287 of file fvar.hpp.
Referenced by acos(), param_init_vector::add_value(), param_init_bounded_vector::add_value(), ageLengthKey(), ALK(), factor::allocate(), dvector::allocate(), allocate(), asin(), atan(), boundp(), check_for_params_on_bounds(), column_vector(), copy_value_to_vector(), cos(), cosh(), cube(), param_init_vector::curv_scale(), param_init_bounded_vector::curv_scale(), dbinom(), deallocate(), dmultinom(), dnorm(), dvar_matrix_position::dvar_matrix_position(), dvar_vector(), elem_div(), elem_prod(), exp(), fabs(), factln(), fill(), fill_multinomial(), fill_randbi(), fill_randbi_ni(), fill_randn(), fill_randn_ni(), fill_randnegbinomial(), fill_randpoisson(), fill_randu(), fill_randu_ni(), fill_seqadd(), first_difference(), fourth(), gammln(), param_init_vector::get_jacobian(), param_init_bounded_vector::get_jacobian(), initialize(), dvar_matrix::initialize(), initpointer(), inv_cumd_norm(), log(), log10(), log_comb(), lower_triangular_solve(), gradient_structure::make_indvar_list(), MAT(), max(), param_init_vector::mc_scale(), param_init_bounded_vector::mc_scale(), mfexp(), min(), operator&(), vcubic_spline_function::operator()(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-(), operator-=(), operator/(), operator<<(), operator=(), cifstream::operator>>(), outer_prod(), posfun(), pow(), function_minimizer::random_effects_maximization(), read_from(), robust_regression(), row_vector(), DF_FILE::save_dvar_vector_value(), param_init_vector::save_value(), param_init_bounded_vector::save_value(), param_init_vector::sd_scale(), param_init_bounded_vector::sd_scale(), param_init_vector::sd_vscale(), param_init_bounded_vector::sd_vscale(), param_init_vector::set_simulation_bounds(), param_init_bounded_vector::set_simulation_bounds(), set_value(), set_value_inv(), set_value_inv_mc(), set_value_inv_partial(), set_value_partial(), sfabs(), sgn(), shape_check(), param_init_vector::shared_set_value(), param_init_d3array::shared_set_value(), param_init_d3array::shared_set_value_inv(), shift(), sin(), sinh(), spline_cubic_val(), spline_cubic_val2(), sqrt(), square(), sum(), tan(), tanh(), use_shape(), value(), vector2matrix(), write_on(), dll_param_init_bounded_vector::~dll_param_init_bounded_vector(), dll_param_init_vector::~dll_param_init_vector(), and dll_param_vector::~dll_param_vector().
void dvar_vector::initialize | ( | const dvector & | ww | ) |
Description not yet available.
Definition at line 63 of file fvar_a24.cpp.
Referenced by calculate_importance_sample(), calculate_importance_sample_block_diagonal(), calculate_importance_sample_block_diagonal_funnel(), calculate_importance_sample_block_diagonal_option2(), calculate_importance_sample_block_diagonal_option_antithetical(), calculate_importance_sample_funnel(), calculate_importance_sample_shess(), colsum(), cs_add(), dmultinom(), dmvlogistic(), do_gauss_hermite_block_diagonal(), do_gauss_hermite_block_diagonal_multi(), and function_minimizer::random_effects_maximization().
void dvar_vector::initialize | ( | void | ) |
Description not yet available.
Definition at line 17 of file fvar_a24.cpp.
Referenced by dvar_vector().
|
inline |
|
inline |
|
inline |
|
inline |
dvar_vector dvar_vector::operator() | ( | const lvector & | u | ) |
dvar_vector dvar_vector::operator() | ( | const ivector & | u | ) |
dvar_vector & dvar_vector::operator*= | ( | const prevariable & | x | ) |
dvar_vector & dvar_vector::operator*= | ( | double | d | ) |
|
inline |
dvar_vector & dvar_vector::operator+= | ( | const prevariable & | d | ) |
Adds d to each element of dvar_vector.
d | prevariable |
Definition at line 55 of file fvar_a30.cpp.
dvar_vector & dvar_vector::operator+= | ( | double | d | ) |
Adds d to each element of dvar_vector.
d | double |
Definition at line 106 of file fvar_a30.cpp.
dvar_vector & dvar_vector::operator+= | ( | const dvector & | v1 | ) |
dvar_vector & dvar_vector::operator+= | ( | const dvar_vector & | v1 | ) |
dvar_vector dvar_vector::operator- | ( | void | ) |
|
inline |
dvar_vector & dvar_vector::operator-= | ( | const prevariable & | d | ) |
Substracts d from each element of dvar_vector.
d | prevariable |
Definition at line 17 of file fvar_a30.cpp.
dvar_vector & dvar_vector::operator-= | ( | double | d | ) |
Substracts d from each element of dvar_vector.
d | double |
Definition at line 90 of file fvar_a30.cpp.
dvar_vector & dvar_vector::operator-= | ( | const dvector & | v1 | ) |
dvar_vector & dvar_vector::operator-= | ( | const dvar_vector & | v1 | ) |
dvar_vector & dvar_vector::operator/= | ( | const prevariable & | x | ) |
dvar_vector & dvar_vector::operator/= | ( | double | d | ) |
dvar_vector & dvar_vector::operator= | ( | const dvar_vector & | t | ) |
Assign values from other t to dvar_vector.
t | other dvar_vector |
Definition at line 31 of file fvar_a20.cpp.
Referenced by param_init_vector::allocate(), param_init_bounded_vector::allocate(), named_dvar_vector::operator=(), dll_param_vector::operator=(), param_init_vector::operator=(), param_init_bounded_vector::operator=(), param_init_bounded_dev_vector::operator=(), and param_stddev_vector::operator=().
dvar_vector & dvar_vector::operator= | ( | const dvector & | t | ) |
dvar_vector & dvar_vector::operator= | ( | double | t | ) |
Assigns all elements for dvar_vector with t.
t | single value |
Definition at line 112 of file fvar_a20.cpp.
dvar_vector & dvar_vector::operator= | ( | const prevariable & | t | ) |
Assigns all elements for dvar_vector with t.
t | prevariable |
Definition at line 82 of file fvar_a20.cpp.
|
inline |
|
inline |
void dvar_vector::read_from | ( | const istream & | s | ) |
void dvar_vector::read_from | ( | const uistream & | _s | ) |
void dvar_vector::save_dvar_vector_position | ( | ) | const |
void dvar_vector::save_dvar_vector_value | ( | ) | const |
Saves the size, address, and value information for a dvar_vector.
Definition at line 102 of file cmpdif4.cpp.
void dvar_vector::shallow_copy | ( | const dvar_vector & | other | ) |
Shallow copy other data structure pointers.
other | dvar_vector |
Definition at line 59 of file fvar_ar1.cpp.
Referenced by dvar_vector().
dvar_vector & dvar_vector::shift | ( | int | min | ) |
Description not yet available.
Definition at line 28 of file fvar_arr.cpp.
Referenced by calculate_importance_sample(), calculate_importance_sample_block_diagonal(), calculate_importance_sample_block_diagonal_funnel(), calculate_importance_sample_block_diagonal_option2(), calculate_importance_sample_block_diagonal_option_antithetical(), calculate_importance_sample_funnel(), calculate_importance_sample_shess(), calculate_laplace_approximation(), dvar_matrix::colshift(), do_gauss_hermite_block_diagonal(), do_gauss_hermite_block_diagonal_multi(), return_choleski_factor_solve(), spline(), spline_cubic_val(), spline_cubic_val2(), and VEC().
|
inline |
Definition at line 2297 of file fvar.hpp.
Referenced by param_init_bounded_dev_vector::dev_correction(), dvar_vector(), fill(), dvar_matrix::fill_seqadd(), first_difference(), get_eigenv(), invLogitProp(), logitProp(), mean(), nllBeta(), nllGamma(), nllInverseGamma(), nllLognormal(), nllLognormal2(), nllNegativeBinomial(), nllNormal(), nllNormal2(), nllPoisson(), operator&(), operator=(), robust_regression(), size_count(), std_dev(), var(), and vector2matrix().
|
inline |
void dvar_vector::write_on | ( | const ostream & | _s | ) | const |
Description not yet available.
Definition at line 48 of file fvara_io.cpp.
Referenced by operator<<().
void dvar_vector::write_on | ( | const uostream & | _s | ) | const |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
Element-wise division of v1 by v2 into a dvar_vector.
v1 | dvar_vector of numerators |
v2 | dvar_vector of denominators |
Definition at line 29 of file fvar_a46.cpp.
|
friend |
Element-wise division of v1 by v2 into a dvar_vector.
v1 | dvector of numerators |
v2 | dvar_vector of denominators |
Definition at line 226 of file fvar_a46.cpp.
|
friend |
Element-wise division of v1 by v2 into a dvar_vector.
v1 | dvar_vector of numerators |
v2 | dvector of denominators |
Definition at line 141 of file fvar_a46.cpp.
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
Returns a dvector containing the differences of an x(i) and x(i + 1) for i = 1 to x.indexmax() - 1.
x | input. |
Definition at line 15 of file fvar_dif.cpp.
|
friend |
|
friend |
Description not yet available.
Definition at line 159 of file fvar_arr.cpp.
Referenced by dvar_vector().
|
friend |
|
friend |
|
friend |
|
friend |
Compute the dot product of two variable type vectors.
The minimum and maxium legal subscripts of the arguments must agree; otherwize an error message is printed and execution terminates.
v1 | A dvar_vector, . |
v2 | A dvar_vector, . |
Definition at line 38 of file fvar_a14.cpp.
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
Computes sin of each element in v1 to a dvar_vector.
v1 | dvar_vector |
Definition at line 67 of file fvar_a29.cpp.
|
friend |
Definition at line 96 of file fvar_ar3.cpp.
|
friend |
Description not yet available.
Definition at line 43 of file fvar_ar3.cpp.
Referenced by param_init_bounded_vector::add_value(), dvar_vector(), operator+=(), operator-=(), operator/=(), operator=(), param_init_vector::shared_set_value_inv(), dll_param_init_bounded_vector::~dll_param_init_bounded_vector(), dll_param_init_vector::~dll_param_init_vector(), and dll_param_vector::~dll_param_vector().
int dvar_vector::index_max |
Definition at line 2177 of file fvar.hpp.
Referenced by allocate(), allocatec(), check_for_params_on_bounds(), dvar_vector(), indexmax(), operator++(), operator+=(), operator--(), operator-=(), operator/=(), shallow_copy(), shift(), and size().
int dvar_vector::index_min |
Definition at line 2176 of file fvar.hpp.
Referenced by allocate(), allocatec(), dvar_vector(), indexmin(), operator++(), operator+=(), operator--(), operator-=(), operator/=(), shallow_copy(), shift(), and size().
arr_link* dvar_vector::link_ptr |
Definition at line 2178 of file fvar.hpp.
Referenced by allocate(), allocatec(), deallocate(), dvar_vector(), and shallow_copy().
vector_shapex* dvar_vector::shape |
Definition at line 2179 of file fvar.hpp.
Referenced by allocate(), allocatec(), deallocate(), dvar_vector(), get_ncopies(), operator!(), operator=(), shallow_copy(), and shift().
double_and_int* dvar_vector::va |
Definition at line 2175 of file fvar.hpp.
Referenced by allocate(), allocatec(), copy_value_to_vector(), deallocate(), dvar_vector(), elem(), elem_div(), elem_prod(), elem_value(), exp(), fabs(), get_va(), initialize(), initpointer(), log(), gradient_structure::make_indvar_list(), mfexp(), nograd_assign(), nograd_assign_column(), nograd_assign_trans(), operator()(), dvar_matrix::operator()(), operator*(), operator+(), operator++(), operator+=(), operator-(), operator--(), operator-=(), operator/(), operator/=(), operator=(), operator[](), outer_prod(), read_from(), DF_FILE::save_dvar_vector_value(), param_init_bounded_vector::set_simulation_bounds(), shallow_copy(), shift(), square(), sum(), value(), and write_on().
Generated on Wed Sep 7 2022 00:01:33 for ADMB Documentation by 1.8.5 |