search for: checkclass

Displaying 1 result from an estimated 1 matches for "checkclass".

Did you mean: check_class
2002 Mar 05
1
Matrix identification bug (PR#1361)
...dpotrf and dpotri returns 9s for PIII Xeon), I realized that R may treat the matrix as a general matrix rather than symmetric except the abnormal case. To confirm this, I modified the R_LapackPP.cc in Matrix package and it turned out that is.MMatrix() failed to return true. Hence if (checkClass(classes, "Hermitian")) return new LaSymmMatDouble(x); is not executed in static LaMatDouble* asLaMatrix(SEXP x). Instead if (isMatrix(x)) { return new LaGenMatDouble(x); } is used. After replaced return new LaGenMatDouble(x); with return...