forked from rdpeng/ProgrammingAssignment2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcachematrix.txt
More file actions
61 lines (30 loc) · 1001 Bytes
/
cachematrix.txt
File metadata and controls
61 lines (30 loc) · 1001 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Matrix pseudo object that is able to cache the inverse of a matrix
Description:
Matrix pseudo object that is able to cache the inverse of a matrix
Usage:
makeCacheMatrix(x = matrix())
Arguments:
x: A matrix that will be used as source data
Value:
List of methods to call [get, set, getInverse, setInverse]
Validates that matrix object that it is non-null, numeric and
invertible
Description:
Validates that matrix object that it is non-null, numeric and
invertible
Usage:
validate(data)
Arguments:
data: A matrix that is invertible
Value:
logical TRUE (validated) or FALSE (non-valid)
Gets the inverse of a makeCacheMatrix, using cache if possible
Description:
Gets the inverse of a makeCacheMatrix, using cache if possible
Usage:
cacheSolve(x, ...)
Arguments:
x: makeCacheMatrix closure with an invertible matrix in it
...: aditional parameters passed to solve
Value:
Inverse of x