File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 1
- # # This program creates a special data structures for square invertable matrices
2
- # # so that the inverse of a matrix can be cache to speed up its retreival
1
+ # --------------------------------------------------------------------------------------------
2
+ #
3
+ # File: cachematrix.R
4
+ # By: Fredrick Stakem
5
+ # Date: 7.23.14
6
+ #
7
+ # Purpose: This program creates special matrix data structures for square invertable
8
+ # matrices so that the inverse of a matrix can be cache to speed up its
9
+ # retreival.
10
+ #
11
+ # --------------------------------------------------------------------------------------------
12
+
3
13
4
14
# # This function stores a matrix and its inverse
5
15
makeCacheMatrix <- function (x = matrix ())
@@ -32,7 +42,6 @@ makeCacheMatrix <- function(x = matrix())
32
42
get_inverse = get_inverse , set_inverse = set_inverse )
33
43
}
34
44
35
-
36
45
# # This function retreives the inverse of a matrix either from its cache or it calculates it and stores it in the object
37
46
cacheSolve <- function (x , ... )
38
47
{
You can’t perform that action at this time.
0 commit comments