rdpeng/ProgrammingAssignment2 — pull request #5 by pratheeshnp (2014-04-12 10:07:23+00:00)
Title: Update cachematrix.R

makeCacheMatrix<-function(range,nrow)##enter range of values and no of rows
{
mat<-matrix(range,nrow,byrow=TRUE)
matrix<-mat
print("matrix")
print(matrix)##printing original matrix
inversematrix<-solve(matrix)
#return(matrix)
print("Inverse of Matrix")
return(inversematrix)##printing inverse of matrix
}
makeCacheMatrix(1:4,2)