ADMB Documentation  11.2.2828
 All Classes Files Functions Variables Typedefs Friends Defines
Functions
dmat29.cpp File Reference

(* $Id: dmat29.cpp 2287 2014-09-04 18:12:38Z johnoel $)

Description not yet available. More...

#include "fvar.hpp"

Go to the source code of this file.

Functions

dmatrix MAT (const dvector &v, int n, int m)
 The MAT operator is the inverse of the VEC operator.
dvector VEC (const dmatrix &_m)
 The VEC operator concatenates the columns of matrix M into a column vector.

Detailed Description

Description not yet available.

Definition in file dmat29.cpp.


Function Documentation

dmatrix MAT ( const dvector v,
int  n,
int  m 
)

The MAT operator is the inverse of the VEC operator.

It takes the elements of vector v and sequentially fills in the columns of an n by m matrix.

Parameters:
vectorv
integern, the number of rows in the resulting matrix
integerm, the umber of columns in the resulting matrix

Definition at line 45 of file dmat29.cpp.

dvector VEC ( const dmatrix _m)

The VEC operator concatenates the columns of matrix M into a column vector.

Parameters:
matrixM

Definition at line 17 of file dmat29.cpp.