File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
# # Put comments here that give an overall description of what your
2
2
# # functions do
3
3
# # For costly computation sometimes there's benefit caching the functions.
4
- # # The purpose of the functions below is to cache the inverse of a matrix rathen than compute it repeatedly.
4
+ # # The purpose of the functions below is to cache the inverse of a matrix rather than compute it repeatedly.
5
5
6
6
# # Write a short comment describing this function
7
7
# # Creates a special "matrix" object that can cache its inverse
@@ -21,9 +21,9 @@ makeCacheMatrix <- function(x = matrix()) {
21
21
22
22
23
23
# # Write a short comment describing this function
24
- # #Computes the inverse of the special "matrix" returned by makeCacheMatrix above.
25
- # #If the inverse has already been calculated (and the matrix has not changed),
26
- # #then the cachesolve should retrieve the inverse from the cache
24
+ # # Computes the inverse of the special "matrix" returned by makeCacheMatrix above.
25
+ # # If the inverse has already been calculated (and the matrix has not changed),
26
+ # # then the cachesolve should retrieve the inverse from the cache
27
27
cacheSolve <- function (x , ... ) {
28
28
# # Return a matrix that is the inverse of 'x'
29
29
m <- x $ getinverse()
You can’t perform that action at this time.
0 commit comments