Skip to content

Repository for Programming Assignment 2 for R Programming on Coursera

Notifications You must be signed in to change notification settings

amberv0/ProgrammingAssignment2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

###usage example:

x <- makeCacheMatrix()
cacheSolve(x, m = matrix(1:4, 2, 2)) #will calculate inverse
cacheSolve(x, m = matrix(1:4, 2, 2)) #run once again, will show a message about cache usage
cacheSolve(x, m = matrix(2:5, 2, 2)) #changing matrix will cause recalculation
cacheSolve(x, m = matrix(2:5, 2, 2)) #but run again, no recalculation

another way to do this:

x <- makeCacheMatrix(matrix(1:4, 2, 2))
cacheSolve(x) #will calculate inverse
cacheSolve(x) #run once again, will show a message about cache usage

About

Repository for Programming Assignment 2 for R Programming on Coursera

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%