SCM

SCM Repository

[matrix] Diff of /pkg/src/dsTMatrix.c
ViewVC logotype

Diff of /pkg/src/dsTMatrix.c

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

revision 588, Wed Mar 2 18:19:51 2005 UTC revision 589, Wed Mar 2 19:53:53 2005 UTC
# Line 9  Line 9 
9      int *dims = INTEGER(GET_SLOT(x, Matrix_DimSym));      int *dims = INTEGER(GET_SLOT(x, Matrix_DimSym));
10    
11      if (dims[0] != dims[1])      if (dims[0] != dims[1])
12          return mkString(_("dsTMatrix must have ncol == nrow"));          return mkString(_("dsTMatrix must be square"));
13      if (length(xiP) != length(xjP) || length(xjP) != length(xxP))      if (length(xiP) != length(xjP) || length(xjP) != length(xxP))
14          return mkString(_("slots i, j and x must have the same length"));          return mkString(_("slots i, j and x must have the same length"));
15      return ScalarLogical(1);      return ScalarLogical(1);

Legend:
Removed from v.588  
changed lines
  Added in v.589

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