Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bc4d472

Browse files
committed
Improve description of function cacheSolve
1 parent 609bbcb commit bc4d472

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

cachematrix.R

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@ makeCacheMatrix <- function(x = matrix()) {
2828
}
2929

3030

31-
## Returns the inverse of matrix wrapped in the received object, computing it if
32-
## not already in cache. The ... arguments are passed to the `solve` function,
33-
## which is used to compute the inverse.
31+
## Returns the inverse of the matrix that is wrapped inside the received object
32+
## (this object should be the result of `makeCacheMatrix`). If not already in
33+
## cache, the inverse is computed. The ... arguments are passed to the `solve`
34+
## function, which is used to compute the inverse.
3435

3536
cacheSolve <- function(x, ...) {
3637
i <- x$getinverse()

0 commit comments

Comments
 (0)