File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
# # Below are two functions that are used to create a special object that stores
2
2
# # a numeric matrix and caches its inversion
3
3
4
- # # The first function, makeCacheMatrix creates a special "vector "
4
+ # # The first function, makeCacheMatrix creates a special "matrix "
5
5
# # which is really a list containing a function to
6
6
7
7
# # 1. set the value of the matrix
@@ -23,7 +23,7 @@ makeCacheMatrix <- function(x = matrix())
23
23
list (set = set , get = get , setinv = setinv , getinv = getinv )
24
24
}
25
25
26
- # # The following function calculates the inversion of the special "vector "
26
+ # # The following function calculates the inversion of the special "matrix "
27
27
# # created with the makeCacheMatrix function. It first checks if the inversion
28
28
# # has already been calculated. If so, it gets the inversion from the cache and
29
29
# # skips the computation. Otherwise, it calculates the inversion of the data
You can’t perform that action at this time.
0 commit comments