Skip to content

Commit aec67d8

Browse files
author
Sebastian Stabinger
committed
Adds global comment of both functions
1 parent 00c6482 commit aec67d8

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

cachematrix.R

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
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.
310

411
## This function returns a list of functions used to manage the matrix
512
## content and the memorized inverse of the matrix

0 commit comments

Comments
 (0)