ADMB Documentation
-a65f1c97
|
#include "fvar.hpp"
Go to the source code of this file.
Functions | |
d3_array | cos (const d3_array &arr3) |
Returns d3_array results with computed cos from elements in arr3. More... | |
d3_array | elem_div (const d3_array &a, const d3_array &b) |
Returns d3_array results with computed elements division of a(i, j, k) / b(i, j, k). More... | |
d3_array | elem_prod (const d3_array &a, const d3_array &b) |
Returns d3_array results with computed elements product of a(i, j, k) * b(i, j, k). More... | |
d3_array | exp (const d3_array &arr3) |
Returns d3_array results with computed exp from elements in arr3. More... | |
d3_array | log (const d3_array &arr3) |
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California. More... | |
double | norm (const d3_array &a) |
Return computed norm value of a. More... | |
double | norm2 (const d3_array &a) |
Return sum of squared elements in a. More... | |
d3_array | operator* (const d3_array &a, double value) |
Returns d3_array results of multiplying elements in a with value a(i, j, k) * value. More... | |
d3_array | operator* (double value, const d3_array &a) |
Returns d3_array results of multiplying value by elements in a value * a(i, j, k). More... | |
d3_array | operator+ (const d3_array &a, const d3_array &b) |
Returns d3_array results with computed elements addition of a(i, j, k) + b(i, j, k). More... | |
d3_array | operator+ (double value, const d3_array &a) |
Returns d3_array results with adding elements in a to value value + a(i, j, k). More... | |
d3_array | operator+ (const d3_array &a, double value) |
Returns d3_array results with subtracting elements in a to value a(i, j, k) + value. More... | |
d3_array | operator- (const d3_array &a, const d3_array &b) |
Returns d3_array results with computed elements addition of a(i, j, k) + b(i, j, k). More... | |
d3_array | operator- (double value, const d3_array &a) |
Returns d3_array results with subtracting elements in a to value value - a(i, j, k). More... | |
d3_array | operator- (const d3_array &a, double value) |
Returns d3_array results with subtracting elements in a to value a(i, j, k) - value. More... | |
d3_array | sin (const d3_array &arr3) |
Returns d3_array results with computed sin from elements in arr3. More... | |
double | sumsq (const d3_array &a) |
d3_array | tan (const d3_array &arr3) |
Returns d3_array results with computed tan from elements in arr3. More... | |
Returns d3_array results with computed cos from elements in arr3.
arr3 | d3_array |
Definition at line 58 of file d3arr2a.cpp.
Referenced by bessj0(), bessj1(), bessy0(), bessy1(), cos(), tiny_ad::D_tan(), DF_dvsin(), DF_dvtan(), dfboundp(), ncos(), ndfboundp(), randn(), sin(), and tan().
Returns d3_array results with computed elements division of a(i, j, k) / b(i, j, k).
a and b should be allocated and have the same dimensions. All elements in b should not be zero.
Definition at line 112 of file d3arr2a.cpp.
Referenced by laplace_approximation_calculator::default_calculations(), laplace_approximation_calculator::default_calculations_check_derivatives(), function_minimizer::dep_hess_routine(), dmultinom(), dnorm(), dstudent_t(), elem_div(), eplogis(), generalized_Ricker1(), generalized_Ricker2(), get_ft(), Hassell(), Hill(), HollingII(), HollingIII(), HollingIV(), function_minimizer::likeprof_routine(), logistic(), logistic3(), logisticK(), Michaelis_Menten1(), Michaelis_Menten2(), function_minimizer::monte_carlo_routine(), multifan(), pearson_residuals(), initial_params::reset1(), and Shepherd().
Returns d3_array results with computed elements product of a(i, j, k) * b(i, j, k).
a and b should be allocated and have the same dimensions.
Definition at line 92 of file d3arr2a.cpp.
Referenced by function_minimizer::add_sample_diag(), laplace_approximation_calculator::banded_calculations(), laplace_approximation_calculator::block_diagonal_calculations(), laplace_approximation_calculator::default_calculations(), laplace_approximation_calculator::default_calculations_check_derivatives(), dgamma(), dmultinom(), dnorm(), dstudent_t(), elem_prod(), generalized_Ricker1(), generalized_Ricker2(), get_ft(), get_solution_vector(), Gompertz(), Hassell(), Hill(), HollingII(), HollingIII(), HollingIV(), logistic(), logistic3(), logisticK(), Michaelis_Menten1(), Michaelis_Menten2(), monomolecular(), multifan(), neff(), nonrectangular_hyperbola(), normalized_gauss_hermite(), pearson_residuals(), Ricker(), Shepherd(), theta_logistic(), and initial_params::xinit1().
Returns d3_array results with computed exp from elements in arr3.
arr3 | d3_array |
Definition at line 28 of file d3arr2a.cpp.
Referenced by _dtweedie(), function_minimizer::adapt_eps(), add_hist_values(), bessi0(), bessi1(), bessk0(), bessk1(), beta(), betai(), bounded_cumd_norm(), bounded_robust_multivariate_normal(), bounder(), boundp(), function_minimizer::build_tree(), 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(), cmvbvu_(), cmvphi_(), cumd_exp(), cumd_exponential(), cumd_logistic(), cumd_norm(), cumd_normal_logistic_mixture(), density_negbinomial(), df_cumd_normal_logistic_mixture(), df_cumd_normal_mixture(), DF_dvmfexp(), dfboundp(), dflogistic(), function_minimizer::do_gauss_hermite_integration(), function_minimizer::do_gauss_hermite_integration_multi(), eplogis(), exp(), function_minimizer::find_reasonable_stepsize(), gamma_density(), gcf(), generalized_Ricker1(), generalized_Ricker2(), laplace_approximation_calculator::generate_antithetical_rvs(), get_bounded_normal(), get_bounded_normal_virtual(), get_ft(), laplace_approximation_calculator::get_hessian_components_banded_lme(), laplace_approximation_calculator::get_hessian_from_components_lme(), get_initial_u(), Gompertz(), gser(), function_minimizer::hybrid_mcmc_routine(), inv_cumd_beta_stable(), inv_cumd_gamma(), inv_cumd_norm(), inv_cumd_norm_ln(), inv_cumd_norm_logistic(), inv_cumd_normal_logistic_mixture(), inv_cumd_normal_mixture(), invlogit(), log_der_logistic(), log_likelihood_mixture(), log_likelihood_mixture_02(), logistic(), logistic3(), logisticK(), make_preliminary_hist(), function_minimizer::mcmc_routine(), mfexp(), monomolecular(), mvbvu_(), mvphi_(), ndfboundp(), negbinomial_density(), new_probing_bounded_multivariate_normal(), new_probing_bounded_multivariate_normal_mcmc(), normal_tail_right(), function_minimizer::normalize_posterior_distribution(), normalized_gauss_hermite(), old_cumd_norm(), old_inv_cumd_beta_stable(), pbeta(), pow(), tiny_ad::pow(), probing_bounded_multivariate_normal(), probing_bounded_multivariate_normal_mcmc(), randpoisson(), Ricker(), rmvlogistic(), robust_regression(), function_minimizer::rwm_mcmc_routine(), sgamma(), function_minimizer::shmc_mcmc_routine(), and theta_logistic().
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
Returns d3_array results with computed log from elements in arr3.
arr3 | d3_array |
Definition at line 13 of file d3arr2a.cpp.
Referenced by _dtweedie(), AD_pow_112(), AD_pow_12(), AD_pow_122(), AD_pow_2(), AD_pow_22(), AD_pow_222(), function_minimizer::adapt_eps(), bessk0(), bessk1(), bessy0(), bessy1(), betai(), bounded_multivariate_normal(), bounded_multivariate_normal_mcmc(), bounded_multivariate_uniform(), bounded_multivariate_uniform_mcmc(), bounded_robust_multivariate_normal(), boundp(), boundpin(), 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(), dbeta(), dbinom(), density_negbinomial(), DF_cdvpow(), DF_dvdvpow(), df_ln_det_choleski(), dgamma(), dinvgamma(), dlnorm(), dmultinom(), dmvlogistic(), dnbinom(), dnorm(), function_minimizer::do_gauss_hermite_integration(), function_minimizer::do_gauss_hermite_integration_multi(), dpois(), dstudent_t(), dunif(), dzinbinom(), expdev(), expm(), fcomp1(), gamma_density(), gammln(), gammlnguts(), gasdev(), gcf(), laplace_approximation_calculator::generate_antithetical_rvs(), get_bounded_cauchy(), get_bounded_mixture(), get_bounded_normal(), get_bounded_normal_virtual(), laplace_approximation_calculator::get_gradient_for_hessian_calcs(), function_minimizer::get_hybrid_monte_carlo_value(), get_initial_u(), get_ln_det(), gser(), function_minimizer::hybrid_mcmc_routine(), inv(), inv_cumd_exp(), inv_cumd_exponential(), inv_cumd_gamma(), inv_cumd_logistic(), inv_cumd_mixture(), inv_cumd_mixture_02(), inv_cumd_norm_inner(), inv_cumd_norm_ln(), inv_cumd_norm_logistic(), invLogitProp(), function_minimizer::likeprof_routine(), ln_det(), ln_det_choleski(), ln_det_choleski_error(), ln_normal_tail_right(), log(), log_density_cauchy(), log_density_negbinomial(), log_density_poisson(), log_der_logistic(), log_gamma_density(), log_likelihood_mixture(), log_likelihood_mixture_02(), log_negbinomial_density(), lower_triangular_ln_det(), function_minimizer::mcmc_routine(), multifan(), multivariate_mixture(), negbinomial_density(), new_probing_bounded_multivariate_normal(), new_probing_bounded_multivariate_normal_mcmc(), nllBeta(), nllBinomial(), nllDirichlet(), nllGamma(), nllInverseGamma(), nllLognormal(), nllLognormal2(), nllMultiNomial(), nllNegativeBinomial(), nllNormal(), nllNormal2(), nllPoisson(), normalize_p(), function_minimizer::nuts_mcmc_routine(), old_inv_cumd_beta_stable(), pbeta(), pow(), tiny_ad::pow(), probing_bounded_multivariate_normal(), probing_bounded_multivariate_normal_mcmc(), randn(), randpoisson(), regression(), rgamma(), qfclib::rgamma(), rmvlogistic(), robust_regression(), function_minimizer::rwm_mcmc_routine(), function_minimizer::sd_routine(), funnel_init_df1b2variable::set_value(), random_effects_bounded_vector_info::set_value(), re_df1b2_init_bounded_vector::set_value(), set_value(), sgamma(), function_minimizer::shmc_mcmc_routine(), and solve().
double norm | ( | const d3_array & | a | ) |
Return computed norm value of a.
a | d3_array |
Definition at line 190 of file d3arr2a.cpp.
Referenced by do_interpolate(), laplace_approximation_calculator::do_newton_raphson_state_space(), fcomp1(), fmmt1::fmin2(), laplace_approximation_calculator::generate_antithetical_rvs(), function_minimizer::get_particular_grad(), function_minimizer::hess_inv(), function_minimizer::hess_routine_and_constraint(), function_minimizer::likeprof_routine(), laplace_approximation_calculator::lincg(), laplace_approximation_calculator::local_minimization_routine(), mylinmin(), orthpoly2(), function_minimizer::projected_hess_determinant(), read_hessian_matrix_and_scale1(), function_minimizer::sd_routine(), seldif_basis(), safe_choleski_solver::solve(), std_dev(), laplace_approximation_calculator::test_trust_region_method(), update1(), and var().
double norm2 | ( | const d3_array & | a | ) |
Return sum of squared elements in a.
a | d3_array |
Definition at line 167 of file d3arr2a.cpp.
Referenced by function_minimizer::build_tree(), 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(), choleski_decomp_trust_bound(), laplace_approximation_calculator::default_calculations(), laplace_approximation_calculator::default_calculations_check_derivatives(), dlnorm(), dmvlogistic(), dnorm(), fcomp1(), function_minimizer::find_reasonable_stepsize(), fmmt1::fmin(), function_minimizer::hess_routine_and_constraint(), function_minimizer::hybrid_mcmc_routine(), laplace_approximation_calculator::lincg(), multifan(), neff(), nllLognormal(), nllLognormal2(), nllNormal(), nllNormal2(), norm(), norm2(), function_minimizer::nuts_mcmc_routine(), orthpoly(), orthpoly_constant_begin(), orthpoly_constant_begin_end(), regression(), function_minimizer::shmc_mcmc_routine(), and sumsq().
Returns d3_array results of multiplying elements in a with value a(i, j, k) * value.
a | d3_array |
Definition at line 264 of file d3arr2a.cpp.
Returns d3_array results of multiplying value by elements in a value * a(i, j, k).
a | d3_array |
Definition at line 280 of file d3arr2a.cpp.
Returns d3_array results with computed elements addition of a(i, j, k) + b(i, j, k).
a and b should be allocated and have the same dimensions. All elements in b should not be zero.
Definition at line 132 of file d3arr2a.cpp.
Returns d3_array results with adding elements in a to value value + a(i, j, k).
a | d3_array |
Definition at line 200 of file d3arr2a.cpp.
Returns d3_array results with subtracting elements in a to value a(i, j, k) + value.
a | d3_array |
Definition at line 232 of file d3arr2a.cpp.
Returns d3_array results with computed elements addition of a(i, j, k) + b(i, j, k).
a and b should be allocated and have the same dimensions. All elements in b should not be zero.
Definition at line 152 of file d3arr2a.cpp.
Returns d3_array results with subtracting elements in a to value value - a(i, j, k).
a | d3_array |
Definition at line 216 of file d3arr2a.cpp.
Returns d3_array results with subtracting elements in a to value a(i, j, k) - value.
a | d3_array |
Definition at line 248 of file d3arr2a.cpp.
double sumsq | ( | const d3_array & | a | ) |
Definition at line 181 of file d3arr2a.cpp.
Returns d3_array results with computed tan from elements in arr3.
arr3 | d3_array |
Definition at line 73 of file d3arr2a.cpp.
Referenced by AD_df1_tan(), AD_df2_tan(), AD_df3_tan(), dftinv(), param_init_bounded_vector::get_jacobian(), inv_cumd_cauchy(), randpoisson(), set_value_inv_mc(), tan(), and tan_address().
Generated on Wed Sep 7 2022 00:01:30 for ADMB Documentation by 1.8.5 |