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

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

#include <fvar.hpp>

Go to the source code of this file.

Functions

ivector colsum (const imatrix &matrix)
 Returns integer vector colsums where each element is the sum of the jth column in matrix. More...
 
ivector rowsum (const imatrix &matrix)
 Returns integer vector rowsums where each element is the sum of the ith row in matrix. More...
 

Function Documentation

ivector colsum ( const imatrix matrix)

Returns integer vector colsums where each element is the sum of the jth column in matrix.

Parameters
matriximatrix

Definition at line 14 of file imat8.cpp.

ivector rowsum ( const imatrix matrix)

Returns integer vector rowsums where each element is the sum of the ith row in matrix.

Parameters
matriximatrix

Definition at line 46 of file imat8.cpp.