15
|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
2 <!--NewPage-->
|
|
3 <HTML>
|
|
4 <HEAD>
|
|
5 <!-- Generated by javadoc (build 1.6.0_17) on Sat Mar 27 22:46:13 EDT 2010 -->
|
|
6 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
7 <TITLE>
|
|
8 BigMatrixImpl (Commons Math 2.1 API)
|
|
9 </TITLE>
|
|
10
|
|
11 <META NAME="date" CONTENT="2010-03-27">
|
|
12
|
|
13 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
|
|
14
|
|
15 <SCRIPT type="text/javascript">
|
|
16 function windowTitle()
|
|
17 {
|
|
18 if (location.href.indexOf('is-external=true') == -1) {
|
|
19 parent.document.title="BigMatrixImpl (Commons Math 2.1 API)";
|
|
20 }
|
|
21 }
|
|
22 </SCRIPT>
|
|
23 <NOSCRIPT>
|
|
24 </NOSCRIPT>
|
|
25
|
|
26 </HEAD>
|
|
27
|
|
28 <BODY BGCOLOR="white" onload="windowTitle();">
|
|
29 <HR>
|
|
30
|
|
31
|
|
32 <!-- ========= START OF TOP NAVBAR ======= -->
|
|
33 <A NAME="navbar_top"><!-- --></A>
|
|
34 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
|
35 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
36 <TR>
|
|
37 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
38 <A NAME="navbar_top_firstrow"><!-- --></A>
|
|
39 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
40 <TR ALIGN="center" VALIGN="top">
|
|
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
43 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BigMatrixImpl.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
48 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
49 </TR>
|
|
50 </TABLE>
|
|
51 </TD>
|
|
52 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
53 </EM>
|
|
54 </TD>
|
|
55 </TR>
|
|
56
|
|
57 <TR>
|
|
58 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
59 <A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear"><B>PREV CLASS</B></A>
|
|
60 <A HREF="../../../../../org/apache/commons/math/linear/BlockFieldMatrix.html" title="class in org.apache.commons.math.linear"><B>NEXT CLASS</B></A></FONT></TD>
|
|
61 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
62 <A HREF="../../../../../index.html?org/apache/commons/math/linear/BigMatrixImpl.html" target="_top"><B>FRAMES</B></A>
|
|
63 <A HREF="BigMatrixImpl.html" target="_top"><B>NO FRAMES</B></A>
|
|
64 <SCRIPT type="text/javascript">
|
|
65 <!--
|
|
66 if(window==top) {
|
|
67 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
68 }
|
|
69 //-->
|
|
70 </SCRIPT>
|
|
71 <NOSCRIPT>
|
|
72 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
73 </NOSCRIPT>
|
|
74
|
|
75
|
|
76 </FONT></TD>
|
|
77 </TR>
|
|
78 <TR>
|
|
79 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
80 SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
81 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
82 DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
83 </TR>
|
|
84 </TABLE>
|
|
85 <A NAME="skip-navbar_top"></A>
|
|
86 <!-- ========= END OF TOP NAVBAR ========= -->
|
|
87
|
|
88 <HR>
|
|
89 <!-- ======== START OF CLASS DATA ======== -->
|
|
90 <H2>
|
|
91 <FONT SIZE="-1">
|
|
92 org.apache.commons.math.linear</FONT>
|
|
93 <BR>
|
|
94 Class BigMatrixImpl</H2>
|
|
95 <PRE>
|
|
96 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
|
|
97 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.commons.math.linear.BigMatrixImpl</B>
|
|
98 </PRE>
|
|
99 <DL>
|
|
100 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A>, <A HREF="../../../../../org/apache/commons/math/linear/AnyMatrix.html" title="interface in org.apache.commons.math.linear">AnyMatrix</A>, <A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></DD>
|
|
101 </DL>
|
|
102 <HR>
|
|
103 <B>Deprecated.</B> <I>as of 2.0, replaced by <A HREF="../../../../../org/apache/commons/math/linear/Array2DRowFieldMatrix.html" title="class in org.apache.commons.math.linear"><CODE>Array2DRowFieldMatrix</CODE></A> with a <A HREF="../../../../../org/apache/commons/math/util/BigReal.html" title="class in org.apache.commons.math.util"><CODE>BigReal</CODE></A> parameter</I>
|
|
104 <P>
|
|
105 <DL>
|
|
106 <DT><PRE><FONT SIZE="-1"><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</A>
|
|
107 </FONT>public class <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.55"><B>BigMatrixImpl</B></A><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A></DL>
|
|
108 </PRE>
|
|
109
|
|
110 <P>
|
|
111 Implementation of <A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear"><CODE>BigMatrix</CODE></A> using a BigDecimal[][] array to store entries
|
|
112 and <a href="http://www.math.gatech.edu/~bourbaki/math2601/Web-notes/2num.pdf">
|
|
113 LU decompostion</a> to support linear system
|
|
114 solution and inverse.
|
|
115 <p>
|
|
116 The LU decompostion is performed as needed, to support the following operations: <ul>
|
|
117 <li>solve</li>
|
|
118 <li>isSingular</li>
|
|
119 <li>getDeterminant</li>
|
|
120 <li>inverse</li> </ul></p>
|
|
121 <p>
|
|
122 <strong>Usage notes</strong>:<br>
|
|
123 <ul><li>
|
|
124 The LU decomposition is stored and reused on subsequent calls. If matrix
|
|
125 data are modified using any of the public setXxx methods, the saved
|
|
126 decomposition is discarded. If data are modified via references to the
|
|
127 underlying array obtained using <code>getDataRef()</code>, then the stored
|
|
128 LU decomposition will not be discarded. In this case, you need to
|
|
129 explicitly invoke <code>LUDecompose()</code> to recompute the decomposition
|
|
130 before using any of the methods above.</li>
|
|
131 <li>
|
|
132 As specified in the <A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear"><CODE>BigMatrix</CODE></A> interface, matrix element indexing
|
|
133 is 0-based -- e.g., <code>getEntry(0, 0)</code>
|
|
134 returns the element in the first row, first column of the matrix.</li></ul></p>
|
|
135 <P>
|
|
136
|
|
137 <P>
|
|
138 <DL>
|
|
139 <DT><B>Version:</B></DT>
|
|
140 <DD>$Revision: 811833 $ $Date: 2009-09-06 12:27:50 -0400 (Sun, 06 Sep 2009) $</DD>
|
|
141 <DT><B>See Also:</B><DD><A HREF="../../../../../serialized-form.html#org.apache.commons.math.linear.BigMatrixImpl">Serialized Form</A></DL>
|
|
142 <HR>
|
|
143
|
|
144 <P>
|
|
145 <!-- =========== FIELD SUMMARY =========== -->
|
|
146
|
|
147 <A NAME="field_summary"><!-- --></A>
|
|
148 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
149 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
150 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
151 <B>Field Summary</B></FONT></TH>
|
|
152 </TR>
|
|
153 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
154 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
155 <CODE>protected <A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>[][]</CODE></FONT></TD>
|
|
156 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#data">data</A></B></CODE>
|
|
157
|
|
158 <BR>
|
|
159 <B>Deprecated.</B> Entries of the matrix</TD>
|
|
160 </TR>
|
|
161 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
162 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
163 <CODE>protected <A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>[][]</CODE></FONT></TD>
|
|
164 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#lu">lu</A></B></CODE>
|
|
165
|
|
166 <BR>
|
|
167 <B>Deprecated.</B> Entries of cached LU decomposition.</TD>
|
|
168 </TR>
|
|
169 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
170 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
171 <CODE>protected int</CODE></FONT></TD>
|
|
172 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#parity">parity</A></B></CODE>
|
|
173
|
|
174 <BR>
|
|
175 <B>Deprecated.</B> Parity of the permutation associated with the LU decomposition</TD>
|
|
176 </TR>
|
|
177 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
178 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
179 <CODE>protected int[]</CODE></FONT></TD>
|
|
180 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#permutation">permutation</A></B></CODE>
|
|
181
|
|
182 <BR>
|
|
183 <B>Deprecated.</B> Permutation associated with LU decomposition</TD>
|
|
184 </TR>
|
|
185 </TABLE>
|
|
186
|
|
187 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
188
|
|
189 <A NAME="constructor_summary"><!-- --></A>
|
|
190 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
191 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
192 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
193 <B>Constructor Summary</B></FONT></TH>
|
|
194 </TR>
|
|
195 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
196 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#BigMatrixImpl()">BigMatrixImpl</A></B>()</CODE>
|
|
197
|
|
198 <BR>
|
|
199 <B>Deprecated.</B> Creates a matrix with no data</TD>
|
|
200 </TR>
|
|
201 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
202 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#BigMatrixImpl(java.math.BigDecimal[])">BigMatrixImpl</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>[] v)</CODE>
|
|
203
|
|
204 <BR>
|
|
205 <B>Deprecated.</B> Create a new (column) BigMatrix using <code>v</code> as the
|
|
206 data for the unique column of the <code>v.length x 1</code> matrix
|
|
207 created.</TD>
|
|
208 </TR>
|
|
209 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
210 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#BigMatrixImpl(java.math.BigDecimal[][])">BigMatrixImpl</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>[][] d)</CODE>
|
|
211
|
|
212 <BR>
|
|
213 <B>Deprecated.</B> Create a new BigMatrix using <code>d</code> as the underlying
|
|
214 data array.</TD>
|
|
215 </TR>
|
|
216 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
217 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#BigMatrixImpl(java.math.BigDecimal[][], boolean)">BigMatrixImpl</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>[][] d,
|
|
218 boolean copyArray)</CODE>
|
|
219
|
|
220 <BR>
|
|
221 <B>Deprecated.</B> Create a new BigMatrix using the input array as the underlying
|
|
222 data array.</TD>
|
|
223 </TR>
|
|
224 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
225 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#BigMatrixImpl(double[][])">BigMatrixImpl</A></B>(double[][] d)</CODE>
|
|
226
|
|
227 <BR>
|
|
228 <B>Deprecated.</B> Create a new BigMatrix using <code>d</code> as the underlying
|
|
229 data array.</TD>
|
|
230 </TR>
|
|
231 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
232 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#BigMatrixImpl(int, int)">BigMatrixImpl</A></B>(int rowDimension,
|
|
233 int columnDimension)</CODE>
|
|
234
|
|
235 <BR>
|
|
236 <B>Deprecated.</B> Create a new BigMatrix with the supplied row and column dimensions.</TD>
|
|
237 </TR>
|
|
238 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
239 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#BigMatrixImpl(java.lang.String[][])">BigMatrixImpl</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[][] d)</CODE>
|
|
240
|
|
241 <BR>
|
|
242 <B>Deprecated.</B> Create a new BigMatrix using the values represented by the strings in
|
|
243 <code>d</code> as the underlying data array.</TD>
|
|
244 </TR>
|
|
245 </TABLE>
|
|
246
|
|
247 <!-- ========== METHOD SUMMARY =========== -->
|
|
248
|
|
249 <A NAME="method_summary"><!-- --></A>
|
|
250 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
251 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
252 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
253 <B>Method Summary</B></FONT></TH>
|
|
254 </TR>
|
|
255 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
256 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
257 <CODE> <A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></FONT></TD>
|
|
258 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#add(org.apache.commons.math.linear.BigMatrix)">add</A></B>(<A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A> m)</CODE>
|
|
259
|
|
260 <BR>
|
|
261 <B>Deprecated.</B> Compute the sum of this and <code>m</code>.</TD>
|
|
262 </TR>
|
|
263 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
264 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
265 <CODE> <A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html" title="class in org.apache.commons.math.linear">BigMatrixImpl</A></CODE></FONT></TD>
|
|
266 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#add(org.apache.commons.math.linear.BigMatrixImpl)">add</A></B>(<A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html" title="class in org.apache.commons.math.linear">BigMatrixImpl</A> m)</CODE>
|
|
267
|
|
268 <BR>
|
|
269 <B>Deprecated.</B> Compute the sum of this and <code>m</code>.</TD>
|
|
270 </TR>
|
|
271 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
272 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
273 <CODE> <A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></FONT></TD>
|
|
274 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#copy()">copy</A></B>()</CODE>
|
|
275
|
|
276 <BR>
|
|
277 <B>Deprecated.</B> Create a new BigMatrix which is a copy of this.</TD>
|
|
278 </TR>
|
|
279 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
280 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
281 <CODE> boolean</CODE></FONT></TD>
|
|
282 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#equals(java.lang.Object)">equals</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> object)</CODE>
|
|
283
|
|
284 <BR>
|
|
285 <B>Deprecated.</B> Returns true iff <code>object</code> is a
|
|
286 <code>BigMatrixImpl</code> instance with the same dimensions as this
|
|
287 and all corresponding matrix entries are equal.</TD>
|
|
288 </TR>
|
|
289 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
290 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
291 <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>[]</CODE></FONT></TD>
|
|
292 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#getColumn(int)">getColumn</A></B>(int col)</CODE>
|
|
293
|
|
294 <BR>
|
|
295 <B>Deprecated.</B> Returns the entries in column number <code>col</code> as an array.</TD>
|
|
296 </TR>
|
|
297 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
298 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
299 <CODE> double[]</CODE></FONT></TD>
|
|
300 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#getColumnAsDoubleArray(int)">getColumnAsDoubleArray</A></B>(int col)</CODE>
|
|
301
|
|
302 <BR>
|
|
303 <B>Deprecated.</B> Returns the entries in column number <code>col</code> as an array
|
|
304 of double values.</TD>
|
|
305 </TR>
|
|
306 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
307 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
308 <CODE> int</CODE></FONT></TD>
|
|
309 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#getColumnDimension()">getColumnDimension</A></B>()</CODE>
|
|
310
|
|
311 <BR>
|
|
312 <B>Deprecated.</B> Returns the number of columns in the matrix.</TD>
|
|
313 </TR>
|
|
314 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
315 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
316 <CODE> <A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></FONT></TD>
|
|
317 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#getColumnMatrix(int)">getColumnMatrix</A></B>(int column)</CODE>
|
|
318
|
|
319 <BR>
|
|
320 <B>Deprecated.</B> Returns the entries in column number <code>column</code>
|
|
321 as a column matrix.</TD>
|
|
322 </TR>
|
|
323 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
324 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
325 <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>[][]</CODE></FONT></TD>
|
|
326 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#getData()">getData</A></B>()</CODE>
|
|
327
|
|
328 <BR>
|
|
329 <B>Deprecated.</B> Returns matrix entries as a two-dimensional array.</TD>
|
|
330 </TR>
|
|
331 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
332 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
333 <CODE> double[][]</CODE></FONT></TD>
|
|
334 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#getDataAsDoubleArray()">getDataAsDoubleArray</A></B>()</CODE>
|
|
335
|
|
336 <BR>
|
|
337 <B>Deprecated.</B> Returns matrix entries as a two-dimensional array.</TD>
|
|
338 </TR>
|
|
339 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
340 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
341 <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>[][]</CODE></FONT></TD>
|
|
342 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#getDataRef()">getDataRef</A></B>()</CODE>
|
|
343
|
|
344 <BR>
|
|
345 <B>Deprecated.</B> Returns a reference to the underlying data array.</TD>
|
|
346 </TR>
|
|
347 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
348 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
349 <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A></CODE></FONT></TD>
|
|
350 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#getDeterminant()">getDeterminant</A></B>()</CODE>
|
|
351
|
|
352 <BR>
|
|
353 <B>Deprecated.</B> Returns the determinant of this matrix.</TD>
|
|
354 </TR>
|
|
355 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
356 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
357 <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A></CODE></FONT></TD>
|
|
358 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#getEntry(int, int)">getEntry</A></B>(int row,
|
|
359 int column)</CODE>
|
|
360
|
|
361 <BR>
|
|
362 <B>Deprecated.</B> Returns the entry in the specified row and column.</TD>
|
|
363 </TR>
|
|
364 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
365 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
366 <CODE> double</CODE></FONT></TD>
|
|
367 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#getEntryAsDouble(int, int)">getEntryAsDouble</A></B>(int row,
|
|
368 int column)</CODE>
|
|
369
|
|
370 <BR>
|
|
371 <B>Deprecated.</B> Returns the entry in the specified row and column as a double.</TD>
|
|
372 </TR>
|
|
373 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
374 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
375 <CODE>protected <A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></FONT></TD>
|
|
376 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#getLUMatrix()">getLUMatrix</A></B>()</CODE>
|
|
377
|
|
378 <BR>
|
|
379 <B>Deprecated.</B> Returns the LU decomposition as a BigMatrix.</TD>
|
|
380 </TR>
|
|
381 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
382 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
383 <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A></CODE></FONT></TD>
|
|
384 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#getNorm()">getNorm</A></B>()</CODE>
|
|
385
|
|
386 <BR>
|
|
387 <B>Deprecated.</B> Returns the <a href="http://mathworld.wolfram.com/MaximumAbsoluteRowSumNorm.html">
|
|
388 maximum absolute row sum norm</a> of the matrix.</TD>
|
|
389 </TR>
|
|
390 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
391 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
392 <CODE>protected int[]</CODE></FONT></TD>
|
|
393 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#getPermutation()">getPermutation</A></B>()</CODE>
|
|
394
|
|
395 <BR>
|
|
396 <B>Deprecated.</B> Returns the permutation associated with the lu decomposition.</TD>
|
|
397 </TR>
|
|
398 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
399 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
400 <CODE> int</CODE></FONT></TD>
|
|
401 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#getRoundingMode()">getRoundingMode</A></B>()</CODE>
|
|
402
|
|
403 <BR>
|
|
404 <B>Deprecated.</B> Gets the rounding mode for division operations
|
|
405 The default is <A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true#ROUND_HALF_UP" title="class or interface in java.math"><CODE>BigDecimal.ROUND_HALF_UP</CODE></A></TD>
|
|
406 </TR>
|
|
407 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
408 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
409 <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>[]</CODE></FONT></TD>
|
|
410 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#getRow(int)">getRow</A></B>(int row)</CODE>
|
|
411
|
|
412 <BR>
|
|
413 <B>Deprecated.</B> Returns the entries in row number <code>row</code> as an array.</TD>
|
|
414 </TR>
|
|
415 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
416 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
417 <CODE> double[]</CODE></FONT></TD>
|
|
418 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#getRowAsDoubleArray(int)">getRowAsDoubleArray</A></B>(int row)</CODE>
|
|
419
|
|
420 <BR>
|
|
421 <B>Deprecated.</B> Returns the entries in row number <code>row</code> as an array
|
|
422 of double values.</TD>
|
|
423 </TR>
|
|
424 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
425 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
426 <CODE> int</CODE></FONT></TD>
|
|
427 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#getRowDimension()">getRowDimension</A></B>()</CODE>
|
|
428
|
|
429 <BR>
|
|
430 <B>Deprecated.</B> Returns the number of rows in the matrix.</TD>
|
|
431 </TR>
|
|
432 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
433 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
434 <CODE> <A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></FONT></TD>
|
|
435 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#getRowMatrix(int)">getRowMatrix</A></B>(int row)</CODE>
|
|
436
|
|
437 <BR>
|
|
438 <B>Deprecated.</B> Returns the entries in row number <code>row</code>
|
|
439 as a row matrix.</TD>
|
|
440 </TR>
|
|
441 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
442 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
443 <CODE> int</CODE></FONT></TD>
|
|
444 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#getScale()">getScale</A></B>()</CODE>
|
|
445
|
|
446 <BR>
|
|
447 <B>Deprecated.</B> Sets the scale for division operations.</TD>
|
|
448 </TR>
|
|
449 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
450 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
451 <CODE> <A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></FONT></TD>
|
|
452 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#getSubMatrix(int[], int[])">getSubMatrix</A></B>(int[] selectedRows,
|
|
453 int[] selectedColumns)</CODE>
|
|
454
|
|
455 <BR>
|
|
456 <B>Deprecated.</B> Gets a submatrix.</TD>
|
|
457 </TR>
|
|
458 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
459 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
460 <CODE> <A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></FONT></TD>
|
|
461 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#getSubMatrix(int, int, int, int)">getSubMatrix</A></B>(int startRow,
|
|
462 int endRow,
|
|
463 int startColumn,
|
|
464 int endColumn)</CODE>
|
|
465
|
|
466 <BR>
|
|
467 <B>Deprecated.</B> Gets a submatrix.</TD>
|
|
468 </TR>
|
|
469 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
470 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
471 <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A></CODE></FONT></TD>
|
|
472 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#getTrace()">getTrace</A></B>()</CODE>
|
|
473
|
|
474 <BR>
|
|
475 <B>Deprecated.</B> Returns the <a href="http://mathworld.wolfram.com/MatrixTrace.html">
|
|
476 trace</a> of the matrix (the sum of the elements on the main diagonal).</TD>
|
|
477 </TR>
|
|
478 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
479 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
480 <CODE> int</CODE></FONT></TD>
|
|
481 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#hashCode()">hashCode</A></B>()</CODE>
|
|
482
|
|
483 <BR>
|
|
484 <B>Deprecated.</B> Computes a hashcode for the matrix.</TD>
|
|
485 </TR>
|
|
486 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
487 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
488 <CODE> <A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></FONT></TD>
|
|
489 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#inverse()">inverse</A></B>()</CODE>
|
|
490
|
|
491 <BR>
|
|
492 <B>Deprecated.</B> Returns the inverse matrix if this matrix is invertible.</TD>
|
|
493 </TR>
|
|
494 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
495 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
496 <CODE> boolean</CODE></FONT></TD>
|
|
497 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#isSingular()">isSingular</A></B>()</CODE>
|
|
498
|
|
499 <BR>
|
|
500 <B>Deprecated.</B> Is this a singular matrix?</TD>
|
|
501 </TR>
|
|
502 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
503 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
504 <CODE> boolean</CODE></FONT></TD>
|
|
505 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#isSquare()">isSquare</A></B>()</CODE>
|
|
506
|
|
507 <BR>
|
|
508 <B>Deprecated.</B> Is this a square matrix?</TD>
|
|
509 </TR>
|
|
510 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
511 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
512 <CODE> void</CODE></FONT></TD>
|
|
513 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#luDecompose()">luDecompose</A></B>()</CODE>
|
|
514
|
|
515 <BR>
|
|
516 <B>Deprecated.</B> Computes a new
|
|
517 <a href="http://www.math.gatech.edu/~bourbaki/math2601/Web-notes/2num.pdf">
|
|
518 LU decompostion</a> for this matrix, storing the result for use by other methods.</TD>
|
|
519 </TR>
|
|
520 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
521 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
522 <CODE> <A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></FONT></TD>
|
|
523 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#multiply(org.apache.commons.math.linear.BigMatrix)">multiply</A></B>(<A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A> m)</CODE>
|
|
524
|
|
525 <BR>
|
|
526 <B>Deprecated.</B> Returns the result of postmultiplying this by <code>m</code>.</TD>
|
|
527 </TR>
|
|
528 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
529 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
530 <CODE> <A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html" title="class in org.apache.commons.math.linear">BigMatrixImpl</A></CODE></FONT></TD>
|
|
531 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#multiply(org.apache.commons.math.linear.BigMatrixImpl)">multiply</A></B>(<A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html" title="class in org.apache.commons.math.linear">BigMatrixImpl</A> m)</CODE>
|
|
532
|
|
533 <BR>
|
|
534 <B>Deprecated.</B> Returns the result of postmultiplying this by <code>m</code>.</TD>
|
|
535 </TR>
|
|
536 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
537 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
538 <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>[]</CODE></FONT></TD>
|
|
539 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#operate(java.math.BigDecimal[])">operate</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>[] v)</CODE>
|
|
540
|
|
541 <BR>
|
|
542 <B>Deprecated.</B> Returns the result of multiplying this by the vector <code>v</code>.</TD>
|
|
543 </TR>
|
|
544 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
545 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
546 <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>[]</CODE></FONT></TD>
|
|
547 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#operate(double[])">operate</A></B>(double[] v)</CODE>
|
|
548
|
|
549 <BR>
|
|
550 <B>Deprecated.</B> Returns the result of multiplying this by the vector <code>v</code>.</TD>
|
|
551 </TR>
|
|
552 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
553 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
554 <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>[]</CODE></FONT></TD>
|
|
555 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#preMultiply(java.math.BigDecimal[])">preMultiply</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>[] v)</CODE>
|
|
556
|
|
557 <BR>
|
|
558 <B>Deprecated.</B> Returns the (row) vector result of premultiplying this by the vector <code>v</code>.</TD>
|
|
559 </TR>
|
|
560 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
561 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
562 <CODE> <A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></FONT></TD>
|
|
563 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#preMultiply(org.apache.commons.math.linear.BigMatrix)">preMultiply</A></B>(<A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A> m)</CODE>
|
|
564
|
|
565 <BR>
|
|
566 <B>Deprecated.</B> Returns the result premultiplying this by <code>m</code>.</TD>
|
|
567 </TR>
|
|
568 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
569 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
570 <CODE> <A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></FONT></TD>
|
|
571 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#scalarAdd(java.math.BigDecimal)">scalarAdd</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A> d)</CODE>
|
|
572
|
|
573 <BR>
|
|
574 <B>Deprecated.</B> Returns the result of adding d to each entry of this.</TD>
|
|
575 </TR>
|
|
576 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
577 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
578 <CODE> <A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></FONT></TD>
|
|
579 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#scalarMultiply(java.math.BigDecimal)">scalarMultiply</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A> d)</CODE>
|
|
580
|
|
581 <BR>
|
|
582 <B>Deprecated.</B> Returns the result of multiplying each entry of this by <code>d</code></TD>
|
|
583 </TR>
|
|
584 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
585 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
586 <CODE> void</CODE></FONT></TD>
|
|
587 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#setRoundingMode(int)">setRoundingMode</A></B>(int roundingMode)</CODE>
|
|
588
|
|
589 <BR>
|
|
590 <B>Deprecated.</B> Sets the rounding mode for decimal divisions.</TD>
|
|
591 </TR>
|
|
592 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
593 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
594 <CODE> void</CODE></FONT></TD>
|
|
595 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#setScale(int)">setScale</A></B>(int scale)</CODE>
|
|
596
|
|
597 <BR>
|
|
598 <B>Deprecated.</B> Sets the scale for division operations.</TD>
|
|
599 </TR>
|
|
600 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
601 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
602 <CODE> void</CODE></FONT></TD>
|
|
603 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#setSubMatrix(java.math.BigDecimal[][], int, int)">setSubMatrix</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>[][] subMatrix,
|
|
604 int row,
|
|
605 int column)</CODE>
|
|
606
|
|
607 <BR>
|
|
608 <B>Deprecated.</B> Replace the submatrix starting at <code>row, column</code> using data in
|
|
609 the input <code>subMatrix</code> array.</TD>
|
|
610 </TR>
|
|
611 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
612 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
613 <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>[]</CODE></FONT></TD>
|
|
614 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#solve(java.math.BigDecimal[])">solve</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>[] b)</CODE>
|
|
615
|
|
616 <BR>
|
|
617 <B>Deprecated.</B> Returns a matrix of (column) solution vectors for linear systems with
|
|
618 coefficient matrix = this and constant vectors = columns of
|
|
619 <code>b</code>.</TD>
|
|
620 </TR>
|
|
621 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
622 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
623 <CODE> <A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></FONT></TD>
|
|
624 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#solve(org.apache.commons.math.linear.BigMatrix)">solve</A></B>(<A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A> b)</CODE>
|
|
625
|
|
626 <BR>
|
|
627 <B>Deprecated.</B> Returns a matrix of (column) solution vectors for linear systems with
|
|
628 coefficient matrix = this and constant vectors = columns of
|
|
629 <code>b</code>.</TD>
|
|
630 </TR>
|
|
631 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
632 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
633 <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>[]</CODE></FONT></TD>
|
|
634 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#solve(double[])">solve</A></B>(double[] b)</CODE>
|
|
635
|
|
636 <BR>
|
|
637 <B>Deprecated.</B> Returns a matrix of (column) solution vectors for linear systems with
|
|
638 coefficient matrix = this and constant vectors = columns of
|
|
639 <code>b</code>.</TD>
|
|
640 </TR>
|
|
641 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
642 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
643 <CODE> <A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></FONT></TD>
|
|
644 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#subtract(org.apache.commons.math.linear.BigMatrix)">subtract</A></B>(<A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A> m)</CODE>
|
|
645
|
|
646 <BR>
|
|
647 <B>Deprecated.</B> Compute this minus <code>m</code>.</TD>
|
|
648 </TR>
|
|
649 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
650 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
651 <CODE> <A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html" title="class in org.apache.commons.math.linear">BigMatrixImpl</A></CODE></FONT></TD>
|
|
652 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#subtract(org.apache.commons.math.linear.BigMatrixImpl)">subtract</A></B>(<A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html" title="class in org.apache.commons.math.linear">BigMatrixImpl</A> m)</CODE>
|
|
653
|
|
654 <BR>
|
|
655 <B>Deprecated.</B> Compute this minus <code>m</code>.</TD>
|
|
656 </TR>
|
|
657 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
658 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
659 <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
|
660 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#toString()">toString</A></B>()</CODE>
|
|
661
|
|
662 <BR>
|
|
663 <B>Deprecated.</B> Get a string representation for this matrix.</TD>
|
|
664 </TR>
|
|
665 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
666 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
667 <CODE> <A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></FONT></TD>
|
|
668 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#transpose()">transpose</A></B>()</CODE>
|
|
669
|
|
670 <BR>
|
|
671 <B>Deprecated.</B> Returns the transpose matrix.</TD>
|
|
672 </TR>
|
|
673 </TABLE>
|
|
674 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
|
675 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
676 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
677 <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
|
|
678 </TR>
|
|
679 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
680 <TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
|
|
681 </TR>
|
|
682 </TABLE>
|
|
683
|
|
684 <P>
|
|
685
|
|
686 <!-- ============ FIELD DETAIL =========== -->
|
|
687
|
|
688 <A NAME="field_detail"><!-- --></A>
|
|
689 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
690 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
691 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
692 <B>Field Detail</B></FONT></TH>
|
|
693 </TR>
|
|
694 </TABLE>
|
|
695
|
|
696 <A NAME="data"><!-- --></A><H3>
|
|
697 data</H3>
|
|
698 <PRE>
|
|
699 protected <A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>[][] <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.70"><B>data</B></A></PRE>
|
|
700 <DL>
|
|
701 <DD><B>Deprecated.</B> <DD>Entries of the matrix
|
|
702 <P>
|
|
703 <DL>
|
|
704 </DL>
|
|
705 </DL>
|
|
706 <HR>
|
|
707
|
|
708 <A NAME="lu"><!-- --></A><H3>
|
|
709 lu</H3>
|
|
710 <PRE>
|
|
711 protected <A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>[][] <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.75"><B>lu</B></A></PRE>
|
|
712 <DL>
|
|
713 <DD><B>Deprecated.</B> <DD>Entries of cached LU decomposition.
|
|
714 All updates to data (other than luDecompose()) *must* set this to null
|
|
715 <P>
|
|
716 <DL>
|
|
717 </DL>
|
|
718 </DL>
|
|
719 <HR>
|
|
720
|
|
721 <A NAME="permutation"><!-- --></A><H3>
|
|
722 permutation</H3>
|
|
723 <PRE>
|
|
724 protected int[] <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.78"><B>permutation</B></A></PRE>
|
|
725 <DL>
|
|
726 <DD><B>Deprecated.</B> <DD>Permutation associated with LU decomposition
|
|
727 <P>
|
|
728 <DL>
|
|
729 </DL>
|
|
730 </DL>
|
|
731 <HR>
|
|
732
|
|
733 <A NAME="parity"><!-- --></A><H3>
|
|
734 parity</H3>
|
|
735 <PRE>
|
|
736 protected int <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.81"><B>parity</B></A></PRE>
|
|
737 <DL>
|
|
738 <DD><B>Deprecated.</B> <DD>Parity of the permutation associated with the LU decomposition
|
|
739 <P>
|
|
740 <DL>
|
|
741 </DL>
|
|
742 </DL>
|
|
743
|
|
744 <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
745
|
|
746 <A NAME="constructor_detail"><!-- --></A>
|
|
747 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
748 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
749 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
750 <B>Constructor Detail</B></FONT></TH>
|
|
751 </TR>
|
|
752 </TABLE>
|
|
753
|
|
754 <A NAME="BigMatrixImpl()"><!-- --></A><H3>
|
|
755 BigMatrixImpl</H3>
|
|
756 <PRE>
|
|
757 public <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.92"><B>BigMatrixImpl</B></A>()</PRE>
|
|
758 <DL>
|
|
759 <DD><B>Deprecated.</B> <DD>Creates a matrix with no data
|
|
760 <P>
|
|
761 </DL>
|
|
762 <HR>
|
|
763
|
|
764 <A NAME="BigMatrixImpl(int, int)"><!-- --></A><H3>
|
|
765 BigMatrixImpl</H3>
|
|
766 <PRE>
|
|
767 public <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.103"><B>BigMatrixImpl</B></A>(int rowDimension,
|
|
768 int columnDimension)</PRE>
|
|
769 <DL>
|
|
770 <DD><B>Deprecated.</B> <DD>Create a new BigMatrix with the supplied row and column dimensions.
|
|
771 <P>
|
|
772 <DL>
|
|
773 <DT><B>Parameters:</B><DD><CODE>rowDimension</CODE> - the number of rows in the new matrix<DD><CODE>columnDimension</CODE> - the number of columns in the new matrix
|
|
774 <DT><B>Throws:</B>
|
|
775 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if row or column dimension is not
|
|
776 positive</DL>
|
|
777 </DL>
|
|
778 <HR>
|
|
779
|
|
780 <A NAME="BigMatrixImpl(java.math.BigDecimal[][])"><!-- --></A><H3>
|
|
781 BigMatrixImpl</H3>
|
|
782 <PRE>
|
|
783 public <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.130"><B>BigMatrixImpl</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>[][] d)</PRE>
|
|
784 <DL>
|
|
785 <DD><B>Deprecated.</B> <DD>Create a new BigMatrix using <code>d</code> as the underlying
|
|
786 data array.
|
|
787 <p>The input array is copied, not referenced. This constructor has
|
|
788 the same effect as calling <A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#BigMatrixImpl(java.math.BigDecimal[][], boolean)"><CODE>BigMatrixImpl(BigDecimal[][], boolean)</CODE></A>
|
|
789 with the second argument set to <code>true</code>.</p>
|
|
790 <P>
|
|
791 <DL>
|
|
792 <DT><B>Parameters:</B><DD><CODE>d</CODE> - data for new matrix
|
|
793 <DT><B>Throws:</B>
|
|
794 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if <code>d</code> is not rectangular
|
|
795 (not all rows have the same length) or empty
|
|
796 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</A></CODE> - if <code>d</code> is null</DL>
|
|
797 </DL>
|
|
798 <HR>
|
|
799
|
|
800 <A NAME="BigMatrixImpl(java.math.BigDecimal[][], boolean)"><!-- --></A><H3>
|
|
801 BigMatrixImpl</H3>
|
|
802 <PRE>
|
|
803 public <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.150"><B>BigMatrixImpl</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>[][] d,
|
|
804 boolean copyArray)</PRE>
|
|
805 <DL>
|
|
806 <DD><B>Deprecated.</B> <DD>Create a new BigMatrix using the input array as the underlying
|
|
807 data array.
|
|
808 <p>If an array is built specially in order to be embedded in a
|
|
809 BigMatrix and not used directly, the <code>copyArray</code> may be
|
|
810 set to <code>false</code. This will prevent the copying and improve
|
|
811 performance as no new array will be built and no data will be copied.</p>
|
|
812 <P>
|
|
813 <DL>
|
|
814 <DT><B>Parameters:</B><DD><CODE>d</CODE> - data for new matrix<DD><CODE>copyArray</CODE> - if true, the input array will be copied, otherwise
|
|
815 it will be referenced
|
|
816 <DT><B>Throws:</B>
|
|
817 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if <code>d</code> is not rectangular
|
|
818 (not all rows have the same length) or empty
|
|
819 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</A></CODE> - if <code>d</code> is null<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html#BigMatrixImpl(java.math.BigDecimal[][])"><CODE>BigMatrixImpl(BigDecimal[][])</CODE></A></DL>
|
|
820 </DL>
|
|
821 <HR>
|
|
822
|
|
823 <A NAME="BigMatrixImpl(double[][])"><!-- --></A><H3>
|
|
824 BigMatrixImpl</H3>
|
|
825 <PRE>
|
|
826 public <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.189"><B>BigMatrixImpl</B></A>(double[][] d)</PRE>
|
|
827 <DL>
|
|
828 <DD><B>Deprecated.</B> <DD>Create a new BigMatrix using <code>d</code> as the underlying
|
|
829 data array.
|
|
830 <p>Since the underlying array will hold <code>BigDecimal</code>
|
|
831 instances, it will be created.</p>
|
|
832 <P>
|
|
833 <DL>
|
|
834 <DT><B>Parameters:</B><DD><CODE>d</CODE> - data for new matrix
|
|
835 <DT><B>Throws:</B>
|
|
836 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if <code>d</code> is not rectangular
|
|
837 (not all rows have the same length) or empty
|
|
838 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</A></CODE> - if <code>d</code> is null</DL>
|
|
839 </DL>
|
|
840 <HR>
|
|
841
|
|
842 <A NAME="BigMatrixImpl(java.lang.String[][])"><!-- --></A><H3>
|
|
843 BigMatrixImpl</H3>
|
|
844 <PRE>
|
|
845 public <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.219"><B>BigMatrixImpl</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[][] d)</PRE>
|
|
846 <DL>
|
|
847 <DD><B>Deprecated.</B> <DD>Create a new BigMatrix using the values represented by the strings in
|
|
848 <code>d</code> as the underlying data array.
|
|
849 <P>
|
|
850 <DL>
|
|
851 <DT><B>Parameters:</B><DD><CODE>d</CODE> - data for new matrix
|
|
852 <DT><B>Throws:</B>
|
|
853 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if <code>d</code> is not rectangular
|
|
854 (not all rows have the same length) or empty
|
|
855 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</A></CODE> - if <code>d</code> is null</DL>
|
|
856 </DL>
|
|
857 <HR>
|
|
858
|
|
859 <A NAME="BigMatrixImpl(java.math.BigDecimal[])"><!-- --></A><H3>
|
|
860 BigMatrixImpl</H3>
|
|
861 <PRE>
|
|
862 public <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.249"><B>BigMatrixImpl</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>[] v)</PRE>
|
|
863 <DL>
|
|
864 <DD><B>Deprecated.</B> <DD>Create a new (column) BigMatrix using <code>v</code> as the
|
|
865 data for the unique column of the <code>v.length x 1</code> matrix
|
|
866 created.
|
|
867 <p>
|
|
868 The input array is copied, not referenced.</p>
|
|
869 <P>
|
|
870 <DL>
|
|
871 <DT><B>Parameters:</B><DD><CODE>v</CODE> - column vector holding data for new matrix</DL>
|
|
872 </DL>
|
|
873
|
|
874 <!-- ============ METHOD DETAIL ========== -->
|
|
875
|
|
876 <A NAME="method_detail"><!-- --></A>
|
|
877 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
878 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
879 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
880 <B>Method Detail</B></FONT></TH>
|
|
881 </TR>
|
|
882 </TABLE>
|
|
883
|
|
884 <A NAME="copy()"><!-- --></A><H3>
|
|
885 copy</H3>
|
|
886 <PRE>
|
|
887 public <A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A> <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.262"><B>copy</B></A>()</PRE>
|
|
888 <DL>
|
|
889 <DD><B>Deprecated.</B> <DD>Create a new BigMatrix which is a copy of this.
|
|
890 <P>
|
|
891 <DD><DL>
|
|
892 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html#copy()">copy</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></DL>
|
|
893 </DD>
|
|
894 <DD><DL>
|
|
895
|
|
896 <DT><B>Returns:</B><DD>the cloned matrix</DL>
|
|
897 </DD>
|
|
898 </DL>
|
|
899 <HR>
|
|
900
|
|
901 <A NAME="add(org.apache.commons.math.linear.BigMatrix)"><!-- --></A><H3>
|
|
902 add</H3>
|
|
903 <PRE>
|
|
904 public <A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A> <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.273"><B>add</B></A>(<A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A> m)
|
|
905 throws <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></PRE>
|
|
906 <DL>
|
|
907 <DD><B>Deprecated.</B> <DD>Compute the sum of this and <code>m</code>.
|
|
908 <P>
|
|
909 <DD><DL>
|
|
910 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html#add(org.apache.commons.math.linear.BigMatrix)">add</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></DL>
|
|
911 </DD>
|
|
912 <DD><DL>
|
|
913 <DT><B>Parameters:</B><DD><CODE>m</CODE> - matrix to be added
|
|
914 <DT><B>Returns:</B><DD>this + m
|
|
915 <DT><B>Throws:</B>
|
|
916 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if m is not the same size as this</DL>
|
|
917 </DD>
|
|
918 </DL>
|
|
919 <HR>
|
|
920
|
|
921 <A NAME="add(org.apache.commons.math.linear.BigMatrixImpl)"><!-- --></A><H3>
|
|
922 add</H3>
|
|
923 <PRE>
|
|
924 public <A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html" title="class in org.apache.commons.math.linear">BigMatrixImpl</A> <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.302"><B>add</B></A>(<A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html" title="class in org.apache.commons.math.linear">BigMatrixImpl</A> m)
|
|
925 throws <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></PRE>
|
|
926 <DL>
|
|
927 <DD><B>Deprecated.</B> <DD>Compute the sum of this and <code>m</code>.
|
|
928 <P>
|
|
929 <DD><DL>
|
|
930 </DL>
|
|
931 </DD>
|
|
932 <DD><DL>
|
|
933 <DT><B>Parameters:</B><DD><CODE>m</CODE> - matrix to be added
|
|
934 <DT><B>Returns:</B><DD>this + m
|
|
935 <DT><B>Throws:</B>
|
|
936 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if m is not the same size as this</DL>
|
|
937 </DD>
|
|
938 </DL>
|
|
939 <HR>
|
|
940
|
|
941 <A NAME="subtract(org.apache.commons.math.linear.BigMatrix)"><!-- --></A><H3>
|
|
942 subtract</H3>
|
|
943 <PRE>
|
|
944 public <A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A> <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.328"><B>subtract</B></A>(<A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A> m)
|
|
945 throws <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></PRE>
|
|
946 <DL>
|
|
947 <DD><B>Deprecated.</B> <DD>Compute this minus <code>m</code>.
|
|
948 <P>
|
|
949 <DD><DL>
|
|
950 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html#subtract(org.apache.commons.math.linear.BigMatrix)">subtract</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></DL>
|
|
951 </DD>
|
|
952 <DD><DL>
|
|
953 <DT><B>Parameters:</B><DD><CODE>m</CODE> - matrix to be subtracted
|
|
954 <DT><B>Returns:</B><DD>this + m
|
|
955 <DT><B>Throws:</B>
|
|
956 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if m is not the same size as this</DL>
|
|
957 </DD>
|
|
958 </DL>
|
|
959 <HR>
|
|
960
|
|
961 <A NAME="subtract(org.apache.commons.math.linear.BigMatrixImpl)"><!-- --></A><H3>
|
|
962 subtract</H3>
|
|
963 <PRE>
|
|
964 public <A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html" title="class in org.apache.commons.math.linear">BigMatrixImpl</A> <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.357"><B>subtract</B></A>(<A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html" title="class in org.apache.commons.math.linear">BigMatrixImpl</A> m)
|
|
965 throws <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></PRE>
|
|
966 <DL>
|
|
967 <DD><B>Deprecated.</B> <DD>Compute this minus <code>m</code>.
|
|
968 <P>
|
|
969 <DD><DL>
|
|
970 </DL>
|
|
971 </DD>
|
|
972 <DD><DL>
|
|
973 <DT><B>Parameters:</B><DD><CODE>m</CODE> - matrix to be subtracted
|
|
974 <DT><B>Returns:</B><DD>this + m
|
|
975 <DT><B>Throws:</B>
|
|
976 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if m is not the same size as this</DL>
|
|
977 </DD>
|
|
978 </DL>
|
|
979 <HR>
|
|
980
|
|
981 <A NAME="scalarAdd(java.math.BigDecimal)"><!-- --></A><H3>
|
|
982 scalarAdd</H3>
|
|
983 <PRE>
|
|
984 public <A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A> <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.382"><B>scalarAdd</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A> d)</PRE>
|
|
985 <DL>
|
|
986 <DD><B>Deprecated.</B> <DD>Returns the result of adding d to each entry of this.
|
|
987 <P>
|
|
988 <DD><DL>
|
|
989 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html#scalarAdd(java.math.BigDecimal)">scalarAdd</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></DL>
|
|
990 </DD>
|
|
991 <DD><DL>
|
|
992 <DT><B>Parameters:</B><DD><CODE>d</CODE> - value to be added to each entry
|
|
993 <DT><B>Returns:</B><DD>d + this</DL>
|
|
994 </DD>
|
|
995 </DL>
|
|
996 <HR>
|
|
997
|
|
998 <A NAME="scalarMultiply(java.math.BigDecimal)"><!-- --></A><H3>
|
|
999 scalarMultiply</H3>
|
|
1000 <PRE>
|
|
1001 public <A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A> <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.401"><B>scalarMultiply</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A> d)</PRE>
|
|
1002 <DL>
|
|
1003 <DD><B>Deprecated.</B> <DD>Returns the result of multiplying each entry of this by <code>d</code>
|
|
1004 <P>
|
|
1005 <DD><DL>
|
|
1006 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html#scalarMultiply(java.math.BigDecimal)">scalarMultiply</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></DL>
|
|
1007 </DD>
|
|
1008 <DD><DL>
|
|
1009 <DT><B>Parameters:</B><DD><CODE>d</CODE> - value to multiply all entries by
|
|
1010 <DT><B>Returns:</B><DD>d * this</DL>
|
|
1011 </DD>
|
|
1012 </DL>
|
|
1013 <HR>
|
|
1014
|
|
1015 <A NAME="multiply(org.apache.commons.math.linear.BigMatrix)"><!-- --></A><H3>
|
|
1016 multiply</H3>
|
|
1017 <PRE>
|
|
1018 public <A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A> <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.422"><B>multiply</B></A>(<A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A> m)
|
|
1019 throws <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></PRE>
|
|
1020 <DL>
|
|
1021 <DD><B>Deprecated.</B> <DD>Returns the result of postmultiplying this by <code>m</code>.
|
|
1022 <P>
|
|
1023 <DD><DL>
|
|
1024 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html#multiply(org.apache.commons.math.linear.BigMatrix)">multiply</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></DL>
|
|
1025 </DD>
|
|
1026 <DD><DL>
|
|
1027 <DT><B>Parameters:</B><DD><CODE>m</CODE> - matrix to postmultiply by
|
|
1028 <DT><B>Returns:</B><DD>this*m
|
|
1029 <DT><B>Throws:</B>
|
|
1030 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if columnDimension(this) != rowDimension(m)</DL>
|
|
1031 </DD>
|
|
1032 </DL>
|
|
1033 <HR>
|
|
1034
|
|
1035 <A NAME="multiply(org.apache.commons.math.linear.BigMatrixImpl)"><!-- --></A><H3>
|
|
1036 multiply</H3>
|
|
1037 <PRE>
|
|
1038 public <A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html" title="class in org.apache.commons.math.linear">BigMatrixImpl</A> <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.456"><B>multiply</B></A>(<A HREF="../../../../../org/apache/commons/math/linear/BigMatrixImpl.html" title="class in org.apache.commons.math.linear">BigMatrixImpl</A> m)
|
|
1039 throws <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></PRE>
|
|
1040 <DL>
|
|
1041 <DD><B>Deprecated.</B> <DD>Returns the result of postmultiplying this by <code>m</code>.
|
|
1042 <P>
|
|
1043 <DD><DL>
|
|
1044 </DL>
|
|
1045 </DD>
|
|
1046 <DD><DL>
|
|
1047 <DT><B>Parameters:</B><DD><CODE>m</CODE> - matrix to postmultiply by
|
|
1048 <DT><B>Returns:</B><DD>this*m
|
|
1049 <DT><B>Throws:</B>
|
|
1050 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if columnDimension(this) != rowDimension(m)</DL>
|
|
1051 </DD>
|
|
1052 </DL>
|
|
1053 <HR>
|
|
1054
|
|
1055 <A NAME="preMultiply(org.apache.commons.math.linear.BigMatrix)"><!-- --></A><H3>
|
|
1056 preMultiply</H3>
|
|
1057 <PRE>
|
|
1058 public <A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A> <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.486"><B>preMultiply</B></A>(<A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A> m)
|
|
1059 throws <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></PRE>
|
|
1060 <DL>
|
|
1061 <DD><B>Deprecated.</B> <DD>Returns the result premultiplying this by <code>m</code>.
|
|
1062 <P>
|
|
1063 <DD><DL>
|
|
1064 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html#preMultiply(org.apache.commons.math.linear.BigMatrix)">preMultiply</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></DL>
|
|
1065 </DD>
|
|
1066 <DD><DL>
|
|
1067 <DT><B>Parameters:</B><DD><CODE>m</CODE> - matrix to premultiply by
|
|
1068 <DT><B>Returns:</B><DD>m * this
|
|
1069 <DT><B>Throws:</B>
|
|
1070 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if rowDimension(this) != columnDimension(m)</DL>
|
|
1071 </DD>
|
|
1072 </DL>
|
|
1073 <HR>
|
|
1074
|
|
1075 <A NAME="getData()"><!-- --></A><H3>
|
|
1076 getData</H3>
|
|
1077 <PRE>
|
|
1078 public <A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>[][] <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.497"><B>getData</B></A>()</PRE>
|
|
1079 <DL>
|
|
1080 <DD><B>Deprecated.</B> <DD>Returns matrix entries as a two-dimensional array.
|
|
1081 <p>
|
|
1082 Makes a fresh copy of the underlying data.</p>
|
|
1083 <P>
|
|
1084 <DD><DL>
|
|
1085 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html#getData()">getData</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></DL>
|
|
1086 </DD>
|
|
1087 <DD><DL>
|
|
1088
|
|
1089 <DT><B>Returns:</B><DD>2-dimensional array of entries</DL>
|
|
1090 </DD>
|
|
1091 </DL>
|
|
1092 <HR>
|
|
1093
|
|
1094 <A NAME="getDataAsDoubleArray()"><!-- --></A><H3>
|
|
1095 getDataAsDoubleArray</H3>
|
|
1096 <PRE>
|
|
1097 public double[][] <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.509"><B>getDataAsDoubleArray</B></A>()</PRE>
|
|
1098 <DL>
|
|
1099 <DD><B>Deprecated.</B> <DD>Returns matrix entries as a two-dimensional array.
|
|
1100 <p>
|
|
1101 Makes a fresh copy of the underlying data converted to
|
|
1102 <code>double</code> values.</p>
|
|
1103 <P>
|
|
1104 <DD><DL>
|
|
1105 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html#getDataAsDoubleArray()">getDataAsDoubleArray</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></DL>
|
|
1106 </DD>
|
|
1107 <DD><DL>
|
|
1108
|
|
1109 <DT><B>Returns:</B><DD>2-dimensional array of entries</DL>
|
|
1110 </DD>
|
|
1111 </DL>
|
|
1112 <HR>
|
|
1113
|
|
1114 <A NAME="getDataRef()"><!-- --></A><H3>
|
|
1115 getDataRef</H3>
|
|
1116 <PRE>
|
|
1117 public <A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>[][] <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.528"><B>getDataRef</B></A>()</PRE>
|
|
1118 <DL>
|
|
1119 <DD><B>Deprecated.</B> <DD>Returns a reference to the underlying data array.
|
|
1120 <p>
|
|
1121 Does not make a fresh copy of the underlying data.</p>
|
|
1122 <P>
|
|
1123 <DD><DL>
|
|
1124 </DL>
|
|
1125 </DD>
|
|
1126 <DD><DL>
|
|
1127
|
|
1128 <DT><B>Returns:</B><DD>2-dimensional array of entries</DL>
|
|
1129 </DD>
|
|
1130 </DL>
|
|
1131 <HR>
|
|
1132
|
|
1133 <A NAME="getRoundingMode()"><!-- --></A><H3>
|
|
1134 getRoundingMode</H3>
|
|
1135 <PRE>
|
|
1136 public int <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.538"><B>getRoundingMode</B></A>()</PRE>
|
|
1137 <DL>
|
|
1138 <DD><B>Deprecated.</B> <DD>Gets the rounding mode for division operations
|
|
1139 The default is <A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true#ROUND_HALF_UP" title="class or interface in java.math"><CODE>BigDecimal.ROUND_HALF_UP</CODE></A>
|
|
1140 <P>
|
|
1141 <DD><DL>
|
|
1142 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html#getRoundingMode()">getRoundingMode</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></DL>
|
|
1143 </DD>
|
|
1144 <DD><DL>
|
|
1145
|
|
1146 <DT><B>Returns:</B><DD>the rounding mode.<DT><B>See Also:</B><DD><A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><CODE>BigDecimal</CODE></A></DL>
|
|
1147 </DD>
|
|
1148 </DL>
|
|
1149 <HR>
|
|
1150
|
|
1151 <A NAME="setRoundingMode(int)"><!-- --></A><H3>
|
|
1152 setRoundingMode</H3>
|
|
1153 <PRE>
|
|
1154 public void <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.547"><B>setRoundingMode</B></A>(int roundingMode)</PRE>
|
|
1155 <DL>
|
|
1156 <DD><B>Deprecated.</B> <DD>Sets the rounding mode for decimal divisions.
|
|
1157 <P>
|
|
1158 <DD><DL>
|
|
1159 </DL>
|
|
1160 </DD>
|
|
1161 <DD><DL>
|
|
1162 <DT><B>Parameters:</B><DD><CODE>roundingMode</CODE> - rounding mode for decimal divisions<DT><B>See Also:</B><DD><A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><CODE>BigDecimal</CODE></A></DL>
|
|
1163 </DD>
|
|
1164 </DL>
|
|
1165 <HR>
|
|
1166
|
|
1167 <A NAME="getScale()"><!-- --></A><H3>
|
|
1168 getScale</H3>
|
|
1169 <PRE>
|
|
1170 public int <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.557"><B>getScale</B></A>()</PRE>
|
|
1171 <DL>
|
|
1172 <DD><B>Deprecated.</B> <DD>Sets the scale for division operations.
|
|
1173 The default is 64
|
|
1174 <P>
|
|
1175 <DD><DL>
|
|
1176 </DL>
|
|
1177 </DD>
|
|
1178 <DD><DL>
|
|
1179
|
|
1180 <DT><B>Returns:</B><DD>the scale<DT><B>See Also:</B><DD><A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><CODE>BigDecimal</CODE></A></DL>
|
|
1181 </DD>
|
|
1182 </DL>
|
|
1183 <HR>
|
|
1184
|
|
1185 <A NAME="setScale(int)"><!-- --></A><H3>
|
|
1186 setScale</H3>
|
|
1187 <PRE>
|
|
1188 public void <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.566"><B>setScale</B></A>(int scale)</PRE>
|
|
1189 <DL>
|
|
1190 <DD><B>Deprecated.</B> <DD>Sets the scale for division operations.
|
|
1191 <P>
|
|
1192 <DD><DL>
|
|
1193 </DL>
|
|
1194 </DD>
|
|
1195 <DD><DL>
|
|
1196 <DT><B>Parameters:</B><DD><CODE>scale</CODE> - scale for division operations<DT><B>See Also:</B><DD><A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><CODE>BigDecimal</CODE></A></DL>
|
|
1197 </DD>
|
|
1198 </DL>
|
|
1199 <HR>
|
|
1200
|
|
1201 <A NAME="getNorm()"><!-- --></A><H3>
|
|
1202 getNorm</H3>
|
|
1203 <PRE>
|
|
1204 public <A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A> <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.576"><B>getNorm</B></A>()</PRE>
|
|
1205 <DL>
|
|
1206 <DD><B>Deprecated.</B> <DD>Returns the <a href="http://mathworld.wolfram.com/MaximumAbsoluteRowSumNorm.html">
|
|
1207 maximum absolute row sum norm</a> of the matrix.
|
|
1208 <P>
|
|
1209 <DD><DL>
|
|
1210 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html#getNorm()">getNorm</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></DL>
|
|
1211 </DD>
|
|
1212 <DD><DL>
|
|
1213
|
|
1214 <DT><B>Returns:</B><DD>norm</DL>
|
|
1215 </DD>
|
|
1216 </DL>
|
|
1217 <HR>
|
|
1218
|
|
1219 <A NAME="getSubMatrix(int, int, int, int)"><!-- --></A><H3>
|
|
1220 getSubMatrix</H3>
|
|
1221 <PRE>
|
|
1222 public <A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A> <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.600"><B>getSubMatrix</B></A>(int startRow,
|
|
1223 int endRow,
|
|
1224 int startColumn,
|
|
1225 int endColumn)
|
|
1226 throws <A HREF="../../../../../org/apache/commons/math/linear/MatrixIndexException.html" title="class in org.apache.commons.math.linear">MatrixIndexException</A></PRE>
|
|
1227 <DL>
|
|
1228 <DD><B>Deprecated.</B> <DD>Gets a submatrix. Rows and columns are indicated
|
|
1229 counting from 0 to n-1.
|
|
1230 <P>
|
|
1231 <DD><DL>
|
|
1232 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html#getSubMatrix(int, int, int, int)">getSubMatrix</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></DL>
|
|
1233 </DD>
|
|
1234 <DD><DL>
|
|
1235 <DT><B>Parameters:</B><DD><CODE>startRow</CODE> - Initial row index<DD><CODE>endRow</CODE> - Final row index<DD><CODE>startColumn</CODE> - Initial column index<DD><CODE>endColumn</CODE> - Final column index
|
|
1236 <DT><B>Returns:</B><DD>The subMatrix containing the data of the
|
|
1237 specified rows and columns
|
|
1238 <DT><B>Throws:</B>
|
|
1239 <DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/MatrixIndexException.html" title="class in org.apache.commons.math.linear">MatrixIndexException</A></CODE> - if row or column selections are not valid</DL>
|
|
1240 </DD>
|
|
1241 </DL>
|
|
1242 <HR>
|
|
1243
|
|
1244 <A NAME="getSubMatrix(int[], int[])"><!-- --></A><H3>
|
|
1245 getSubMatrix</H3>
|
|
1246 <PRE>
|
|
1247 public <A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A> <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.641"><B>getSubMatrix</B></A>(int[] selectedRows,
|
|
1248 int[] selectedColumns)
|
|
1249 throws <A HREF="../../../../../org/apache/commons/math/linear/MatrixIndexException.html" title="class in org.apache.commons.math.linear">MatrixIndexException</A></PRE>
|
|
1250 <DL>
|
|
1251 <DD><B>Deprecated.</B> <DD>Gets a submatrix. Rows and columns are indicated
|
|
1252 counting from 0 to n-1.
|
|
1253 <P>
|
|
1254 <DD><DL>
|
|
1255 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html#getSubMatrix(int[], int[])">getSubMatrix</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></DL>
|
|
1256 </DD>
|
|
1257 <DD><DL>
|
|
1258 <DT><B>Parameters:</B><DD><CODE>selectedRows</CODE> - Array of row indices must be non-empty<DD><CODE>selectedColumns</CODE> - Array of column indices must be non-empty
|
|
1259 <DT><B>Returns:</B><DD>The subMatrix containing the data in the
|
|
1260 specified rows and columns
|
|
1261 <DT><B>Throws:</B>
|
|
1262 <DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/MatrixIndexException.html" title="class in org.apache.commons.math.linear">MatrixIndexException</A></CODE> - if supplied row or column index arrays
|
|
1263 are not valid</DL>
|
|
1264 </DD>
|
|
1265 </DL>
|
|
1266 <HR>
|
|
1267
|
|
1268 <A NAME="setSubMatrix(java.math.BigDecimal[][], int, int)"><!-- --></A><H3>
|
|
1269 setSubMatrix</H3>
|
|
1270 <PRE>
|
|
1271 public void <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.701"><B>setSubMatrix</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>[][] subMatrix,
|
|
1272 int row,
|
|
1273 int column)
|
|
1274 throws <A HREF="../../../../../org/apache/commons/math/linear/MatrixIndexException.html" title="class in org.apache.commons.math.linear">MatrixIndexException</A></PRE>
|
|
1275 <DL>
|
|
1276 <DD><B>Deprecated.</B> <DD>Replace the submatrix starting at <code>row, column</code> using data in
|
|
1277 the input <code>subMatrix</code> array. Indexes are 0-based.
|
|
1278 <p>
|
|
1279 Example:<br>
|
|
1280 Starting with <pre>
|
|
1281 1 2 3 4
|
|
1282 5 6 7 8
|
|
1283 9 0 1 2
|
|
1284 </pre>
|
|
1285 and <code>subMatrix = {{3, 4} {5,6}}</code>, invoking
|
|
1286 <code>setSubMatrix(subMatrix,1,1))</code> will result in <pre>
|
|
1287 1 2 3 4
|
|
1288 5 3 4 8
|
|
1289 9 5 6 2
|
|
1290 </pre></p>
|
|
1291 <P>
|
|
1292 <DD><DL>
|
|
1293 </DL>
|
|
1294 </DD>
|
|
1295 <DD><DL>
|
|
1296 <DT><B>Parameters:</B><DD><CODE>subMatrix</CODE> - array containing the submatrix replacement data<DD><CODE>row</CODE> - row coordinate of the top, left element to be replaced<DD><CODE>column</CODE> - column coordinate of the top, left element to be replaced
|
|
1297 <DT><B>Throws:</B>
|
|
1298 <DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/MatrixIndexException.html" title="class in org.apache.commons.math.linear">MatrixIndexException</A></CODE> - if subMatrix does not fit into this
|
|
1299 matrix from element in (row, column)
|
|
1300 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if <code>subMatrix</code> is not rectangular
|
|
1301 (not all rows have the same length) or empty
|
|
1302 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</A></CODE> - if <code>subMatrix</code> is null<DT><B>Since:</B></DT>
|
|
1303 <DD>1.1</DD>
|
|
1304 </DL>
|
|
1305 </DD>
|
|
1306 </DL>
|
|
1307 <HR>
|
|
1308
|
|
1309 <A NAME="getRowMatrix(int)"><!-- --></A><H3>
|
|
1310 getRowMatrix</H3>
|
|
1311 <PRE>
|
|
1312 public <A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A> <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.757"><B>getRowMatrix</B></A>(int row)
|
|
1313 throws <A HREF="../../../../../org/apache/commons/math/linear/MatrixIndexException.html" title="class in org.apache.commons.math.linear">MatrixIndexException</A></PRE>
|
|
1314 <DL>
|
|
1315 <DD><B>Deprecated.</B> <DD>Returns the entries in row number <code>row</code>
|
|
1316 as a row matrix. Row indices start at 0.
|
|
1317 <P>
|
|
1318 <DD><DL>
|
|
1319 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html#getRowMatrix(int)">getRowMatrix</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></DL>
|
|
1320 </DD>
|
|
1321 <DD><DL>
|
|
1322 <DT><B>Parameters:</B><DD><CODE>row</CODE> - the row to be fetched
|
|
1323 <DT><B>Returns:</B><DD>row matrix
|
|
1324 <DT><B>Throws:</B>
|
|
1325 <DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/MatrixIndexException.html" title="class in org.apache.commons.math.linear">MatrixIndexException</A></CODE> - if the specified row index is invalid</DL>
|
|
1326 </DD>
|
|
1327 </DL>
|
|
1328 <HR>
|
|
1329
|
|
1330 <A NAME="getColumnMatrix(int)"><!-- --></A><H3>
|
|
1331 getColumnMatrix</H3>
|
|
1332 <PRE>
|
|
1333 public <A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A> <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.773"><B>getColumnMatrix</B></A>(int column)
|
|
1334 throws <A HREF="../../../../../org/apache/commons/math/linear/MatrixIndexException.html" title="class in org.apache.commons.math.linear">MatrixIndexException</A></PRE>
|
|
1335 <DL>
|
|
1336 <DD><B>Deprecated.</B> <DD>Returns the entries in column number <code>column</code>
|
|
1337 as a column matrix. Column indices start at 0.
|
|
1338 <P>
|
|
1339 <DD><DL>
|
|
1340 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html#getColumnMatrix(int)">getColumnMatrix</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></DL>
|
|
1341 </DD>
|
|
1342 <DD><DL>
|
|
1343 <DT><B>Parameters:</B><DD><CODE>column</CODE> - the column to be fetched
|
|
1344 <DT><B>Returns:</B><DD>column matrix
|
|
1345 <DT><B>Throws:</B>
|
|
1346 <DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/MatrixIndexException.html" title="class in org.apache.commons.math.linear">MatrixIndexException</A></CODE> - if the specified column index is invalid</DL>
|
|
1347 </DD>
|
|
1348 </DL>
|
|
1349 <HR>
|
|
1350
|
|
1351 <A NAME="getRow(int)"><!-- --></A><H3>
|
|
1352 getRow</H3>
|
|
1353 <PRE>
|
|
1354 public <A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>[] <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.793"><B>getRow</B></A>(int row)
|
|
1355 throws <A HREF="../../../../../org/apache/commons/math/linear/MatrixIndexException.html" title="class in org.apache.commons.math.linear">MatrixIndexException</A></PRE>
|
|
1356 <DL>
|
|
1357 <DD><B>Deprecated.</B> <DD>Returns the entries in row number <code>row</code> as an array.
|
|
1358 <p>
|
|
1359 Row indices start at 0. A <code>MatrixIndexException</code> is thrown
|
|
1360 unless <code>0 <= row < rowDimension.</code></p>
|
|
1361 <P>
|
|
1362 <DD><DL>
|
|
1363 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html#getRow(int)">getRow</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></DL>
|
|
1364 </DD>
|
|
1365 <DD><DL>
|
|
1366 <DT><B>Parameters:</B><DD><CODE>row</CODE> - the row to be fetched
|
|
1367 <DT><B>Returns:</B><DD>array of entries in the row
|
|
1368 <DT><B>Throws:</B>
|
|
1369 <DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/MatrixIndexException.html" title="class in org.apache.commons.math.linear">MatrixIndexException</A></CODE> - if the specified row index is not valid</DL>
|
|
1370 </DD>
|
|
1371 </DL>
|
|
1372 <HR>
|
|
1373
|
|
1374 <A NAME="getRowAsDoubleArray(int)"><!-- --></A><H3>
|
|
1375 getRowAsDoubleArray</H3>
|
|
1376 <PRE>
|
|
1377 public double[] <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.812"><B>getRowAsDoubleArray</B></A>(int row)
|
|
1378 throws <A HREF="../../../../../org/apache/commons/math/linear/MatrixIndexException.html" title="class in org.apache.commons.math.linear">MatrixIndexException</A></PRE>
|
|
1379 <DL>
|
|
1380 <DD><B>Deprecated.</B> <DD>Returns the entries in row number <code>row</code> as an array
|
|
1381 of double values.
|
|
1382 <p>
|
|
1383 Row indices start at 0. A <code>MatrixIndexException</code> is thrown
|
|
1384 unless <code>0 <= row < rowDimension.</code></p>
|
|
1385 <P>
|
|
1386 <DD><DL>
|
|
1387 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html#getRowAsDoubleArray(int)">getRowAsDoubleArray</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></DL>
|
|
1388 </DD>
|
|
1389 <DD><DL>
|
|
1390 <DT><B>Parameters:</B><DD><CODE>row</CODE> - the row to be fetched
|
|
1391 <DT><B>Returns:</B><DD>array of entries in the row
|
|
1392 <DT><B>Throws:</B>
|
|
1393 <DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/MatrixIndexException.html" title="class in org.apache.commons.math.linear">MatrixIndexException</A></CODE> - if the specified row index is not valid</DL>
|
|
1394 </DD>
|
|
1395 </DL>
|
|
1396 <HR>
|
|
1397
|
|
1398 <A NAME="getColumn(int)"><!-- --></A><H3>
|
|
1399 getColumn</H3>
|
|
1400 <PRE>
|
|
1401 public <A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>[] <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.832"><B>getColumn</B></A>(int col)
|
|
1402 throws <A HREF="../../../../../org/apache/commons/math/linear/MatrixIndexException.html" title="class in org.apache.commons.math.linear">MatrixIndexException</A></PRE>
|
|
1403 <DL>
|
|
1404 <DD><B>Deprecated.</B> <DD>Returns the entries in column number <code>col</code> as an array.
|
|
1405 <p>
|
|
1406 Column indices start at 0. A <code>MatrixIndexException</code> is thrown
|
|
1407 unless <code>0 <= column < columnDimension.</code></p>
|
|
1408 <P>
|
|
1409 <DD><DL>
|
|
1410 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html#getColumn(int)">getColumn</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></DL>
|
|
1411 </DD>
|
|
1412 <DD><DL>
|
|
1413 <DT><B>Parameters:</B><DD><CODE>col</CODE> - the column to be fetched
|
|
1414 <DT><B>Returns:</B><DD>array of entries in the column
|
|
1415 <DT><B>Throws:</B>
|
|
1416 <DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/MatrixIndexException.html" title="class in org.apache.commons.math.linear">MatrixIndexException</A></CODE> - if the specified column index is not valid</DL>
|
|
1417 </DD>
|
|
1418 </DL>
|
|
1419 <HR>
|
|
1420
|
|
1421 <A NAME="getColumnAsDoubleArray(int)"><!-- --></A><H3>
|
|
1422 getColumnAsDoubleArray</H3>
|
|
1423 <PRE>
|
|
1424 public double[] <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.853"><B>getColumnAsDoubleArray</B></A>(int col)
|
|
1425 throws <A HREF="../../../../../org/apache/commons/math/linear/MatrixIndexException.html" title="class in org.apache.commons.math.linear">MatrixIndexException</A></PRE>
|
|
1426 <DL>
|
|
1427 <DD><B>Deprecated.</B> <DD>Returns the entries in column number <code>col</code> as an array
|
|
1428 of double values.
|
|
1429 <p>
|
|
1430 Column indices start at 0. A <code>MatrixIndexException</code> is thrown
|
|
1431 unless <code>0 <= column < columnDimension.</code></p>
|
|
1432 <P>
|
|
1433 <DD><DL>
|
|
1434 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html#getColumnAsDoubleArray(int)">getColumnAsDoubleArray</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></DL>
|
|
1435 </DD>
|
|
1436 <DD><DL>
|
|
1437 <DT><B>Parameters:</B><DD><CODE>col</CODE> - the column to be fetched
|
|
1438 <DT><B>Returns:</B><DD>array of entries in the column
|
|
1439 <DT><B>Throws:</B>
|
|
1440 <DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/MatrixIndexException.html" title="class in org.apache.commons.math.linear">MatrixIndexException</A></CODE> - if the specified column index is not valid</DL>
|
|
1441 </DD>
|
|
1442 </DL>
|
|
1443 <HR>
|
|
1444
|
|
1445 <A NAME="getEntry(int, int)"><!-- --></A><H3>
|
|
1446 getEntry</H3>
|
|
1447 <PRE>
|
|
1448 public <A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A> <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.878"><B>getEntry</B></A>(int row,
|
|
1449 int column)
|
|
1450 throws <A HREF="../../../../../org/apache/commons/math/linear/MatrixIndexException.html" title="class in org.apache.commons.math.linear">MatrixIndexException</A></PRE>
|
|
1451 <DL>
|
|
1452 <DD><B>Deprecated.</B> <DD>Returns the entry in the specified row and column.
|
|
1453 <p>
|
|
1454 Row and column indices start at 0 and must satisfy
|
|
1455 <ul>
|
|
1456 <li><code>0 <= row < rowDimension</code></li>
|
|
1457 <li><code> 0 <= column < columnDimension</code></li>
|
|
1458 </ul>
|
|
1459 otherwise a <code>MatrixIndexException</code> is thrown.</p>
|
|
1460 <P>
|
|
1461 <DD><DL>
|
|
1462 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html#getEntry(int, int)">getEntry</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></DL>
|
|
1463 </DD>
|
|
1464 <DD><DL>
|
|
1465 <DT><B>Parameters:</B><DD><CODE>row</CODE> - row location of entry to be fetched<DD><CODE>column</CODE> - column location of entry to be fetched
|
|
1466 <DT><B>Returns:</B><DD>matrix entry in row,column
|
|
1467 <DT><B>Throws:</B>
|
|
1468 <DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/MatrixIndexException.html" title="class in org.apache.commons.math.linear">MatrixIndexException</A></CODE> - if the row or column index is not valid</DL>
|
|
1469 </DD>
|
|
1470 </DL>
|
|
1471 <HR>
|
|
1472
|
|
1473 <A NAME="getEntryAsDouble(int, int)"><!-- --></A><H3>
|
|
1474 getEntryAsDouble</H3>
|
|
1475 <PRE>
|
|
1476 public double <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.905"><B>getEntryAsDouble</B></A>(int row,
|
|
1477 int column)
|
|
1478 throws <A HREF="../../../../../org/apache/commons/math/linear/MatrixIndexException.html" title="class in org.apache.commons.math.linear">MatrixIndexException</A></PRE>
|
|
1479 <DL>
|
|
1480 <DD><B>Deprecated.</B> <DD>Returns the entry in the specified row and column as a double.
|
|
1481 <p>
|
|
1482 Row and column indices start at 0 and must satisfy
|
|
1483 <ul>
|
|
1484 <li><code>0 <= row < rowDimension</code></li>
|
|
1485 <li><code> 0 <= column < columnDimension</code></li>
|
|
1486 </ul>
|
|
1487 otherwise a <code>MatrixIndexException</code> is thrown.</p>
|
|
1488 <P>
|
|
1489 <DD><DL>
|
|
1490 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html#getEntryAsDouble(int, int)">getEntryAsDouble</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></DL>
|
|
1491 </DD>
|
|
1492 <DD><DL>
|
|
1493 <DT><B>Parameters:</B><DD><CODE>row</CODE> - row location of entry to be fetched<DD><CODE>column</CODE> - column location of entry to be fetched
|
|
1494 <DT><B>Returns:</B><DD>matrix entry in row,column
|
|
1495 <DT><B>Throws:</B>
|
|
1496 <DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/MatrixIndexException.html" title="class in org.apache.commons.math.linear">MatrixIndexException</A></CODE> - if the row
|
|
1497 or column index is not valid</DL>
|
|
1498 </DD>
|
|
1499 </DL>
|
|
1500 <HR>
|
|
1501
|
|
1502 <A NAME="transpose()"><!-- --></A><H3>
|
|
1503 transpose</H3>
|
|
1504 <PRE>
|
|
1505 public <A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A> <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.914"><B>transpose</B></A>()</PRE>
|
|
1506 <DL>
|
|
1507 <DD><B>Deprecated.</B> <DD>Returns the transpose matrix.
|
|
1508 <P>
|
|
1509 <DD><DL>
|
|
1510 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html#transpose()">transpose</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></DL>
|
|
1511 </DD>
|
|
1512 <DD><DL>
|
|
1513
|
|
1514 <DT><B>Returns:</B><DD>transpose matrix</DL>
|
|
1515 </DD>
|
|
1516 </DL>
|
|
1517 <HR>
|
|
1518
|
|
1519 <A NAME="inverse()"><!-- --></A><H3>
|
|
1520 inverse</H3>
|
|
1521 <PRE>
|
|
1522 public <A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A> <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.933"><B>inverse</B></A>()
|
|
1523 throws <A HREF="../../../../../org/apache/commons/math/linear/InvalidMatrixException.html" title="class in org.apache.commons.math.linear">InvalidMatrixException</A></PRE>
|
|
1524 <DL>
|
|
1525 <DD><B>Deprecated.</B> <DD>Returns the inverse matrix if this matrix is invertible.
|
|
1526 <P>
|
|
1527 <DD><DL>
|
|
1528 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html#inverse()">inverse</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></DL>
|
|
1529 </DD>
|
|
1530 <DD><DL>
|
|
1531
|
|
1532 <DT><B>Returns:</B><DD>inverse matrix
|
|
1533 <DT><B>Throws:</B>
|
|
1534 <DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/InvalidMatrixException.html" title="class in org.apache.commons.math.linear">InvalidMatrixException</A></CODE> - if this is not invertible</DL>
|
|
1535 </DD>
|
|
1536 </DL>
|
|
1537 <HR>
|
|
1538
|
|
1539 <A NAME="getDeterminant()"><!-- --></A><H3>
|
|
1540 getDeterminant</H3>
|
|
1541 <PRE>
|
|
1542 public <A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A> <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.943"><B>getDeterminant</B></A>()
|
|
1543 throws <A HREF="../../../../../org/apache/commons/math/linear/InvalidMatrixException.html" title="class in org.apache.commons.math.linear">InvalidMatrixException</A></PRE>
|
|
1544 <DL>
|
|
1545 <DD><B>Deprecated.</B> <DD>Returns the determinant of this matrix.
|
|
1546 <P>
|
|
1547 <DD><DL>
|
|
1548 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html#getDeterminant()">getDeterminant</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></DL>
|
|
1549 </DD>
|
|
1550 <DD><DL>
|
|
1551
|
|
1552 <DT><B>Returns:</B><DD>determinant
|
|
1553 <DT><B>Throws:</B>
|
|
1554 <DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/InvalidMatrixException.html" title="class in org.apache.commons.math.linear">InvalidMatrixException</A></CODE> - if matrix is not square</DL>
|
|
1555 </DD>
|
|
1556 </DL>
|
|
1557 <HR>
|
|
1558
|
|
1559 <A NAME="isSquare()"><!-- --></A><H3>
|
|
1560 isSquare</H3>
|
|
1561 <PRE>
|
|
1562 public boolean <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.962"><B>isSquare</B></A>()</PRE>
|
|
1563 <DL>
|
|
1564 <DD><B>Deprecated.</B> <DD>Is this a square matrix?
|
|
1565 <P>
|
|
1566 <DD><DL>
|
|
1567 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/AnyMatrix.html#isSquare()">isSquare</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/AnyMatrix.html" title="interface in org.apache.commons.math.linear">AnyMatrix</A></CODE></DL>
|
|
1568 </DD>
|
|
1569 <DD><DL>
|
|
1570
|
|
1571 <DT><B>Returns:</B><DD>true if the matrix is square (rowDimension = columnDimension)</DL>
|
|
1572 </DD>
|
|
1573 </DL>
|
|
1574 <HR>
|
|
1575
|
|
1576 <A NAME="isSingular()"><!-- --></A><H3>
|
|
1577 isSingular</H3>
|
|
1578 <PRE>
|
|
1579 public boolean <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.970"><B>isSingular</B></A>()</PRE>
|
|
1580 <DL>
|
|
1581 <DD><B>Deprecated.</B> <DD>Is this a singular matrix?
|
|
1582 <P>
|
|
1583 <DD><DL>
|
|
1584 </DL>
|
|
1585 </DD>
|
|
1586 <DD><DL>
|
|
1587
|
|
1588 <DT><B>Returns:</B><DD>true if the matrix is singular</DL>
|
|
1589 </DD>
|
|
1590 </DL>
|
|
1591 <HR>
|
|
1592
|
|
1593 <A NAME="getRowDimension()"><!-- --></A><H3>
|
|
1594 getRowDimension</H3>
|
|
1595 <PRE>
|
|
1596 public int <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.988"><B>getRowDimension</B></A>()</PRE>
|
|
1597 <DL>
|
|
1598 <DD><B>Deprecated.</B> <DD>Returns the number of rows in the matrix.
|
|
1599 <P>
|
|
1600 <DD><DL>
|
|
1601 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/AnyMatrix.html#getRowDimension()">getRowDimension</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/AnyMatrix.html" title="interface in org.apache.commons.math.linear">AnyMatrix</A></CODE></DL>
|
|
1602 </DD>
|
|
1603 <DD><DL>
|
|
1604
|
|
1605 <DT><B>Returns:</B><DD>rowDimension</DL>
|
|
1606 </DD>
|
|
1607 </DL>
|
|
1608 <HR>
|
|
1609
|
|
1610 <A NAME="getColumnDimension()"><!-- --></A><H3>
|
|
1611 getColumnDimension</H3>
|
|
1612 <PRE>
|
|
1613 public int <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.997"><B>getColumnDimension</B></A>()</PRE>
|
|
1614 <DL>
|
|
1615 <DD><B>Deprecated.</B> <DD>Returns the number of columns in the matrix.
|
|
1616 <P>
|
|
1617 <DD><DL>
|
|
1618 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/AnyMatrix.html#getColumnDimension()">getColumnDimension</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/AnyMatrix.html" title="interface in org.apache.commons.math.linear">AnyMatrix</A></CODE></DL>
|
|
1619 </DD>
|
|
1620 <DD><DL>
|
|
1621
|
|
1622 <DT><B>Returns:</B><DD>columnDimension</DL>
|
|
1623 </DD>
|
|
1624 </DL>
|
|
1625 <HR>
|
|
1626
|
|
1627 <A NAME="getTrace()"><!-- --></A><H3>
|
|
1628 getTrace</H3>
|
|
1629 <PRE>
|
|
1630 public <A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A> <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.1009"><B>getTrace</B></A>()
|
|
1631 throws <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></PRE>
|
|
1632 <DL>
|
|
1633 <DD><B>Deprecated.</B> <DD>Returns the <a href="http://mathworld.wolfram.com/MatrixTrace.html">
|
|
1634 trace</a> of the matrix (the sum of the elements on the main diagonal).
|
|
1635 <P>
|
|
1636 <DD><DL>
|
|
1637 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html#getTrace()">getTrace</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></DL>
|
|
1638 </DD>
|
|
1639 <DD><DL>
|
|
1640
|
|
1641 <DT><B>Returns:</B><DD>trace
|
|
1642 <DT><B>Throws:</B>
|
|
1643 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if this matrix is not square.</DL>
|
|
1644 </DD>
|
|
1645 </DL>
|
|
1646 <HR>
|
|
1647
|
|
1648 <A NAME="operate(java.math.BigDecimal[])"><!-- --></A><H3>
|
|
1649 operate</H3>
|
|
1650 <PRE>
|
|
1651 public <A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>[] <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.1027"><B>operate</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>[] v)
|
|
1652 throws <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></PRE>
|
|
1653 <DL>
|
|
1654 <DD><B>Deprecated.</B> <DD>Returns the result of multiplying this by the vector <code>v</code>.
|
|
1655 <P>
|
|
1656 <DD><DL>
|
|
1657 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html#operate(java.math.BigDecimal[])">operate</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></DL>
|
|
1658 </DD>
|
|
1659 <DD><DL>
|
|
1660 <DT><B>Parameters:</B><DD><CODE>v</CODE> - the vector to operate on
|
|
1661 <DT><B>Returns:</B><DD>this*v
|
|
1662 <DT><B>Throws:</B>
|
|
1663 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if columnDimension != v.size()</DL>
|
|
1664 </DD>
|
|
1665 </DL>
|
|
1666 <HR>
|
|
1667
|
|
1668 <A NAME="operate(double[])"><!-- --></A><H3>
|
|
1669 operate</H3>
|
|
1670 <PRE>
|
|
1671 public <A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>[] <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.1053"><B>operate</B></A>(double[] v)
|
|
1672 throws <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></PRE>
|
|
1673 <DL>
|
|
1674 <DD><B>Deprecated.</B> <DD>Returns the result of multiplying this by the vector <code>v</code>.
|
|
1675 <P>
|
|
1676 <DD><DL>
|
|
1677 </DL>
|
|
1678 </DD>
|
|
1679 <DD><DL>
|
|
1680 <DT><B>Parameters:</B><DD><CODE>v</CODE> - the vector to operate on
|
|
1681 <DT><B>Returns:</B><DD>this*v
|
|
1682 <DT><B>Throws:</B>
|
|
1683 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if columnDimension != v.size()</DL>
|
|
1684 </DD>
|
|
1685 </DL>
|
|
1686 <HR>
|
|
1687
|
|
1688 <A NAME="preMultiply(java.math.BigDecimal[])"><!-- --></A><H3>
|
|
1689 preMultiply</H3>
|
|
1690 <PRE>
|
|
1691 public <A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>[] <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.1068"><B>preMultiply</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>[] v)
|
|
1692 throws <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></PRE>
|
|
1693 <DL>
|
|
1694 <DD><B>Deprecated.</B> <DD>Returns the (row) vector result of premultiplying this by the vector <code>v</code>.
|
|
1695 <P>
|
|
1696 <DD><DL>
|
|
1697 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html#preMultiply(java.math.BigDecimal[])">preMultiply</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></DL>
|
|
1698 </DD>
|
|
1699 <DD><DL>
|
|
1700 <DT><B>Parameters:</B><DD><CODE>v</CODE> - the row vector to premultiply by
|
|
1701 <DT><B>Returns:</B><DD>v*this
|
|
1702 <DT><B>Throws:</B>
|
|
1703 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if rowDimension != v.size()</DL>
|
|
1704 </DD>
|
|
1705 </DL>
|
|
1706 <HR>
|
|
1707
|
|
1708 <A NAME="solve(java.math.BigDecimal[])"><!-- --></A><H3>
|
|
1709 solve</H3>
|
|
1710 <PRE>
|
|
1711 public <A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>[] <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.1098"><B>solve</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>[] b)
|
|
1712 throws <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A>,
|
|
1713 <A HREF="../../../../../org/apache/commons/math/linear/InvalidMatrixException.html" title="class in org.apache.commons.math.linear">InvalidMatrixException</A></PRE>
|
|
1714 <DL>
|
|
1715 <DD><B>Deprecated.</B> <DD>Returns a matrix of (column) solution vectors for linear systems with
|
|
1716 coefficient matrix = this and constant vectors = columns of
|
|
1717 <code>b</code>.
|
|
1718 <P>
|
|
1719 <DD><DL>
|
|
1720 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html#solve(java.math.BigDecimal[])">solve</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></DL>
|
|
1721 </DD>
|
|
1722 <DD><DL>
|
|
1723 <DT><B>Parameters:</B><DD><CODE>b</CODE> - array of constants forming RHS of linear systems to
|
|
1724 to solve
|
|
1725 <DT><B>Returns:</B><DD>solution array
|
|
1726 <DT><B>Throws:</B>
|
|
1727 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if this.rowDimension != row dimension
|
|
1728 <DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/InvalidMatrixException.html" title="class in org.apache.commons.math.linear">InvalidMatrixException</A></CODE> - if this matrix is not square or is singular</DL>
|
|
1729 </DD>
|
|
1730 </DL>
|
|
1731 <HR>
|
|
1732
|
|
1733 <A NAME="solve(double[])"><!-- --></A><H3>
|
|
1734 solve</H3>
|
|
1735 <PRE>
|
|
1736 public <A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>[] <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.1125"><B>solve</B></A>(double[] b)
|
|
1737 throws <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A>,
|
|
1738 <A HREF="../../../../../org/apache/commons/math/linear/InvalidMatrixException.html" title="class in org.apache.commons.math.linear">InvalidMatrixException</A></PRE>
|
|
1739 <DL>
|
|
1740 <DD><B>Deprecated.</B> <DD>Returns a matrix of (column) solution vectors for linear systems with
|
|
1741 coefficient matrix = this and constant vectors = columns of
|
|
1742 <code>b</code>.
|
|
1743 <P>
|
|
1744 <DD><DL>
|
|
1745 </DL>
|
|
1746 </DD>
|
|
1747 <DD><DL>
|
|
1748 <DT><B>Parameters:</B><DD><CODE>b</CODE> - array of constants forming RHS of linear systems to
|
|
1749 to solve
|
|
1750 <DT><B>Returns:</B><DD>solution array
|
|
1751 <DT><B>Throws:</B>
|
|
1752 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if this.rowDimension != row dimension
|
|
1753 <DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/InvalidMatrixException.html" title="class in org.apache.commons.math.linear">InvalidMatrixException</A></CODE> - if this matrix is not square or is singular</DL>
|
|
1754 </DD>
|
|
1755 </DL>
|
|
1756 <HR>
|
|
1757
|
|
1758 <A NAME="solve(org.apache.commons.math.linear.BigMatrix)"><!-- --></A><H3>
|
|
1759 solve</H3>
|
|
1760 <PRE>
|
|
1761 public <A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A> <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.1144"><B>solve</B></A>(<A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A> b)
|
|
1762 throws <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A>,
|
|
1763 <A HREF="../../../../../org/apache/commons/math/linear/InvalidMatrixException.html" title="class in org.apache.commons.math.linear">InvalidMatrixException</A></PRE>
|
|
1764 <DL>
|
|
1765 <DD><B>Deprecated.</B> <DD>Returns a matrix of (column) solution vectors for linear systems with
|
|
1766 coefficient matrix = this and constant vectors = columns of
|
|
1767 <code>b</code>.
|
|
1768 <P>
|
|
1769 <DD><DL>
|
|
1770 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html#solve(org.apache.commons.math.linear.BigMatrix)">solve</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A></CODE></DL>
|
|
1771 </DD>
|
|
1772 <DD><DL>
|
|
1773 <DT><B>Parameters:</B><DD><CODE>b</CODE> - matrix of constant vectors forming RHS of linear systems to
|
|
1774 to solve
|
|
1775 <DT><B>Returns:</B><DD>matrix of solution vectors
|
|
1776 <DT><B>Throws:</B>
|
|
1777 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if this.rowDimension != row dimension
|
|
1778 <DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/InvalidMatrixException.html" title="class in org.apache.commons.math.linear">InvalidMatrixException</A></CODE> - if this matrix is not square or is singular</DL>
|
|
1779 </DD>
|
|
1780 </DL>
|
|
1781 <HR>
|
|
1782
|
|
1783 <A NAME="luDecompose()"><!-- --></A><H3>
|
|
1784 luDecompose</H3>
|
|
1785 <PRE>
|
|
1786 public void <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.1219"><B>luDecompose</B></A>()
|
|
1787 throws <A HREF="../../../../../org/apache/commons/math/linear/InvalidMatrixException.html" title="class in org.apache.commons.math.linear">InvalidMatrixException</A></PRE>
|
|
1788 <DL>
|
|
1789 <DD><B>Deprecated.</B> <DD>Computes a new
|
|
1790 <a href="http://www.math.gatech.edu/~bourbaki/math2601/Web-notes/2num.pdf">
|
|
1791 LU decompostion</a> for this matrix, storing the result for use by other methods.
|
|
1792 <p>
|
|
1793 <strong>Implementation Note</strong>:<br>
|
|
1794 Uses <a href="http://www.damtp.cam.ac.uk/user/fdl/people/sd/lectures/nummeth98/linear.htm">
|
|
1795 Crout's algortithm</a>, with partial pivoting.</p>
|
|
1796 <p>
|
|
1797 <strong>Usage Note</strong>:<br>
|
|
1798 This method should rarely be invoked directly. Its only use is
|
|
1799 to force recomputation of the LU decomposition when changes have been
|
|
1800 made to the underlying data using direct array references. Changes
|
|
1801 made using setXxx methods will trigger recomputation when needed
|
|
1802 automatically.</p>
|
|
1803 <P>
|
|
1804 <DD><DL>
|
|
1805 </DL>
|
|
1806 </DD>
|
|
1807 <DD><DL>
|
|
1808
|
|
1809 <DT><B>Throws:</B>
|
|
1810 <DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/InvalidMatrixException.html" title="class in org.apache.commons.math.linear">InvalidMatrixException</A></CODE> - if the matrix is non-square or singular.</DL>
|
|
1811 </DD>
|
|
1812 </DL>
|
|
1813 <HR>
|
|
1814
|
|
1815 <A NAME="toString()"><!-- --></A><H3>
|
|
1816 toString</H3>
|
|
1817 <PRE>
|
|
1818 public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.1304"><B>toString</B></A>()</PRE>
|
|
1819 <DL>
|
|
1820 <DD><B>Deprecated.</B> <DD>Get a string representation for this matrix.
|
|
1821 <P>
|
|
1822 <DD><DL>
|
|
1823 <DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL>
|
|
1824 </DD>
|
|
1825 <DD><DL>
|
|
1826
|
|
1827 <DT><B>Returns:</B><DD>a string representation for this matrix</DL>
|
|
1828 </DD>
|
|
1829 </DL>
|
|
1830 <HR>
|
|
1831
|
|
1832 <A NAME="equals(java.lang.Object)"><!-- --></A><H3>
|
|
1833 equals</H3>
|
|
1834 <PRE>
|
|
1835 public boolean <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.1336"><B>equals</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> object)</PRE>
|
|
1836 <DL>
|
|
1837 <DD><B>Deprecated.</B> <DD>Returns true iff <code>object</code> is a
|
|
1838 <code>BigMatrixImpl</code> instance with the same dimensions as this
|
|
1839 and all corresponding matrix entries are equal. BigDecimal.equals
|
|
1840 is used to compare corresponding entries.
|
|
1841 <P>
|
|
1842 <DD><DL>
|
|
1843 <DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL>
|
|
1844 </DD>
|
|
1845 <DD><DL>
|
|
1846 <DT><B>Parameters:</B><DD><CODE>object</CODE> - the object to test equality against.
|
|
1847 <DT><B>Returns:</B><DD>true if object equals this</DL>
|
|
1848 </DD>
|
|
1849 </DL>
|
|
1850 <HR>
|
|
1851
|
|
1852 <A NAME="hashCode()"><!-- --></A><H3>
|
|
1853 hashCode</H3>
|
|
1854 <PRE>
|
|
1855 public int <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.1366"><B>hashCode</B></A>()</PRE>
|
|
1856 <DL>
|
|
1857 <DD><B>Deprecated.</B> <DD>Computes a hashcode for the matrix.
|
|
1858 <P>
|
|
1859 <DD><DL>
|
|
1860 <DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL>
|
|
1861 </DD>
|
|
1862 <DD><DL>
|
|
1863
|
|
1864 <DT><B>Returns:</B><DD>hashcode for matrix</DL>
|
|
1865 </DD>
|
|
1866 </DL>
|
|
1867 <HR>
|
|
1868
|
|
1869 <A NAME="getLUMatrix()"><!-- --></A><H3>
|
|
1870 getLUMatrix</H3>
|
|
1871 <PRE>
|
|
1872 protected <A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear">BigMatrix</A> <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.1411"><B>getLUMatrix</B></A>()
|
|
1873 throws <A HREF="../../../../../org/apache/commons/math/linear/InvalidMatrixException.html" title="class in org.apache.commons.math.linear">InvalidMatrixException</A></PRE>
|
|
1874 <DL>
|
|
1875 <DD><B>Deprecated.</B> <DD>Returns the LU decomposition as a BigMatrix.
|
|
1876 Returns a fresh copy of the cached LU matrix if this has been computed;
|
|
1877 otherwise the composition is computed and cached for use by other methods.
|
|
1878 Since a copy is returned in either case, changes to the returned matrix do not
|
|
1879 affect the LU decomposition property.
|
|
1880 <p>
|
|
1881 The matrix returned is a compact representation of the LU decomposition.
|
|
1882 Elements below the main diagonal correspond to entries of the "L" matrix;
|
|
1883 elements on and above the main diagonal correspond to entries of the "U"
|
|
1884 matrix.</p>
|
|
1885 <p>
|
|
1886 Example: <pre>
|
|
1887
|
|
1888 Returned matrix L U
|
|
1889 2 3 1 1 0 0 2 3 1
|
|
1890 5 4 6 5 1 0 0 4 6
|
|
1891 1 7 8 1 7 1 0 0 8
|
|
1892 </pre>
|
|
1893
|
|
1894 The L and U matrices satisfy the matrix equation LU = permuteRows(this), <br>
|
|
1895 where permuteRows reorders the rows of the matrix to follow the order determined
|
|
1896 by the <a href=#getPermutation()>permutation</a> property.</p>
|
|
1897 <P>
|
|
1898 <DD><DL>
|
|
1899 </DL>
|
|
1900 </DD>
|
|
1901 <DD><DL>
|
|
1902
|
|
1903 <DT><B>Returns:</B><DD>LU decomposition matrix
|
|
1904 <DT><B>Throws:</B>
|
|
1905 <DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/InvalidMatrixException.html" title="class in org.apache.commons.math.linear">InvalidMatrixException</A></CODE> - if the matrix is non-square or singular.</DL>
|
|
1906 </DD>
|
|
1907 </DL>
|
|
1908 <HR>
|
|
1909
|
|
1910 <A NAME="getPermutation()"><!-- --></A><H3>
|
|
1911 getPermutation</H3>
|
|
1912 <PRE>
|
|
1913 protected int[] <A HREF="../../../../../src-html/org/apache/commons/math/linear/BigMatrixImpl.html#line.1430"><B>getPermutation</B></A>()</PRE>
|
|
1914 <DL>
|
|
1915 <DD><B>Deprecated.</B> <DD>Returns the permutation associated with the lu decomposition.
|
|
1916 The entries of the array represent a permutation of the numbers 0, ... , nRows - 1.
|
|
1917 <p>
|
|
1918 Example:
|
|
1919 permutation = [1, 2, 0] means current 2nd row is first, current third row is second
|
|
1920 and current first row is last.</p>
|
|
1921 <p>
|
|
1922 Returns a fresh copy of the array.</p>
|
|
1923 <P>
|
|
1924 <DD><DL>
|
|
1925 </DL>
|
|
1926 </DD>
|
|
1927 <DD><DL>
|
|
1928
|
|
1929 <DT><B>Returns:</B><DD>the permutation</DL>
|
|
1930 </DD>
|
|
1931 </DL>
|
|
1932 <!-- ========= END OF CLASS DATA ========= -->
|
|
1933 <HR>
|
|
1934
|
|
1935
|
|
1936 <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
1937 <A NAME="navbar_bottom"><!-- --></A>
|
|
1938 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
|
1939 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
1940 <TR>
|
|
1941 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
1942 <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
|
1943 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
1944 <TR ALIGN="center" VALIGN="top">
|
|
1945 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
1946 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
1947 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
1948 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BigMatrixImpl.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
1949 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
1950 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
1951 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
1952 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
1953 </TR>
|
|
1954 </TABLE>
|
|
1955 </TD>
|
|
1956 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
1957 </EM>
|
|
1958 </TD>
|
|
1959 </TR>
|
|
1960
|
|
1961 <TR>
|
|
1962 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
1963 <A HREF="../../../../../org/apache/commons/math/linear/BigMatrix.html" title="interface in org.apache.commons.math.linear"><B>PREV CLASS</B></A>
|
|
1964 <A HREF="../../../../../org/apache/commons/math/linear/BlockFieldMatrix.html" title="class in org.apache.commons.math.linear"><B>NEXT CLASS</B></A></FONT></TD>
|
|
1965 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
1966 <A HREF="../../../../../index.html?org/apache/commons/math/linear/BigMatrixImpl.html" target="_top"><B>FRAMES</B></A>
|
|
1967 <A HREF="BigMatrixImpl.html" target="_top"><B>NO FRAMES</B></A>
|
|
1968 <SCRIPT type="text/javascript">
|
|
1969 <!--
|
|
1970 if(window==top) {
|
|
1971 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
1972 }
|
|
1973 //-->
|
|
1974 </SCRIPT>
|
|
1975 <NOSCRIPT>
|
|
1976 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
1977 </NOSCRIPT>
|
|
1978
|
|
1979
|
|
1980 </FONT></TD>
|
|
1981 </TR>
|
|
1982 <TR>
|
|
1983 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
1984 SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
1985 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
1986 DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
1987 </TR>
|
|
1988 </TABLE>
|
|
1989 <A NAME="skip-navbar_bottom"></A>
|
|
1990 <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
1991
|
|
1992 <HR>
|
|
1993 Copyright © 2003-2010 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
|
|
1994 </BODY>
|
|
1995 </HTML>
|