Created
July 22, 2014 15:22
-
-
Save thangarajan8/4fcfa83b1fad6c49eb74 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
makeCacheMatrix <- function(x = numeric()) { | |
s <- NULL | |
set <- function(y) { | |
x <<- y | |
s <<- NULL | |
} | |
get <- function() x | |
setsolve <- function(solve) s <<- solve | |
getsolve <- function() s | |
list(set = set, get = get, | |
setsolve = setsolve, | |
getsolve = getsolve) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment