Skip to content

Commit 3d5c2be

Browse files
author
Craig Ingram
committed
additional comments
1 parent df0f48d commit 3d5c2be

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cachematrix.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
##[1,] 0.4356307 0.13003901
1515
##[2,] 0.1950585 -0.09102731
1616
##
17+
## the same caching would work for large matrices as well. i.e. try setting foo to
18+
##> foo <- matrix(data = rnorm(100), nrow = 10, ncol = 10)
1719

1820
## makeCacheMatrix creates a special “matrix” object that can cache its inverse.
1921
makeCacheMatrix <- function(x = matrix()) {

0 commit comments

Comments
 (0)