Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 514c8ea commit 0bcbf89Copy full SHA for 0bcbf89
cachematrix.R
@@ -1,5 +1,8 @@
1
-## Put comments here that give an overall description of what your
2
-## functions do
+# Calculating the inverse of a matrix can be computationally
+# costly. The function makeCacheMatrix is a special data structure
3
+# which stores a matrix x and its inverse. cacheSolve calculates the
4
+# inverse of the matrix stored in this data structure, but returns the
5
+# value in the cache if the inverse has already been calculated.
6
7
makeCacheMatrix <- function(x = matrix()) {
8
# Creates a data structure which caches the inverse of the matrix
0 commit comments