File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 1
- # # Put comments here that give an overall description of what your
2
- # # functions do
3
-
4
1
# # This function creates a special "matrix" object
5
2
# # that can cache its inverse.
6
3
makeCacheMatrix <- function (x = matrix ()) {
@@ -20,9 +17,9 @@ makeCacheMatrix <- function(x = matrix()) {
20
17
21
18
22
19
# # This function computes the inverse of the special
23
- # #"matrix" returned by ` makeCacheMatrix` above . If the inverse has
24
- # #already been calculated (and the matrix has not changed), then
25
- # #this function` retrieves the inverse from the cache.
20
+ # #"matrix" returned by the ' makeCacheMatrix' function . If the inverse has
21
+ # # already been calculated then this function retrieves the inverse from the cache.
22
+ # # else the functions computes the inverse and saves/set it in the cache
26
23
cacheSolve <- function (x , ... ) {
27
24
# # Return a matrix that is the inverse of 'x'
28
25
inv <- x $ getinverse()
You can’t perform that action at this time.
0 commit comments