Posted by: Petar Luketic
makeCacheMatrix creates a special matrix object, and then cacheSolve calculates the inverse of the matrix. If the matrix inverse has already been calculated, it will instead find it in the cache and return it, and not calculate it again.