File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 2
2
# # Put comments here that give an overall description of what your
3
3
# # functions do
4
4
5
- # # Write a short comment describing this function
5
+ # #This is a function that takes a Matrix() as an argument
6
+ # #The function will return a list
7
+ # #The List will contain get, set, getInverse, setInverse functions
6
8
7
9
makeCacheMatrix <- function (x = matrix ()) {
8
10
inver <- NULL
@@ -20,7 +22,10 @@ makeCacheMatrix <- function(x = matrix()) {
20
22
}
21
23
22
24
23
- # # Write a short comment describing this function
25
+ # #The function takes a list resulting from the makeCacheMatrix() function
26
+ # #The function will return the inverse of 'x'
27
+ # #It will solve() the matrix if the value is not cached
28
+ # #It will return the cache value if it is present
24
29
25
30
cacheSolve <- function (x , ... ) {
26
31
# # Return a matrix that is the inverse of 'x'
You can’t perform that action at this time.
0 commit comments