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

(Last Changed on August 02, 2022 for git-revision a381f2677c52c9ad6665c46ad3274808fdd78006.)

Description not yet available. More...

#include "fvar.hpp"

Go to the source code of this file.

Functions

double avg (double x, double y)
 Average of two numbers; constant objects. More...
 
double cube (const double m)
 Cube of a number; constant objects. More...
 
double fourth (const double m)
 Fourth power of a number; constant objects. More...
 
int heapcheck (void)
 Does nothing. More...
 
int max (int a, int b)
 Largest of two integer; constant objects. More...
 
void myheapcheck (char *msg)
 Does nothing. More...
 
double operator* (const dvector &t1, const dvector &t2)
 Compute the dot product of two vectors. More...
 
dvector operator* (const double x, const dvector &t1)
 Multiply a dvector by a constant. More...
 
dvector operator+ (const dvector &t1, const dvector &t2)
 Add two dvectors. More...
 
dvector operator- (const dvector &t1, const dvector &t2)
 Subtract two dvectors. More...
 

Detailed Description

Description not yet available.

Definition in file dvector.cpp.

Function Documentation

int heapcheck ( void  )

Does nothing.

Referenced by operator*().

void myheapcheck ( char *  msg)

Does nothing.

This function is only defined for older Borland compilers. The user could provide an implementation that might be useful in certain circumstances.

Parameters
msgPointer to character array.

Definition at line 669 of file dvector.cpp.

Referenced by dvar_vector::allocate(), sdmatrix::allocate(), d3_array::allocate(), dvar3_array::allocate(), dmatrix::dmatrix(), dmatrix::fill(), dvector::operator=(), independent_variables::operator=(), dvector::~dvector(), and sdmatrix::~sdmatrix().