Skip to content

Commit 0ae10d4

Browse files
committed
added comment
1 parent baaa9c6 commit 0ae10d4

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

cachematrix.R

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
## Put comments here that give an overall description of what your
2-
## functions do
3-
4-
## Write a short comment describing this function
1+
## Handles inversion of a matrix, where the matrix inversion must be
2+
## performed only once, then is cached.
53

4+
## Make a matrix where the inverse of the matrix is cached
5+
## Parameters:
6+
## x: any matrix. Assuming here that it is invertable.
7+
## Return: a matrix with methods for caching the inverse of the matrix.
68
makeCacheMatrix <- function(x = matrix()) {
79
inverse <- NULL
810
set <- function(y) {

0 commit comments

Comments
 (0)