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

(Last Changed on June 09, 2022 for git-revision e3646db23357d75484e61f5814f48ecfb76f9ba1.)

#include "fvar.hpp"

Go to the source code of this file.

Classes

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

Functions

dvector cube (const dvector &vec)
 Returns dvector with cube value of each element in vec. More...
 
dmatrix cube (const dmatrix &mat)
 Returns dmatrix with cube value of each element in mat. More...
 
bool ivector_check (const ivector &vector, int indexmin, int indexmax)
 Return true if vector dimensions match with indexmin and indexmax, otherwise false. More...
 
double max (const dmatrix &m)
 Returns the minimum value of matrix m. More...
 
double min (const dmatrix &m)
 Returns the minimum value of matrix m. More...
 

Function Documentation

dvector cube ( const dvector vec)

Returns dvector with cube value of each element in vec.

Note: vec is allocated vector.

Parameters
vecscalar vector

Definition at line 336 of file dmat.cpp.

dmatrix cube ( const dmatrix mat)

Returns dmatrix with cube value of each element in mat.

Note: mat is allocated matrix.

Parameters
matscalar matrix.

Definition at line 352 of file dmat.cpp.

bool ivector_check ( const ivector vector,
int  indexmin,
int  indexmax 
)

Return true if vector dimensions match with indexmin and indexmax, otherwise false.

Parameters
vectorivector
indexmin
indexmax

Definition at line 171 of file dmat.cpp.

double max ( const dmatrix m)

Returns the minimum value of matrix m.

Note: m is an allocated matrix.

Parameters
mscalar matrix

Definition at line 133 of file dmat.cpp.

double min ( const dmatrix m)

Returns the minimum value of matrix m.

Note: m is an allocated matrix.

Parameters
mscalar matrix

Definition at line 117 of file dmat.cpp.