SCM

SCM Repository

[matrix] Diff of /pkg/man/dsyMatrix-class.Rd
ViewVC logotype

Diff of /pkg/man/dsyMatrix-class.Rd

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

revision 656, Wed Mar 16 16:55:32 2005 UTC revision 657, Wed Mar 16 16:57:52 2005 UTC
# Line 96  Line 96 
96    
97  ## An example where chol() can't work  ## An example where chol() can't work
98  (sy3 <- new("dsyMatrix", Dim = as.integer(c(2,2)), x = c(14, -1, 2, -7)))  (sy3 <- new("dsyMatrix", Dim = as.integer(c(2,2)), x = c(14, -1, 2, -7)))
99    
100    ## gives an error in R <= 2.0.0 :
101    \dontrun{
102  validObject(as(sy3, "dpoMatrix"), test=TRUE) # >> is not pos.def.  validObject(as(sy3, "dpoMatrix"), test=TRUE) # >> is not pos.def.
103    }
104  try(chol(sy3)) ## Error: not pos.def  try(chol(sy3)) ## Error: not pos.def
105  }  }
106  \keyword{classes}  \keyword{classes}

Legend:
Removed from v.656  
changed lines
  Added in v.657

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