Parent Directory | Revision Log | Patch
revision 1.4 by pam-fi, Wed Aug 5 14:06:44 2009 UTC | revision 1.5 by pam-fi, Tue Oct 27 10:26:40 2009 UTC | |
---|---|---|
# | Line 66 public: | Line 66 public: |
66 | * @param nCols The number of columns | * @param nCols The number of columns |
67 | * @param elements The initialization value for the matrix elements. | * @param elements The initialization value for the matrix elements. |
68 | */ | */ |
69 | SimpleMatrix(unsigned int nRows, unsigned int nCols, T elements = T()) : | SimpleMatrix(unsigned int nRows = 0, unsigned int nCols = 0, T elements = T()) : |
70 | _matrix(nRows, std::vector<T>(nCols, elements)) { | _matrix(nRows, std::vector<T>(nCols, elements)) { |
71 | ||
72 | } | } |
|
ViewVC Help | |
Powered by ViewVC 1.1.23 |