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 ad84df1 commit 20c2994Copy full SHA for 20c2994
cachematrix.R
@@ -7,18 +7,20 @@
7
8
makeCacheMatrix <- function(x = matrix()) {
9
10
- #Description: This function creates a special "matrix" object
+ #Description/ Output: This function creates a special "matrix" object
11
#that can cache its inverse
12
13
#Input: x as a square, invertible matrix (Input from cacheSolve)
14
#1. set the value of the matrix
15
#2. get the value of the matrix
16
#3. set the value of the inverse
17
#4. get the value of the inverse
18
- #Output:
19
+
20
+ #Initiatve variable
21
inverse_i <- NULL
22
23
+ #1-4
24
set <- function(y) {
25
x <<- y
26
inverse_i <<- NULL
0 commit comments