R Programming/Peer Assessments /Programming Assignment 2

complete caching the inverse of a matrix
############### T E S T #######################
> m <- matrix(c(2,1,-2,-7,4,2,4,-3,1),nrow=3,ncol=3)
> makedM <- makeCacheMatrix(m)
> makedM$get()
[,1] [,2] [,3]
[1,]    2   -7    4
[2,]    1    4   -3
[3,]   -2    2    1
> makedM$getInverse()
NULL
> cacheSolve(makedM)
[,1] [,2] [,3]
[1,]  0.4  0.6  0.2
[2,]  0.2  0.4  0.4
[3,]  0.4  0.4  0.6
> makedM$getInverse()
[,1] [,2] [,3]
[1,]  0.4  0.6  0.2
[2,]  0.2  0.4  0.4
[3,]  0.4  0.4  0.6