Skip to content

Commit 3b604e1

Browse files
author
olarina
committed
cachematrix.R update
1 parent 1609204 commit 3b604e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cachematrix.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## Below are two functions that are used to create a special object that stores
22
## a numeric matrix and caches its inversion
33

4-
## The first function, makeCacheMatrix creates a special "vector"
4+
## The first function, makeCacheMatrix creates a special "matrix"
55
## which is really a list containing a function to
66

77
## 1. set the value of the matrix
@@ -23,7 +23,7 @@ makeCacheMatrix <- function(x = matrix())
2323
list(set = set, get = get, setinv = setinv, getinv = getinv)
2424
}
2525

26-
## The following function calculates the inversion of the special "vector"
26+
## The following function calculates the inversion of the special "matrix"
2727
## created with the makeCacheMatrix function. It first checks if the inversion
2828
## has already been calculated. If so, it gets the inversion from the cache and
2929
## skips the computation. Otherwise, it calculates the inversion of the data

0 commit comments

Comments
 (0)