search for: rowpointers

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

Did you mean: rompointer
2013 Feb 05
1
impossible to invert a spam-object, but possible when it's a matrix-object
....integer(c(1,2,3,4,7,1,2,3,5,8,10,1,2,3,6,9,11,1, 4,5,6,7,10,2,4,5,6,8,3,4,5,6,9,12,1,4, 7,8,9,11,2,5,7,8,9,12,3,6,7,8,9,2,4,10,3,7,6,8)) di <- as.integer(c(12,12)) A <- new("spam", entries=ent, colindices=cc, rowpointers=rr, dimension=di) ## calculate the determinant det(A) ## computes the inverse solve(A) ## transform A in a plain matrix A1 <- matrix(c(A), di) ## calculate the determinant det(A1) ## computes the inverse solve(A1) > version _ platform...