Skip to content

Commit 53e632c

Browse files
committed
commit with comments for the functions
commit with comments for the functions
1 parent 7f657dd commit 53e632c

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

cachematrix.R

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
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+
## This functions belong to the Programming assignment 2,
2+
## from the course R Programming of coursera
3+
##
4+
## The functions calculate the inverse of a Matrix (which can be a costly operation),
5+
## cache it and load it if requested later
6+
##
57

8+
## The makeCacheMatrix function creates a special "matrix" object
9+
## and defines the object functions to aid the cache/load functionality
610
makeCacheMatrix <- function(x = matrix()) {
711

812
}
913

1014

11-
## Write a short comment describing this function
12-
15+
## The function cacheSolve calculates and caches the inverse of the "matrix" object
16+
## if it wasn't yet calculated or loads it from cache otherwise.
1317
cacheSolve <- function(x, ...) {
1418
## Return a matrix that is the inverse of 'x'
1519
}

0 commit comments

Comments
 (0)