ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
dvect6.cpp File Reference

(Last Changed on June 29, 2022 for git-revision 90ff3225c384e19fdeaf789b3d0cd5d2ced40eb0.)

#include "fvar.hpp"
#include <cmath>

Go to the source code of this file.

Functions

dvector acos (const dvector &vec)
 Returns dvector with principal value of the arc cosine of vec, expressed in radians. More...
 
dvector asin (const dvector &vec)
 Returns dvector with principal value of the arc sine of vec, expressed in radians. More...
 
dvector atan (const dvector &vec)
 Returns dvector with principal value of the arc tangent of vec, expressed in radians. More...
 
dvector cos (const dvector &vec)
 Returns dvector with cosine for each value of vec. More...
 
dvector cosh (const dvector &vec)
 Returns dvector with hyperbolic cosine for each value of vec. More...
 
dvector log10 (const dvector &vec)
 Returns dvector with the common (base-10) logarithm of vec. More...
 
dvector pow (const dvector &bases, const double exponent)
 Returns a dvector with base raised to the power exponent for each element in exponents. More...
 
dvector pow (const dvector &bases, int exponent)
 Returns a dvector with base raised to the power exponent for each element in exponents. More...
 
dvector pow (const dvector &bases, const dvector &exponents)
 Returns a dvector with each element from bases is raised to the power exponent for each element in exponents. More...
 
dvector pow (const double base, const dvector &exponents)
 Returns a dvector with base raised to the power exponent for each element in exponents. More...
 
void shape_check (const dvector &v1, const dvector &v2, const char *function_name)
 Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California. More...
 
dvector sin (const dvector &vec)
 Returns dvector with sine for each value of vec. More...
 
dvector sinh (const dvector &vec)
 Returns dvector with hyperbolic sine for each value of vec. More...
 
dvector sqr (const dvector &vec)
 Returns dvector with the square of each element in vec. More...
 
dvector sqrt (const dvector &vec)
 Returns dvector with the square of each element in vec. More...
 
dvector tan (const dvector &vec)
 Returns dvector with tangent for each value of vec. More...
 
dvector tanh (const dvector &vec)
 Returns dvector with hyperbolic tangent for each value of vec. More...
 

Function Documentation

dvector acos ( const dvector vec)

Returns dvector with principal value of the arc cosine of vec, expressed in radians.

Parameters
vecscalar vector

Definition at line 244 of file dvect6.cpp.

Referenced by acos().

dvector asin ( const dvector vec)

Returns dvector with principal value of the arc sine of vec, expressed in radians.

Parameters
vecscalar vector

Definition at line 229 of file dvect6.cpp.

Referenced by asin(), boundpin(), cmvbvu_(), and mvbvu_().

dvector atan ( const dvector vec)

Returns dvector with principal value of the arc tangent of vec, expressed in radians.

Parameters
vecscalar vector

Definition at line 259 of file dvect6.cpp.

dvector cos ( const dvector vec)

Returns dvector with cosine for each value of vec.

Parameters
vecarray of floating values

Definition at line 42 of file dvect6.cpp.

dvector cosh ( const dvector vec)

Returns dvector with hyperbolic cosine for each value of vec.

Parameters
vecarray of floating values

Definition at line 105 of file dvect6.cpp.

Referenced by cosh(), tiny_ad::D_tanh(), and sinh().

dvector log10 ( const dvector vec)

Returns dvector with the common (base-10) logarithm of vec.

Parameters
vecscalar vector

Definition at line 273 of file dvect6.cpp.

Referenced by log10(), function_minimizer::print_mcmc_progress(), and str().

dvector pow ( const dvector bases,
const double  exponent 
)

Returns a dvector with base raised to the power exponent for each element in exponents.

Parameters
basearray of floating values
exponenta floating value

Definition at line 149 of file dvect6.cpp.

dvector pow ( const dvector bases,
int  exponent 
)

Returns a dvector with base raised to the power exponent for each element in exponents.

Parameters
basearray of floating values
exponenta integer

Definition at line 172 of file dvect6.cpp.

dvector pow ( const dvector bases,
const dvector exponents 
)

Returns a dvector with each element from bases is raised to the power exponent for each element in exponents.

Parameters
basearray of floating values
exponentsarray of floating values

Definition at line 195 of file dvect6.cpp.

dvector pow ( const double  base,
const dvector exponents 
)

Returns a dvector with base raised to the power exponent for each element in exponents.

Parameters
basedouble
exponentsarray of floating points

Definition at line 214 of file dvect6.cpp.

void shape_check ( const dvector a,
const dvector b,
const char *  message 
)

Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.

Exits if the dimensions of a and b dvector are not equal.

Parameters
advector
bdvector
messageto include with output

Definition at line 26 of file dvect18.cpp.

dvector sin ( const dvector vec)

Returns dvector with sine for each value of vec.

Parameters
vecarray of floating values

Definition at line 21 of file dvect6.cpp.

dvector sinh ( const dvector vec)

Returns dvector with hyperbolic sine for each value of vec.

Parameters
vecarray of floating values

Definition at line 84 of file dvect6.cpp.

Referenced by cosh(), and sinh().

dvector sqr ( const dvector vec)

Returns dvector with the square of each element in vec.

Parameters
vecscalar vector

Definition at line 301 of file dvect6.cpp.

dvector sqrt ( const dvector vec)

Returns dvector with the square of each element in vec.

Parameters
vecscalar vector

Definition at line 287 of file dvect6.cpp.

dvector tan ( const dvector vec)

Returns dvector with tangent for each value of vec.

Parameters
vecarray of floating values

Definition at line 63 of file dvect6.cpp.

dvector tanh ( const dvector vec)

Returns dvector with hyperbolic tangent for each value of vec.

Parameters
vecarray of floating values

Definition at line 126 of file dvect6.cpp.

Referenced by tanh().