Skip to content

Commit eb40270

Browse files
Create R file
1 parent 7f657dd commit eb40270

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

R file

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
makeCacheMatrix <- function(x = matrix()) {
2+
inv <- NULL
3+
set <- function(y) {
4+
x <<- y
5+
inv <<- NULL
6+
}
7+
get <- function() x
8+
setInverse <- function(inverse) inv <<- inverse
9+
getInverse <- function() inv
10+
list(set = set,
11+
get = get,
12+
setInverse = setInverse,
13+
getInverse = getInverse)
14+
}

0 commit comments

Comments
 (0)