Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac151dc commit 5033498Copy full SHA for 5033498
cachematrix.R
@@ -50,6 +50,9 @@ cacheSolve(cacheMatrix2) # Should display "calculating the inverse"
50
cacheSolve(cacheMatrix2) # Should display "getting data from cache"
51
cacheSolve(cacheMatrix) # Should display "getting data from cache"
52
53
+cacheMatrix$set(matrix(rnorm(16),4))
54
+cacheSolve(cacheMatrix) # Should display "calculating the inverse"
55
+
56
myBigMatrix <- matrix(rnorm(5000*5000), 5000)
57
cacheBigMatrix <- makeCacheMatrix(myBigMatrix)
58
result <- cacheSolve(cacheBigMatrix) # Should display "calculating the inverse" and take a long time
0 commit comments