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:14 EDT 2010 -->
|
|
6 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
7 <TITLE>
|
|
8 SparseFieldMatrix (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="SparseFieldMatrix (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/SparseFieldMatrix.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/SingularValueDecompositionImpl.html" title="class in org.apache.commons.math.linear"><B>PREV CLASS</B></A>
|
|
60 <A HREF="../../../../../org/apache/commons/math/linear/SparseFieldVector.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/SparseFieldMatrix.html" target="_top"><B>FRAMES</B></A>
|
|
63 <A HREF="SparseFieldMatrix.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 | FIELD | <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: FIELD | <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 SparseFieldMatrix<T extends <A HREF="../../../../../org/apache/commons/math/FieldElement.html" title="interface in org.apache.commons.math">FieldElement</A><T>></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 "><A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html" title="class in org.apache.commons.math.linear">org.apache.commons.math.linear.AbstractFieldMatrix</A><T>
|
|
98 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.commons.math.linear.SparseFieldMatrix<T></B>
|
|
99 </PRE>
|
|
100 <DL>
|
|
101 <DT><DT><B>Type Parameters:</B><DD><CODE>T</CODE> - the type of the field elements</DL>
|
|
102 <DL>
|
|
103 <DT><B>All Implemented Interfaces:</B> <DD><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/FieldMatrix.html" title="interface in org.apache.commons.math.linear">FieldMatrix</A><T></DD>
|
|
104 </DL>
|
|
105 <HR>
|
|
106 <DL>
|
|
107 <DT><PRE>public class <A HREF="../../../../../src-html/org/apache/commons/math/linear/SparseFieldMatrix.html#line.30"><B>SparseFieldMatrix<T extends <A HREF="../../../../../org/apache/commons/math/FieldElement.html" title="interface in org.apache.commons.math">FieldElement</A><T>></B></A><DT>extends <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html" title="class in org.apache.commons.math.linear">AbstractFieldMatrix</A><T></DL>
|
|
108 </PRE>
|
|
109
|
|
110 <P>
|
|
111 Sparse matrix implementation based on an open addressed map.
|
|
112 <P>
|
|
113
|
|
114 <P>
|
|
115 <DL>
|
|
116 <DT><B>Since:</B></DT>
|
|
117 <DD>2.0</DD>
|
|
118 <DT><B>Version:</B></DT>
|
|
119 <DD>$Revision: 811685 $ $Date: 2009-09-05 13:36:48 -0400 (Sat, 05 Sep 2009) $</DD>
|
|
120 </DL>
|
|
121 <HR>
|
|
122
|
|
123 <P>
|
|
124
|
|
125 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
126
|
|
127 <A NAME="constructor_summary"><!-- --></A>
|
|
128 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
129 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
130 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
131 <B>Constructor Summary</B></FONT></TH>
|
|
132 </TR>
|
|
133 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
134 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html#SparseFieldMatrix(org.apache.commons.math.Field)">SparseFieldMatrix</A></B>(<A HREF="../../../../../org/apache/commons/math/Field.html" title="interface in org.apache.commons.math">Field</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A>> field)</CODE>
|
|
135
|
|
136 <BR>
|
|
137 Creates a matrix with no data.</TD>
|
|
138 </TR>
|
|
139 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
140 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html#SparseFieldMatrix(org.apache.commons.math.Field, int, int)">SparseFieldMatrix</A></B>(<A HREF="../../../../../org/apache/commons/math/Field.html" title="interface in org.apache.commons.math">Field</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A>> field,
|
|
141 int rowDimension,
|
|
142 int columnDimension)</CODE>
|
|
143
|
|
144 <BR>
|
|
145 Create a new SparseFieldMatrix<T> with the supplied row and column dimensions.</TD>
|
|
146 </TR>
|
|
147 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
148 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html#SparseFieldMatrix(org.apache.commons.math.linear.FieldMatrix)">SparseFieldMatrix</A></B>(<A HREF="../../../../../org/apache/commons/math/linear/FieldMatrix.html" title="interface in org.apache.commons.math.linear">FieldMatrix</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A>> other)</CODE>
|
|
149
|
|
150 <BR>
|
|
151 Generic copy constructor.</TD>
|
|
152 </TR>
|
|
153 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
154 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html#SparseFieldMatrix(org.apache.commons.math.linear.SparseFieldMatrix)">SparseFieldMatrix</A></B>(<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="class in org.apache.commons.math.linear">SparseFieldMatrix</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A>> other)</CODE>
|
|
155
|
|
156 <BR>
|
|
157 Copy constructor.</TD>
|
|
158 </TR>
|
|
159 </TABLE>
|
|
160
|
|
161 <!-- ========== METHOD SUMMARY =========== -->
|
|
162
|
|
163 <A NAME="method_summary"><!-- --></A>
|
|
164 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
165 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
166 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
167 <B>Method Summary</B></FONT></TH>
|
|
168 </TR>
|
|
169 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
170 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
171 <CODE> void</CODE></FONT></TD>
|
|
172 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html#addToEntry(int, int, T)">addToEntry</A></B>(int row,
|
|
173 int column,
|
|
174 <A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A> increment)</CODE>
|
|
175
|
|
176 <BR>
|
|
177 Change an entry in the specified row and column.</TD>
|
|
178 </TR>
|
|
179 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
180 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
181 <CODE> <A HREF="../../../../../org/apache/commons/math/linear/FieldMatrix.html" title="interface in org.apache.commons.math.linear">FieldMatrix</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A>></CODE></FONT></TD>
|
|
182 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html#copy()">copy</A></B>()</CODE>
|
|
183
|
|
184 <BR>
|
|
185 Returns a (deep) copy of this.</TD>
|
|
186 </TR>
|
|
187 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
188 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
189 <CODE> <A HREF="../../../../../org/apache/commons/math/linear/FieldMatrix.html" title="interface in org.apache.commons.math.linear">FieldMatrix</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A>></CODE></FONT></TD>
|
|
190 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html#createMatrix(int, int)">createMatrix</A></B>(int rowDimension,
|
|
191 int columnDimension)</CODE>
|
|
192
|
|
193 <BR>
|
|
194 Create a new FieldMatrix<T> of the same type as the instance with the supplied
|
|
195 row and column dimensions.</TD>
|
|
196 </TR>
|
|
197 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
198 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
199 <CODE> int</CODE></FONT></TD>
|
|
200 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html#getColumnDimension()">getColumnDimension</A></B>()</CODE>
|
|
201
|
|
202 <BR>
|
|
203 Returns the number of columns in the matrix.</TD>
|
|
204 </TR>
|
|
205 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
206 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
207 <CODE> <A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A></CODE></FONT></TD>
|
|
208 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html#getEntry(int, int)">getEntry</A></B>(int row,
|
|
209 int column)</CODE>
|
|
210
|
|
211 <BR>
|
|
212 Returns the entry in the specified row and column.</TD>
|
|
213 </TR>
|
|
214 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
215 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
216 <CODE> int</CODE></FONT></TD>
|
|
217 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html#getRowDimension()">getRowDimension</A></B>()</CODE>
|
|
218
|
|
219 <BR>
|
|
220 Returns the number of rows in the matrix.</TD>
|
|
221 </TR>
|
|
222 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
223 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
224 <CODE> void</CODE></FONT></TD>
|
|
225 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html#multiplyEntry(int, int, T)">multiplyEntry</A></B>(int row,
|
|
226 int column,
|
|
227 <A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A> factor)</CODE>
|
|
228
|
|
229 <BR>
|
|
230 Change an entry in the specified row and column.</TD>
|
|
231 </TR>
|
|
232 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
233 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
234 <CODE> void</CODE></FONT></TD>
|
|
235 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html#setEntry(int, int, T)">setEntry</A></B>(int row,
|
|
236 int column,
|
|
237 <A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A> value)</CODE>
|
|
238
|
|
239 <BR>
|
|
240 Set the entry in the specified row and column.</TD>
|
|
241 </TR>
|
|
242 </TABLE>
|
|
243 <A NAME="methods_inherited_from_class_org.apache.commons.math.linear.AbstractFieldMatrix"><!-- --></A>
|
|
244 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
245 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
246 <TH ALIGN="left"><B>Methods inherited from class org.apache.commons.math.linear.<A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html" title="class in org.apache.commons.math.linear">AbstractFieldMatrix</A></B></TH>
|
|
247 </TR>
|
|
248 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
249 <TD><CODE><A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#add(org.apache.commons.math.linear.FieldMatrix)">add</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#buildArray(org.apache.commons.math.Field, int)">buildArray</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#buildArray(org.apache.commons.math.Field, int, int)">buildArray</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#checkAdditionCompatible(org.apache.commons.math.linear.FieldMatrix)">checkAdditionCompatible</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#checkColumnIndex(int)">checkColumnIndex</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#checkMultiplicationCompatible(org.apache.commons.math.linear.FieldMatrix)">checkMultiplicationCompatible</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#checkRowIndex(int)">checkRowIndex</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#checkSubMatrixIndex(int[], int[])">checkSubMatrixIndex</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#checkSubMatrixIndex(int, int, int, int)">checkSubMatrixIndex</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#checkSubtractionCompatible(org.apache.commons.math.linear.FieldMatrix)">checkSubtractionCompatible</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#copySubMatrix(int[], int[], T[][])">copySubMatrix</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#copySubMatrix(int, int, int, int, T[][])">copySubMatrix</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#extractField(T[])">extractField</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#extractField(T[][])">extractField</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#getColumn(int)">getColumn</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#getColumnMatrix(int)">getColumnMatrix</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#getColumnVector(int)">getColumnVector</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#getData()">getData</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#getField()">getField</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#getRow(int)">getRow</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#getRowMatrix(int)">getRowMatrix</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#getRowVector(int)">getRowVector</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#getSubMatrix(int[], int[])">getSubMatrix</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#getSubMatrix(int, int, int, int)">getSubMatrix</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#getTrace()">getTrace</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#hashCode()">hashCode</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#isSquare()">isSquare</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#multiply(org.apache.commons.math.linear.FieldMatrix)">multiply</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#operate(org.apache.commons.math.linear.FieldVector)">operate</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#operate(T[])">operate</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#preMultiply(org.apache.commons.math.linear.FieldMatrix)">preMultiply</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#preMultiply(org.apache.commons.math.linear.FieldVector)">preMultiply</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#preMultiply(T[])">preMultiply</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#scalarAdd(T)">scalarAdd</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#scalarMultiply(T)">scalarMultiply</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#setColumn(int, T[])">setColumn</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#setColumnMatrix(int, org.apache.commons.math.linear.FieldMatrix)">setColumnMatrix</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#setColumnVector(int, org.apache.commons.math.linear.FieldVector)">setColumnVector</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#setRow(int, T[])">setRow</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#setRowMatrix(int, org.apache.commons.math.linear.FieldMatrix)">setRowMatrix</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#setRowVector(int, org.apache.commons.math.linear.FieldVector)">setRowVector</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#setSubMatrix(T[][], int, int)">setSubMatrix</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#subtract(org.apache.commons.math.linear.FieldMatrix)">subtract</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#toString()">toString</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#transpose()">transpose</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#walkInColumnOrder(org.apache.commons.math.linear.FieldMatrixChangingVisitor)">walkInColumnOrder</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#walkInColumnOrder(org.apache.commons.math.linear.FieldMatrixChangingVisitor, int, int, int, int)">walkInColumnOrder</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#walkInColumnOrder(org.apache.commons.math.linear.FieldMatrixPreservingVisitor)">walkInColumnOrder</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#walkInColumnOrder(org.apache.commons.math.linear.FieldMatrixPreservingVisitor, int, int, int, int)">walkInColumnOrder</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#walkInOptimizedOrder(org.apache.commons.math.linear.FieldMatrixChangingVisitor)">walkInOptimizedOrder</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#walkInOptimizedOrder(org.apache.commons.math.linear.FieldMatrixChangingVisitor, int, int, int, int)">walkInOptimizedOrder</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#walkInOptimizedOrder(org.apache.commons.math.linear.FieldMatrixPreservingVisitor)">walkInOptimizedOrder</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#walkInOptimizedOrder(org.apache.commons.math.linear.FieldMatrixPreservingVisitor, int, int, int, int)">walkInOptimizedOrder</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#walkInRowOrder(org.apache.commons.math.linear.FieldMatrixChangingVisitor)">walkInRowOrder</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#walkInRowOrder(org.apache.commons.math.linear.FieldMatrixChangingVisitor, int, int, int, int)">walkInRowOrder</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#walkInRowOrder(org.apache.commons.math.linear.FieldMatrixPreservingVisitor)">walkInRowOrder</A>, <A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#walkInRowOrder(org.apache.commons.math.linear.FieldMatrixPreservingVisitor, int, int, int, int)">walkInRowOrder</A></CODE></TD>
|
|
250 </TR>
|
|
251 </TABLE>
|
|
252 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
|
253 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
254 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
255 <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>
|
|
256 </TR>
|
|
257 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
258 <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>
|
|
259 </TR>
|
|
260 </TABLE>
|
|
261
|
|
262 <P>
|
|
263
|
|
264 <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
265
|
|
266 <A NAME="constructor_detail"><!-- --></A>
|
|
267 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
268 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
269 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
270 <B>Constructor Detail</B></FONT></TH>
|
|
271 </TR>
|
|
272 </TABLE>
|
|
273
|
|
274 <A NAME="SparseFieldMatrix(org.apache.commons.math.Field)"><!-- --></A><H3>
|
|
275 SparseFieldMatrix</H3>
|
|
276 <PRE>
|
|
277 public <A HREF="../../../../../src-html/org/apache/commons/math/linear/SparseFieldMatrix.html#line.51"><B>SparseFieldMatrix</B></A>(<A HREF="../../../../../org/apache/commons/math/Field.html" title="interface in org.apache.commons.math">Field</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A>> field)</PRE>
|
|
278 <DL>
|
|
279 <DD>Creates a matrix with no data.
|
|
280 <P>
|
|
281 <DL>
|
|
282 <DT><B>Parameters:</B><DD><CODE>field</CODE> - field to which the elements belong</DL>
|
|
283 </DL>
|
|
284 <HR>
|
|
285
|
|
286 <A NAME="SparseFieldMatrix(org.apache.commons.math.Field, int, int)"><!-- --></A><H3>
|
|
287 SparseFieldMatrix</H3>
|
|
288 <PRE>
|
|
289 public <A HREF="../../../../../src-html/org/apache/commons/math/linear/SparseFieldMatrix.html#line.66"><B>SparseFieldMatrix</B></A>(<A HREF="../../../../../org/apache/commons/math/Field.html" title="interface in org.apache.commons.math">Field</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A>> field,
|
|
290 int rowDimension,
|
|
291 int columnDimension)
|
|
292 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>
|
|
293 <DL>
|
|
294 <DD>Create a new SparseFieldMatrix<T> with the supplied row and column dimensions.
|
|
295 <P>
|
|
296 <DL>
|
|
297 <DT><B>Parameters:</B><DD><CODE>field</CODE> - field to which the elements belong<DD><CODE>rowDimension</CODE> - the number of rows in the new matrix<DD><CODE>columnDimension</CODE> - the number of columns in the new matrix
|
|
298 <DT><B>Throws:</B>
|
|
299 <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 positive</DL>
|
|
300 </DL>
|
|
301 <HR>
|
|
302
|
|
303 <A NAME="SparseFieldMatrix(org.apache.commons.math.linear.SparseFieldMatrix)"><!-- --></A><H3>
|
|
304 SparseFieldMatrix</H3>
|
|
305 <PRE>
|
|
306 public <A HREF="../../../../../src-html/org/apache/commons/math/linear/SparseFieldMatrix.html#line.79"><B>SparseFieldMatrix</B></A>(<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="class in org.apache.commons.math.linear">SparseFieldMatrix</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A>> other)</PRE>
|
|
307 <DL>
|
|
308 <DD>Copy constructor.
|
|
309 <P>
|
|
310 <DL>
|
|
311 <DT><B>Parameters:</B><DD><CODE>other</CODE> - The instance to copy</DL>
|
|
312 </DL>
|
|
313 <HR>
|
|
314
|
|
315 <A NAME="SparseFieldMatrix(org.apache.commons.math.linear.FieldMatrix)"><!-- --></A><H3>
|
|
316 SparseFieldMatrix</H3>
|
|
317 <PRE>
|
|
318 public <A HREF="../../../../../src-html/org/apache/commons/math/linear/SparseFieldMatrix.html#line.90"><B>SparseFieldMatrix</B></A>(<A HREF="../../../../../org/apache/commons/math/linear/FieldMatrix.html" title="interface in org.apache.commons.math.linear">FieldMatrix</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A>> other)</PRE>
|
|
319 <DL>
|
|
320 <DD>Generic copy constructor.
|
|
321 <P>
|
|
322 <DL>
|
|
323 <DT><B>Parameters:</B><DD><CODE>other</CODE> - The instance to copy</DL>
|
|
324 </DL>
|
|
325
|
|
326 <!-- ============ METHOD DETAIL ========== -->
|
|
327
|
|
328 <A NAME="method_detail"><!-- --></A>
|
|
329 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
330 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
331 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
332 <B>Method Detail</B></FONT></TH>
|
|
333 </TR>
|
|
334 </TABLE>
|
|
335
|
|
336 <A NAME="addToEntry(int,int,org.apache.commons.math.FieldElement)"><!-- --></A><A NAME="addToEntry(int, int, T)"><!-- --></A><H3>
|
|
337 addToEntry</H3>
|
|
338 <PRE>
|
|
339 public void <A HREF="../../../../../src-html/org/apache/commons/math/linear/SparseFieldMatrix.html#line.104"><B>addToEntry</B></A>(int row,
|
|
340 int column,
|
|
341 <A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A> increment)
|
|
342 throws <A HREF="../../../../../org/apache/commons/math/linear/MatrixIndexException.html" title="class in org.apache.commons.math.linear">MatrixIndexException</A></PRE>
|
|
343 <DL>
|
|
344 <DD>Change an entry in the specified row and column.
|
|
345 <p>
|
|
346 Row and column indices start at 0 and must satisfy
|
|
347 <ul>
|
|
348 <li><code>0 <= row < rowDimension</code></li>
|
|
349 <li><code> 0 <= column < columnDimension</code></li>
|
|
350 </ul>
|
|
351 otherwise a <code>MatrixIndexException</code> is thrown.</p>
|
|
352 <P>
|
|
353 <DD><DL>
|
|
354 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/FieldMatrix.html#addToEntry(int, int, T)">addToEntry</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/FieldMatrix.html" title="interface in org.apache.commons.math.linear">FieldMatrix</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A> extends <A HREF="../../../../../org/apache/commons/math/FieldElement.html" title="interface in org.apache.commons.math">FieldElement</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A>>></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#addToEntry(int, int, T)">addToEntry</A></CODE> in class <CODE><A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html" title="class in org.apache.commons.math.linear">AbstractFieldMatrix</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A> extends <A HREF="../../../../../org/apache/commons/math/FieldElement.html" title="interface in org.apache.commons.math">FieldElement</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A>>></CODE></DL>
|
|
355 </DD>
|
|
356 <DD><DL>
|
|
357 <DT><B>Parameters:</B><DD><CODE>row</CODE> - row location of entry to be set<DD><CODE>column</CODE> - column location of entry to be set<DD><CODE>increment</CODE> - value to add to the current matrix entry in row,column
|
|
358 <DT><B>Throws:</B>
|
|
359 <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>
|
|
360 </DD>
|
|
361 </DL>
|
|
362 <HR>
|
|
363
|
|
364 <A NAME="copy()"><!-- --></A><H3>
|
|
365 copy</H3>
|
|
366 <PRE>
|
|
367 public <A HREF="../../../../../org/apache/commons/math/linear/FieldMatrix.html" title="interface in org.apache.commons.math.linear">FieldMatrix</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A>> <A HREF="../../../../../src-html/org/apache/commons/math/linear/SparseFieldMatrix.html#line.120"><B>copy</B></A>()</PRE>
|
|
368 <DL>
|
|
369 <DD>Returns a (deep) copy of this.
|
|
370 <P>
|
|
371 <DD><DL>
|
|
372 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/FieldMatrix.html#copy()">copy</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/FieldMatrix.html" title="interface in org.apache.commons.math.linear">FieldMatrix</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A> extends <A HREF="../../../../../org/apache/commons/math/FieldElement.html" title="interface in org.apache.commons.math">FieldElement</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A>>></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#copy()">copy</A></CODE> in class <CODE><A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html" title="class in org.apache.commons.math.linear">AbstractFieldMatrix</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A> extends <A HREF="../../../../../org/apache/commons/math/FieldElement.html" title="interface in org.apache.commons.math">FieldElement</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A>>></CODE></DL>
|
|
373 </DD>
|
|
374 <DD><DL>
|
|
375
|
|
376 <DT><B>Returns:</B><DD>matrix copy</DL>
|
|
377 </DD>
|
|
378 </DL>
|
|
379 <HR>
|
|
380
|
|
381 <A NAME="createMatrix(int, int)"><!-- --></A><H3>
|
|
382 createMatrix</H3>
|
|
383 <PRE>
|
|
384 public <A HREF="../../../../../org/apache/commons/math/linear/FieldMatrix.html" title="interface in org.apache.commons.math.linear">FieldMatrix</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A>> <A HREF="../../../../../src-html/org/apache/commons/math/linear/SparseFieldMatrix.html#line.126"><B>createMatrix</B></A>(int rowDimension,
|
|
385 int columnDimension)
|
|
386 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>
|
|
387 <DL>
|
|
388 <DD>Create a new FieldMatrix<T> of the same type as the instance with the supplied
|
|
389 row and column dimensions.
|
|
390 <P>
|
|
391 <DD><DL>
|
|
392 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/FieldMatrix.html#createMatrix(int, int)">createMatrix</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/FieldMatrix.html" title="interface in org.apache.commons.math.linear">FieldMatrix</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A> extends <A HREF="../../../../../org/apache/commons/math/FieldElement.html" title="interface in org.apache.commons.math">FieldElement</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A>>></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#createMatrix(int, int)">createMatrix</A></CODE> in class <CODE><A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html" title="class in org.apache.commons.math.linear">AbstractFieldMatrix</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A> extends <A HREF="../../../../../org/apache/commons/math/FieldElement.html" title="interface in org.apache.commons.math">FieldElement</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A>>></CODE></DL>
|
|
393 </DD>
|
|
394 <DD><DL>
|
|
395 <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
|
|
396 <DT><B>Returns:</B><DD>a new matrix of the same type as the instance
|
|
397 <DT><B>Throws:</B>
|
|
398 <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 positive</DL>
|
|
399 </DD>
|
|
400 </DL>
|
|
401 <HR>
|
|
402
|
|
403 <A NAME="getColumnDimension()"><!-- --></A><H3>
|
|
404 getColumnDimension</H3>
|
|
405 <PRE>
|
|
406 public int <A HREF="../../../../../src-html/org/apache/commons/math/linear/SparseFieldMatrix.html#line.133"><B>getColumnDimension</B></A>()</PRE>
|
|
407 <DL>
|
|
408 <DD>Returns the number of columns in the matrix.
|
|
409 <P>
|
|
410 <DD><DL>
|
|
411 <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><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#getColumnDimension()">getColumnDimension</A></CODE> in class <CODE><A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html" title="class in org.apache.commons.math.linear">AbstractFieldMatrix</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A> extends <A HREF="../../../../../org/apache/commons/math/FieldElement.html" title="interface in org.apache.commons.math">FieldElement</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A>>></CODE></DL>
|
|
412 </DD>
|
|
413 <DD><DL>
|
|
414
|
|
415 <DT><B>Returns:</B><DD>columnDimension</DL>
|
|
416 </DD>
|
|
417 </DL>
|
|
418 <HR>
|
|
419
|
|
420 <A NAME="getEntry(int, int)"><!-- --></A><H3>
|
|
421 getEntry</H3>
|
|
422 <PRE>
|
|
423 public <A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A> <A HREF="../../../../../src-html/org/apache/commons/math/linear/SparseFieldMatrix.html#line.139"><B>getEntry</B></A>(int row,
|
|
424 int column)
|
|
425 throws <A HREF="../../../../../org/apache/commons/math/linear/MatrixIndexException.html" title="class in org.apache.commons.math.linear">MatrixIndexException</A></PRE>
|
|
426 <DL>
|
|
427 <DD>Returns the entry in the specified row and column.
|
|
428 <p>
|
|
429 Row and column indices start at 0 and must satisfy
|
|
430 <ul>
|
|
431 <li><code>0 <= row < rowDimension</code></li>
|
|
432 <li><code> 0 <= column < columnDimension</code></li>
|
|
433 </ul>
|
|
434 otherwise a <code>MatrixIndexException</code> is thrown.</p>
|
|
435 <P>
|
|
436 <DD><DL>
|
|
437 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/FieldMatrix.html#getEntry(int, int)">getEntry</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/FieldMatrix.html" title="interface in org.apache.commons.math.linear">FieldMatrix</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A> extends <A HREF="../../../../../org/apache/commons/math/FieldElement.html" title="interface in org.apache.commons.math">FieldElement</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A>>></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#getEntry(int, int)">getEntry</A></CODE> in class <CODE><A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html" title="class in org.apache.commons.math.linear">AbstractFieldMatrix</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A> extends <A HREF="../../../../../org/apache/commons/math/FieldElement.html" title="interface in org.apache.commons.math">FieldElement</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A>>></CODE></DL>
|
|
438 </DD>
|
|
439 <DD><DL>
|
|
440 <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
|
|
441 <DT><B>Returns:</B><DD>matrix entry in row,column
|
|
442 <DT><B>Throws:</B>
|
|
443 <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>
|
|
444 </DD>
|
|
445 </DL>
|
|
446 <HR>
|
|
447
|
|
448 <A NAME="getRowDimension()"><!-- --></A><H3>
|
|
449 getRowDimension</H3>
|
|
450 <PRE>
|
|
451 public int <A HREF="../../../../../src-html/org/apache/commons/math/linear/SparseFieldMatrix.html#line.147"><B>getRowDimension</B></A>()</PRE>
|
|
452 <DL>
|
|
453 <DD>Returns the number of rows in the matrix.
|
|
454 <P>
|
|
455 <DD><DL>
|
|
456 <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><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#getRowDimension()">getRowDimension</A></CODE> in class <CODE><A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html" title="class in org.apache.commons.math.linear">AbstractFieldMatrix</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A> extends <A HREF="../../../../../org/apache/commons/math/FieldElement.html" title="interface in org.apache.commons.math">FieldElement</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A>>></CODE></DL>
|
|
457 </DD>
|
|
458 <DD><DL>
|
|
459
|
|
460 <DT><B>Returns:</B><DD>rowDimension</DL>
|
|
461 </DD>
|
|
462 </DL>
|
|
463 <HR>
|
|
464
|
|
465 <A NAME="multiplyEntry(int,int,org.apache.commons.math.FieldElement)"><!-- --></A><A NAME="multiplyEntry(int, int, T)"><!-- --></A><H3>
|
|
466 multiplyEntry</H3>
|
|
467 <PRE>
|
|
468 public void <A HREF="../../../../../src-html/org/apache/commons/math/linear/SparseFieldMatrix.html#line.153"><B>multiplyEntry</B></A>(int row,
|
|
469 int column,
|
|
470 <A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A> factor)
|
|
471 throws <A HREF="../../../../../org/apache/commons/math/linear/MatrixIndexException.html" title="class in org.apache.commons.math.linear">MatrixIndexException</A></PRE>
|
|
472 <DL>
|
|
473 <DD>Change an entry in the specified row and column.
|
|
474 <p>
|
|
475 Row and column indices start at 0 and must satisfy
|
|
476 <ul>
|
|
477 <li><code>0 <= row < rowDimension</code></li>
|
|
478 <li><code> 0 <= column < columnDimension</code></li>
|
|
479 </ul>
|
|
480 otherwise a <code>MatrixIndexException</code> is thrown.</p>
|
|
481 <P>
|
|
482 <DD><DL>
|
|
483 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/FieldMatrix.html#multiplyEntry(int, int, T)">multiplyEntry</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/FieldMatrix.html" title="interface in org.apache.commons.math.linear">FieldMatrix</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A> extends <A HREF="../../../../../org/apache/commons/math/FieldElement.html" title="interface in org.apache.commons.math">FieldElement</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A>>></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#multiplyEntry(int, int, T)">multiplyEntry</A></CODE> in class <CODE><A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html" title="class in org.apache.commons.math.linear">AbstractFieldMatrix</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A> extends <A HREF="../../../../../org/apache/commons/math/FieldElement.html" title="interface in org.apache.commons.math">FieldElement</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A>>></CODE></DL>
|
|
484 </DD>
|
|
485 <DD><DL>
|
|
486 <DT><B>Parameters:</B><DD><CODE>row</CODE> - row location of entry to be set<DD><CODE>column</CODE> - column location of entry to be set<DD><CODE>factor</CODE> - multiplication factor for the current matrix entry in row,column
|
|
487 <DT><B>Throws:</B>
|
|
488 <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>
|
|
489 </DD>
|
|
490 </DL>
|
|
491 <HR>
|
|
492
|
|
493 <A NAME="setEntry(int,int,org.apache.commons.math.FieldElement)"><!-- --></A><A NAME="setEntry(int, int, T)"><!-- --></A><H3>
|
|
494 setEntry</H3>
|
|
495 <PRE>
|
|
496 public void <A HREF="../../../../../src-html/org/apache/commons/math/linear/SparseFieldMatrix.html#line.169"><B>setEntry</B></A>(int row,
|
|
497 int column,
|
|
498 <A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A> value)
|
|
499 throws <A HREF="../../../../../org/apache/commons/math/linear/MatrixIndexException.html" title="class in org.apache.commons.math.linear">MatrixIndexException</A></PRE>
|
|
500 <DL>
|
|
501 <DD>Set the entry in the specified row and column.
|
|
502 <p>
|
|
503 Row and column indices start at 0 and must satisfy
|
|
504 <ul>
|
|
505 <li><code>0 <= row < rowDimension</code></li>
|
|
506 <li><code> 0 <= column < columnDimension</code></li>
|
|
507 </ul>
|
|
508 otherwise a <code>MatrixIndexException</code> is thrown.</p>
|
|
509 <P>
|
|
510 <DD><DL>
|
|
511 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/FieldMatrix.html#setEntry(int, int, T)">setEntry</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/linear/FieldMatrix.html" title="interface in org.apache.commons.math.linear">FieldMatrix</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A> extends <A HREF="../../../../../org/apache/commons/math/FieldElement.html" title="interface in org.apache.commons.math">FieldElement</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A>>></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html#setEntry(int, int, T)">setEntry</A></CODE> in class <CODE><A HREF="../../../../../org/apache/commons/math/linear/AbstractFieldMatrix.html" title="class in org.apache.commons.math.linear">AbstractFieldMatrix</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A> extends <A HREF="../../../../../org/apache/commons/math/FieldElement.html" title="interface in org.apache.commons.math">FieldElement</A><<A HREF="../../../../../org/apache/commons/math/linear/SparseFieldMatrix.html" title="type parameter in SparseFieldMatrix">T</A>>></CODE></DL>
|
|
512 </DD>
|
|
513 <DD><DL>
|
|
514 <DT><B>Parameters:</B><DD><CODE>row</CODE> - row location of entry to be set<DD><CODE>column</CODE> - column location of entry to be set<DD><CODE>value</CODE> - matrix entry to be set in row,column
|
|
515 <DT><B>Throws:</B>
|
|
516 <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>
|
|
517 </DD>
|
|
518 </DL>
|
|
519 <!-- ========= END OF CLASS DATA ========= -->
|
|
520 <HR>
|
|
521
|
|
522
|
|
523 <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
524 <A NAME="navbar_bottom"><!-- --></A>
|
|
525 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
|
526 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
527 <TR>
|
|
528 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
529 <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
|
530 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
531 <TR ALIGN="center" VALIGN="top">
|
|
532 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
533 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
534 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
535 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SparseFieldMatrix.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
536 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
537 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
538 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
539 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
540 </TR>
|
|
541 </TABLE>
|
|
542 </TD>
|
|
543 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
544 </EM>
|
|
545 </TD>
|
|
546 </TR>
|
|
547
|
|
548 <TR>
|
|
549 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
550 <A HREF="../../../../../org/apache/commons/math/linear/SingularValueDecompositionImpl.html" title="class in org.apache.commons.math.linear"><B>PREV CLASS</B></A>
|
|
551 <A HREF="../../../../../org/apache/commons/math/linear/SparseFieldVector.html" title="class in org.apache.commons.math.linear"><B>NEXT CLASS</B></A></FONT></TD>
|
|
552 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
553 <A HREF="../../../../../index.html?org/apache/commons/math/linear/SparseFieldMatrix.html" target="_top"><B>FRAMES</B></A>
|
|
554 <A HREF="SparseFieldMatrix.html" target="_top"><B>NO FRAMES</B></A>
|
|
555 <SCRIPT type="text/javascript">
|
|
556 <!--
|
|
557 if(window==top) {
|
|
558 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
559 }
|
|
560 //-->
|
|
561 </SCRIPT>
|
|
562 <NOSCRIPT>
|
|
563 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
564 </NOSCRIPT>
|
|
565
|
|
566
|
|
567 </FONT></TD>
|
|
568 </TR>
|
|
569 <TR>
|
|
570 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
571 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
572 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
573 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
574 </TR>
|
|
575 </TABLE>
|
|
576 <A NAME="skip-navbar_bottom"></A>
|
|
577 <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
578
|
|
579 <HR>
|
|
580 Copyright © 2003-2010 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
|
|
581 </BODY>
|
|
582 </HTML>
|