Revision 643 trunk/src/linad99/dmat29.cpp
dmat29.cpp (revision 643)  

11  11 
#include "fvar.hpp" 
12  12  
13  13 
/** 
14 
* Description not yet available.


15 
* \param


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


15 
\param matrix M


16  16 
*/ 
17  17 
dvector VEC(const dmatrix& _m) 
18  18 
{ 
...  ...  
38  38 
} 
39  39  
40  40 
/** 
41 
* Description not yet available. 

42 
* \param 

43 
*/ 

41 
The MAT operator is the inverse of the VEC operator. 

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

43 
\param vector v 

44 
\param integer n, the number of rows in the resulting matrix 

45 
\param integer m, the umber of columns in the resulting matrix */ 

44  46 
dmatrix MAT(const dvector& v, int n, int m) 
45  47 
{ 
46  48 
dmatrix tmp(1,n,1,m); 
Also available in: Unified diff