SCM

SCM Repository

[matrix] Diff of /pkg/Matrix/src/Mutils.h
ViewVC logotype

Diff of /pkg/Matrix/src/Mutils.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 678, Wed Mar 30 14:27:40 2005 UTC revision 679, Wed Mar 30 14:42:36 2005 UTC
# Line 118  Line 118 
118  }  }
119    
120  /**  /**
121   * Expand the column pointers in the array mp into a full set of column indices   * Expand compressed pointers in the array mp into a full set of indices
122   * in the array mj.   * in the array mj.
123   *   *
124   * @param ncol number of columns   * @param ncol number of columns (or rows)
125   * @param mp column pointer vector of length ncol + 1   * @param mp column pointer vector of length ncol + 1
126   * @param mj vector of length mp[ncol] - 1 to hold the result   * @param mj vector of length mp[ncol] to hold the result
127   *   *
128   * @return mj   * @return mj
129   */   */
130  static R_INLINE  static R_INLINE
131  int* expand_column_pointers(int ncol, const int mp[], int mj[])  int* expand_cmprPt(int ncol, const int mp[], int mj[])
132  {  {
133      int j;      int j;
134      for (j = 0; j < ncol; j++) {      for (j = 0; j < ncol; j++) {

Legend:
Removed from v.678  
changed lines
  Added in v.679

root@r-forge.r-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business Powered By FusionForge