annotate libs/commons-math-2.1/docs/apidocs/org/apache/commons/math/random/CorrelatedRandomVectorGenerator.html @ 32:d7a43156a79b default tip

new tabs
author dwinter
date Mon, 10 Oct 2011 17:52:22 +0200
parents 878723cc40fb
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
2 <!--NewPage-->
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
3 <HTML>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
4 <HEAD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
5 <!-- Generated by javadoc (build 1.6.0_17) on Sat Mar 27 22:46:15 EDT 2010 -->
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
6 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
7 <TITLE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
8 CorrelatedRandomVectorGenerator (Commons Math 2.1 API)
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
9 </TITLE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
10
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
11 <META NAME="date" CONTENT="2010-03-27">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
12
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
13 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
14
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
15 <SCRIPT type="text/javascript">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
16 function windowTitle()
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
17 {
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
18 if (location.href.indexOf('is-external=true') == -1) {
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
19 parent.document.title="CorrelatedRandomVectorGenerator (Commons Math 2.1 API)";
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
20 }
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
21 }
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
22 </SCRIPT>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
23 <NOSCRIPT>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
24 </NOSCRIPT>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
25
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
26 </HEAD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
27
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
28 <BODY BGCOLOR="white" onload="windowTitle();">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
29 <HR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
30
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
31
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
32 <!-- ========= START OF TOP NAVBAR ======= -->
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
33 <A NAME="navbar_top"><!-- --></A>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
34 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
35 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
36 <TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
37 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
38 <A NAME="navbar_top_firstrow"><!-- --></A>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
39 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
40 <TR ALIGN="center" VALIGN="top">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
43 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CorrelatedRandomVectorGenerator.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
48 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
49 </TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
50 </TABLE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
51 </TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
52 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
53 </EM>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
54 </TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
55 </TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
56
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
57 <TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
58 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
59 &nbsp;<A HREF="../../../../../org/apache/commons/math/random/BitsStreamGenerator.html" title="class in org.apache.commons.math.random"><B>PREV CLASS</B></A>&nbsp;
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
60 &nbsp;<A HREF="../../../../../org/apache/commons/math/random/EmpiricalDistribution.html" title="interface in org.apache.commons.math.random"><B>NEXT CLASS</B></A></FONT></TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
61 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
62 <A HREF="../../../../../index.html?org/apache/commons/math/random/CorrelatedRandomVectorGenerator.html" target="_top"><B>FRAMES</B></A> &nbsp;
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
63 &nbsp;<A HREF="CorrelatedRandomVectorGenerator.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
64 &nbsp;<SCRIPT type="text/javascript">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
65 <!--
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
66 if(window==top) {
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
67 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
68 }
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
69 //-->
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
70 </SCRIPT>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
71 <NOSCRIPT>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
72 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
73 </NOSCRIPT>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
74
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
75
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
76 </FONT></TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
77 </TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
78 <TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
79 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
80 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
81 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
82 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
83 </TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
84 </TABLE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
85 <A NAME="skip-navbar_top"></A>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
86 <!-- ========= END OF TOP NAVBAR ========= -->
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
87
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
88 <HR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
89 <!-- ======== START OF CLASS DATA ======== -->
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
90 <H2>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
91 <FONT SIZE="-1">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
92 org.apache.commons.math.random</FONT>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
93 <BR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
94 Class CorrelatedRandomVectorGenerator</H2>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
95 <PRE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
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>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
97 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.commons.math.random.CorrelatedRandomVectorGenerator</B>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
98 </PRE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
99 <DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
100 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/apache/commons/math/random/RandomVectorGenerator.html" title="interface in org.apache.commons.math.random">RandomVectorGenerator</A></DD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
101 </DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
102 <HR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
103 <DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
104 <DT><PRE>public class <A HREF="../../../../../src-html/org/apache/commons/math/random/CorrelatedRandomVectorGenerator.html#line.62"><B>CorrelatedRandomVectorGenerator</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/random/RandomVectorGenerator.html" title="interface in org.apache.commons.math.random">RandomVectorGenerator</A></DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
105 </PRE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
106
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
107 <P>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
108 A <A HREF="../../../../../org/apache/commons/math/random/RandomVectorGenerator.html" title="interface in org.apache.commons.math.random"><CODE>RandomVectorGenerator</CODE></A> that generates vectors with with
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
109 correlated components.
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
110 <p>Random vectors with correlated components are built by combining
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
111 the uncorrelated components of another random vector in such a way that
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
112 the resulting correlations are the ones specified by a positive
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
113 definite covariance matrix.</p>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
114 <p>The main use for correlated random vector generation is for Monte-Carlo
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
115 simulation of physical problems with several variables, for example to
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
116 generate error vectors to be added to a nominal vector. A particularly
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
117 interesting case is when the generated vector should be drawn from a <a
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
118 href="http://en.wikipedia.org/wiki/Multivariate_normal_distribution">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
119 Multivariate Normal Distribution</a>. The approach using a Cholesky
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
120 decomposition is quite usual in this case. However, it cas be extended
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
121 to other cases as long as the underlying random generator provides
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
122 <A HREF="../../../../../org/apache/commons/math/random/NormalizedRandomGenerator.html" title="interface in org.apache.commons.math.random"><CODE>normalized values</CODE></A> like <A HREF="../../../../../org/apache/commons/math/random/GaussianRandomGenerator.html" title="class in org.apache.commons.math.random"><CODE>GaussianRandomGenerator</CODE></A> or <A HREF="../../../../../org/apache/commons/math/random/UniformRandomGenerator.html" title="class in org.apache.commons.math.random"><CODE>UniformRandomGenerator</CODE></A>.</p>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
123 <p>Sometimes, the covariance matrix for a given simulation is not
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
124 strictly positive definite. This means that the correlations are
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
125 not all independent from each other. In this case, however, the non
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
126 strictly positive elements found during the Cholesky decomposition
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
127 of the covariance matrix should not be negative either, they
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
128 should be null. Another non-conventional extension handling this case
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
129 is used here. Rather than computing <code>C = U<sup>T</sup>.U</code>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
130 where <code>C</code> is the covariance matrix and <code>U</code>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
131 is an uppertriangular matrix, we compute <code>C = B.B<sup>T</sup></code>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
132 where <code>B</code> is a rectangular matrix having
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
133 more rows than columns. The number of columns of <code>B</code> is
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
134 the rank of the covariance matrix, and it is the dimension of the
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
135 uncorrelated random vector that is needed to compute the component
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
136 of the correlated vector. This class handles this situation
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
137 automatically.</p>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
138 <P>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
139
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
140 <P>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
141 <DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
142 <DT><B>Since:</B></DT>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
143 <DD>1.2</DD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
144 <DT><B>Version:</B></DT>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
145 <DD>$Revision: 811827 $ $Date: 2009-09-06 11:32:50 -0400 (Sun, 06 Sep 2009) $</DD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
146 </DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
147 <HR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
148
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
149 <P>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
150
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
151 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
152
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
153 <A NAME="constructor_summary"><!-- --></A>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
154 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
155 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
156 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
157 <B>Constructor Summary</B></FONT></TH>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
158 </TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
159 <TR BGCOLOR="white" CLASS="TableRowColor">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
160 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/random/CorrelatedRandomVectorGenerator.html#CorrelatedRandomVectorGenerator(double[], org.apache.commons.math.linear.RealMatrix, double, org.apache.commons.math.random.NormalizedRandomGenerator)">CorrelatedRandomVectorGenerator</A></B>(double[]&nbsp;mean,
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
161 <A HREF="../../../../../org/apache/commons/math/linear/RealMatrix.html" title="interface in org.apache.commons.math.linear">RealMatrix</A>&nbsp;covariance,
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
162 double&nbsp;small,
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
163 <A HREF="../../../../../org/apache/commons/math/random/NormalizedRandomGenerator.html" title="interface in org.apache.commons.math.random">NormalizedRandomGenerator</A>&nbsp;generator)</CODE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
164
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
165 <BR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
166 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Simple constructor.</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
167 </TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
168 <TR BGCOLOR="white" CLASS="TableRowColor">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
169 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/random/CorrelatedRandomVectorGenerator.html#CorrelatedRandomVectorGenerator(org.apache.commons.math.linear.RealMatrix, double, org.apache.commons.math.random.NormalizedRandomGenerator)">CorrelatedRandomVectorGenerator</A></B>(<A HREF="../../../../../org/apache/commons/math/linear/RealMatrix.html" title="interface in org.apache.commons.math.linear">RealMatrix</A>&nbsp;covariance,
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
170 double&nbsp;small,
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
171 <A HREF="../../../../../org/apache/commons/math/random/NormalizedRandomGenerator.html" title="interface in org.apache.commons.math.random">NormalizedRandomGenerator</A>&nbsp;generator)</CODE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
172
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
173 <BR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
174 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Simple constructor.</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
175 </TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
176 </TABLE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
177 &nbsp;
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
178 <!-- ========== METHOD SUMMARY =========== -->
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
179
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
180 <A NAME="method_summary"><!-- --></A>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
181 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
182 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
183 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
184 <B>Method Summary</B></FONT></TH>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
185 </TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
186 <TR BGCOLOR="white" CLASS="TableRowColor">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
187 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
188 <CODE>&nbsp;<A HREF="../../../../../org/apache/commons/math/random/NormalizedRandomGenerator.html" title="interface in org.apache.commons.math.random">NormalizedRandomGenerator</A></CODE></FONT></TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
189 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/random/CorrelatedRandomVectorGenerator.html#getGenerator()">getGenerator</A></B>()</CODE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
190
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
191 <BR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
192 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the underlying normalized components generator.</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
193 </TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
194 <TR BGCOLOR="white" CLASS="TableRowColor">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
195 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
196 <CODE>&nbsp;int</CODE></FONT></TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
197 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/random/CorrelatedRandomVectorGenerator.html#getRank()">getRank</A></B>()</CODE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
198
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
199 <BR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
200 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the rank of the covariance matrix.</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
201 </TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
202 <TR BGCOLOR="white" CLASS="TableRowColor">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
203 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
204 <CODE>&nbsp;<A HREF="../../../../../org/apache/commons/math/linear/RealMatrix.html" title="interface in org.apache.commons.math.linear">RealMatrix</A></CODE></FONT></TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
205 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/random/CorrelatedRandomVectorGenerator.html#getRootMatrix()">getRootMatrix</A></B>()</CODE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
206
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
207 <BR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
208 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the root of the covariance matrix.</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
209 </TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
210 <TR BGCOLOR="white" CLASS="TableRowColor">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
211 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
212 <CODE>&nbsp;double[]</CODE></FONT></TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
213 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/random/CorrelatedRandomVectorGenerator.html#nextVector()">nextVector</A></B>()</CODE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
214
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
215 <BR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
216 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Generate a correlated random vector.</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
217 </TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
218 </TABLE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
219 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
220 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
221 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
222 <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>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
223 </TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
224 <TR BGCOLOR="white" CLASS="TableRowColor">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
225 <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#equals(java.lang.Object)" title="class or interface in java.lang">equals</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#hashCode()" title="class or interface in java.lang">hashCode</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#toString()" title="class or interface in java.lang">toString</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>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
226 </TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
227 </TABLE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
228 &nbsp;
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
229 <P>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
230
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
231 <!-- ========= CONSTRUCTOR DETAIL ======== -->
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
232
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
233 <A NAME="constructor_detail"><!-- --></A>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
234 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
235 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
236 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
237 <B>Constructor Detail</B></FONT></TH>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
238 </TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
239 </TABLE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
240
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
241 <A NAME="CorrelatedRandomVectorGenerator(double[], org.apache.commons.math.linear.RealMatrix, double, org.apache.commons.math.random.NormalizedRandomGenerator)"><!-- --></A><H3>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
242 CorrelatedRandomVectorGenerator</H3>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
243 <PRE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
244 public <A HREF="../../../../../src-html/org/apache/commons/math/random/CorrelatedRandomVectorGenerator.html#line.96"><B>CorrelatedRandomVectorGenerator</B></A>(double[]&nbsp;mean,
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
245 <A HREF="../../../../../org/apache/commons/math/linear/RealMatrix.html" title="interface in org.apache.commons.math.linear">RealMatrix</A>&nbsp;covariance,
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
246 double&nbsp;small,
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
247 <A HREF="../../../../../org/apache/commons/math/random/NormalizedRandomGenerator.html" title="interface in org.apache.commons.math.random">NormalizedRandomGenerator</A>&nbsp;generator)
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
248 throws <A HREF="../../../../../org/apache/commons/math/linear/NotPositiveDefiniteMatrixException.html" title="class in org.apache.commons.math.linear">NotPositiveDefiniteMatrixException</A>,
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
249 <A HREF="../../../../../org/apache/commons/math/DimensionMismatchException.html" title="class in org.apache.commons.math">DimensionMismatchException</A></PRE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
250 <DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
251 <DD>Simple constructor.
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
252 <p>Build a correlated random vector generator from its mean
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
253 vector and covariance matrix.</p>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
254 <P>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
255 <DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
256 <DT><B>Parameters:</B><DD><CODE>mean</CODE> - expected mean values for all components<DD><CODE>covariance</CODE> - covariance matrix<DD><CODE>small</CODE> - diagonal elements threshold under which column are
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
257 considered to be dependent on previous ones and are discarded<DD><CODE>generator</CODE> - underlying generator for uncorrelated normalized
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
258 components
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
259 <DT><B>Throws:</B>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
260 <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 there is a dimension
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
261 mismatch between the mean vector and the covariance matrix
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
262 <DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/NotPositiveDefiniteMatrixException.html" title="class in org.apache.commons.math.linear">NotPositiveDefiniteMatrixException</A></CODE> - if the
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
263 covariance matrix is not strictly positive definite
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
264 <DD><CODE><A HREF="../../../../../org/apache/commons/math/DimensionMismatchException.html" title="class in org.apache.commons.math">DimensionMismatchException</A></CODE> - if the mean and covariance
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
265 arrays dimensions don't match</DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
266 </DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
267 <HR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
268
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
269 <A NAME="CorrelatedRandomVectorGenerator(org.apache.commons.math.linear.RealMatrix, double, org.apache.commons.math.random.NormalizedRandomGenerator)"><!-- --></A><H3>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
270 CorrelatedRandomVectorGenerator</H3>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
271 <PRE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
272 public <A HREF="../../../../../src-html/org/apache/commons/math/random/CorrelatedRandomVectorGenerator.html#line.125"><B>CorrelatedRandomVectorGenerator</B></A>(<A HREF="../../../../../org/apache/commons/math/linear/RealMatrix.html" title="interface in org.apache.commons.math.linear">RealMatrix</A>&nbsp;covariance,
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
273 double&nbsp;small,
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
274 <A HREF="../../../../../org/apache/commons/math/random/NormalizedRandomGenerator.html" title="interface in org.apache.commons.math.random">NormalizedRandomGenerator</A>&nbsp;generator)
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
275 throws <A HREF="../../../../../org/apache/commons/math/linear/NotPositiveDefiniteMatrixException.html" title="class in org.apache.commons.math.linear">NotPositiveDefiniteMatrixException</A></PRE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
276 <DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
277 <DD>Simple constructor.
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
278 <p>Build a null mean random correlated vector generator from its
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
279 covariance matrix.</p>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
280 <P>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
281 <DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
282 <DT><B>Parameters:</B><DD><CODE>covariance</CODE> - covariance matrix<DD><CODE>small</CODE> - diagonal elements threshold under which column are
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
283 considered to be dependent on previous ones and are discarded<DD><CODE>generator</CODE> - underlying generator for uncorrelated normalized
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
284 components
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
285 <DT><B>Throws:</B>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
286 <DD><CODE><A HREF="../../../../../org/apache/commons/math/linear/NotPositiveDefiniteMatrixException.html" title="class in org.apache.commons.math.linear">NotPositiveDefiniteMatrixException</A></CODE> - if the
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
287 covariance matrix is not strictly positive definite</DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
288 </DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
289
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
290 <!-- ============ METHOD DETAIL ========== -->
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
291
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
292 <A NAME="method_detail"><!-- --></A>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
293 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
294 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
295 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
296 <B>Method Detail</B></FONT></TH>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
297 </TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
298 </TABLE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
299
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
300 <A NAME="getGenerator()"><!-- --></A><H3>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
301 getGenerator</H3>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
302 <PRE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
303 public <A HREF="../../../../../org/apache/commons/math/random/NormalizedRandomGenerator.html" title="interface in org.apache.commons.math.random">NormalizedRandomGenerator</A> <A HREF="../../../../../src-html/org/apache/commons/math/random/CorrelatedRandomVectorGenerator.html#line.145"><B>getGenerator</B></A>()</PRE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
304 <DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
305 <DD>Get the underlying normalized components generator.
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
306 <P>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
307 <DD><DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
308 </DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
309 </DD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
310 <DD><DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
311
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
312 <DT><B>Returns:</B><DD>underlying uncorrelated components generator</DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
313 </DD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
314 </DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
315 <HR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
316
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
317 <A NAME="getRootMatrix()"><!-- --></A><H3>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
318 getRootMatrix</H3>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
319 <PRE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
320 public <A HREF="../../../../../org/apache/commons/math/linear/RealMatrix.html" title="interface in org.apache.commons.math.linear">RealMatrix</A> <A HREF="../../../../../src-html/org/apache/commons/math/random/CorrelatedRandomVectorGenerator.html#line.155"><B>getRootMatrix</B></A>()</PRE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
321 <DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
322 <DD>Get the root of the covariance matrix.
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
323 The root is the rectangular matrix <code>B</code> such that
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
324 the covariance matrix is equal to <code>B.B<sup>T</sup></code>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
325 <P>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
326 <DD><DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
327 </DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
328 </DD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
329 <DD><DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
330
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
331 <DT><B>Returns:</B><DD>root of the square matrix<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/commons/math/random/CorrelatedRandomVectorGenerator.html#getRank()"><CODE>getRank()</CODE></A></DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
332 </DD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
333 </DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
334 <HR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
335
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
336 <A NAME="getRank()"><!-- --></A><H3>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
337 getRank</H3>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
338 <PRE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
339 public int <A HREF="../../../../../src-html/org/apache/commons/math/random/CorrelatedRandomVectorGenerator.html#line.166"><B>getRank</B></A>()</PRE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
340 <DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
341 <DD>Get the rank of the covariance matrix.
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
342 The rank is the number of independent rows in the covariance
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
343 matrix, it is also the number of columns of the rectangular
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
344 matrix of the decomposition.
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
345 <P>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
346 <DD><DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
347 </DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
348 </DD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
349 <DD><DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
350
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
351 <DT><B>Returns:</B><DD>rank of the square matrix.<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/commons/math/random/CorrelatedRandomVectorGenerator.html#getRootMatrix()"><CODE>getRootMatrix()</CODE></A></DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
352 </DD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
353 </DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
354 <HR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
355
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
356 <A NAME="nextVector()"><!-- --></A><H3>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
357 nextVector</H3>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
358 <PRE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
359 public double[] <A HREF="../../../../../src-html/org/apache/commons/math/random/CorrelatedRandomVectorGenerator.html#line.283"><B>nextVector</B></A>()</PRE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
360 <DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
361 <DD>Generate a correlated random vector.
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
362 <P>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
363 <DD><DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
364 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/math/random/RandomVectorGenerator.html#nextVector()">nextVector</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/math/random/RandomVectorGenerator.html" title="interface in org.apache.commons.math.random">RandomVectorGenerator</A></CODE></DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
365 </DD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
366 <DD><DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
367
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
368 <DT><B>Returns:</B><DD>a random vector as an array of double. The returned array
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
369 is created at each call, the caller can do what it wants with it.</DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
370 </DD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
371 </DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
372 <!-- ========= END OF CLASS DATA ========= -->
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
373 <HR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
374
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
375
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
376 <!-- ======= START OF BOTTOM NAVBAR ====== -->
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
377 <A NAME="navbar_bottom"><!-- --></A>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
378 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
379 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
380 <TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
381 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
382 <A NAME="navbar_bottom_firstrow"><!-- --></A>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
383 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
384 <TR ALIGN="center" VALIGN="top">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
385 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
386 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
387 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
388 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CorrelatedRandomVectorGenerator.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
389 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
390 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
391 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
392 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
393 </TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
394 </TABLE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
395 </TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
396 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
397 </EM>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
398 </TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
399 </TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
400
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
401 <TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
402 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
403 &nbsp;<A HREF="../../../../../org/apache/commons/math/random/BitsStreamGenerator.html" title="class in org.apache.commons.math.random"><B>PREV CLASS</B></A>&nbsp;
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
404 &nbsp;<A HREF="../../../../../org/apache/commons/math/random/EmpiricalDistribution.html" title="interface in org.apache.commons.math.random"><B>NEXT CLASS</B></A></FONT></TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
405 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
406 <A HREF="../../../../../index.html?org/apache/commons/math/random/CorrelatedRandomVectorGenerator.html" target="_top"><B>FRAMES</B></A> &nbsp;
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
407 &nbsp;<A HREF="CorrelatedRandomVectorGenerator.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
408 &nbsp;<SCRIPT type="text/javascript">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
409 <!--
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
410 if(window==top) {
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
411 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
412 }
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
413 //-->
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
414 </SCRIPT>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
415 <NOSCRIPT>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
416 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
417 </NOSCRIPT>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
418
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
419
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
420 </FONT></TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
421 </TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
422 <TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
423 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
424 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
425 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
426 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
427 </TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
428 </TABLE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
429 <A NAME="skip-navbar_bottom"></A>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
430 <!-- ======== END OF BOTTOM NAVBAR ======= -->
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
431
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
432 <HR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
433 Copyright &#169; 2003-2010 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
434 </BODY>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
435 </HTML>