File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 1
- # # Put comments here that give an overall description of what your
2
- # # functions do
1
+ # # These two functions implement a cached/memorized/memoized
2
+ # # calculation of the inverse of a matrix. The matrix has to be
3
+ # # created with makeCacheMatrix (e.g. x <-
4
+ # # makeCacheMatrix(makeCacheMatrix(matrix(rnorm(9),c(3,3))))).
5
+ # # cacheSolve(x) then calculates the inverse of this matrix and saves
6
+ # # the calculated value, so it can be retrieved the next time without
7
+ # # calculation. If we have already called cacheSolve(x), and the
8
+ # # matrix has not changed in the meantime, a memorized/cached version
9
+ # # of the inverse will be returned.
3
10
4
11
# # This function returns a list of functions used to manage the matrix
5
12
# # content and the memorized inverse of the matrix
You can’t perform that action at this time.
0 commit comments