forked from rdpeng/ProgrammingAssignment2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcachematrix.html
More file actions
124 lines (76 loc) · 3.02 KB
/
cachematrix.html
File metadata and controls
124 lines (76 loc) · 3.02 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Matrix pseudo object that is able to cache the inverse of a...</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="R.css" />
</head><body>
<table width="100%" summary="page for makeCacheMatrix"><tr><td>makeCacheMatrix</td><td style="text-align: right;">R Documentation</td></tr></table>
<h2>Matrix pseudo object that is able to cache the inverse of a matrix</h2>
<h3>Description</h3>
<p>Matrix pseudo object that is able to cache the inverse of a matrix
</p>
<h3>Usage</h3>
<pre>
makeCacheMatrix(x = matrix())
</pre>
<h3>Arguments</h3>
<table summary="R argblock">
<tr valign="top"><td><code>x</code></td>
<td>
<p>A matrix that will be used as source data</p>
</td></tr>
</table>
<h3>Value</h3>
<p>List of methods to call [get, set, getInverse, setInverse]
</p>
</body></html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Validates that matrix object that it is non-null, numeric and...</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="R.css" />
</head><body>
<table width="100%" summary="page for validate"><tr><td>validate</td><td style="text-align: right;">R Documentation</td></tr></table>
<h2>Validates that matrix object that it is non-null, numeric and invertible</h2>
<h3>Description</h3>
<p>Validates that matrix object that it is non-null, numeric and invertible
</p>
<h3>Usage</h3>
<pre>
validate(data)
</pre>
<h3>Arguments</h3>
<table summary="R argblock">
<tr valign="top"><td><code>data</code></td>
<td>
<p>A matrix that is invertible</p>
</td></tr>
</table>
<h3>Value</h3>
<p>logical TRUE (validated) or FALSE (non-valid)
</p>
</body></html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Gets the inverse of a makeCacheMatrix, using cache if...</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="R.css" />
</head><body>
<table width="100%" summary="page for cacheSolve"><tr><td>cacheSolve</td><td style="text-align: right;">R Documentation</td></tr></table>
<h2>Gets the inverse of a makeCacheMatrix, using cache if possible</h2>
<h3>Description</h3>
<p>Gets the inverse of a makeCacheMatrix, using cache if possible
</p>
<h3>Usage</h3>
<pre>
cacheSolve(x, ...)
</pre>
<h3>Arguments</h3>
<table summary="R argblock">
<tr valign="top"><td><code>x</code></td>
<td>
<p>makeCacheMatrix closure with an invertible matrix in it</p>
</td></tr>
<tr valign="top"><td><code>...</code></td>
<td>
<p>aditional parameters passed to solve</p>
</td></tr>
</table>
<h3>Value</h3>
<p>Inverse of x
</p>
</body></html>