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 bc0384a commit 989dba7Copy full SHA for 989dba7
cachematrix.R
@@ -29,18 +29,20 @@
29
##
30
31
32
+##
33
34
## a function wich recieves a matrix and return a list
35
## with followin functions:
36
## get() - returns the original matrix
-## set() - set the matrix
37
+## set(m) - set the matrix, inverse matrix to NULL
38
## setinverse(m) - sets the inversed matrix
39
## getinverse() - return the inversed matrix or NULL
40
makeCacheMatrix <- function(x = matrix()) {
41
42
inverseMatrix <- NULL
43
- set <- function(y) {
- x <<- y
44
+ set <- function(pMatrix) {
45
+ x <<- pMatrix
46
inverseMatrix <<- NULL
47
}
48
0 commit comments