Skip to content

Commit 861e20b

Browse files
committed
match existing comment style.
1 parent 6131f8b commit 861e20b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

cachematrix.R

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# implements caching matrix inversion function. sample usage:
2-
# m <- matrix(c(1,2,3,4), nrow=2, ncol=2)
3-
# a <- makeCacheMatrix(m)
4-
# a$get()
5-
# cacheSolve(a)
6-
# cacheSolve(a) # retrieves from cache
1+
## implements caching matrix inversion function. sample usage:
2+
## m <- matrix(c(1,2,3,4), nrow=2, ncol=2)
3+
## a <- makeCacheMatrix(m)
4+
## a$get()
5+
## cacheSolve(a)
6+
## cacheSolve(a) # retrieves from cache
77

88

99
## given a matrix x, return a cMatrix, really a list of functions to

0 commit comments

Comments
 (0)