📄 binormal.html
字号:
double[] covm, int p, double[] parm)</PRE><DL><DD>methods sets up the parameters needed to generate the multivariate normal deviates form the inputs given<P><DD><DL><DT><B>Parameters:</B><DD><CODE>meanv</CODE> - mean vector of multivariate normal distribution<DD><CODE>covm</CODE> - covariance matrix of multivariate normal distribution<DD><CODE>p</CODE> - dimension of the normal<DD><CODE>parm</CODE> - array of parameters needed to generate multivariate normal deviates</DL></DD></DL><HR><A NAME="genmn(double[], double[], double[])"><!-- --></A><H3>genmn</H3><PRE>public void <B>genmn</B>(double[] parm, double[] x, double[] work)</PRE><DL><DD>methods generates the multivariate normal deviates using the procedure: 1) generate p independent standard normal deviates - ei ~ n(0,1) 2) using cholesky decomposition find a s.t. trans(a)*a = covm 3) trans(a)e + meanv ~ n(meanv,covm)<P><DD><DL><DT><B>Parameters:</B><DD><CODE>parm</CODE> - array of parameters needed to generate multivariate normal deviates<DD><CODE>x</CODE> - vector deviate generated<DD><CODE>work</CODE> - scratch array</DL></DD></DL><HR><A NAME="ranf()"><!-- --></A><H3>ranf</H3><PRE>public double <B>ranf</B>()</PRE><DL><DD>generates a uniform distribution over 0 - 1<P><DD><DL><DT><B>Returns:</B><DD>random floating point number from a uniform distribution over 0 - 1 using the current generator</DL></DD></DL><HR><A NAME="snorm40()"><!-- --></A><H3>snorm40</H3><PRE>public void <B>snorm40</B>()</PRE><DL><DD>linpack. this version dated 08/14/78 cleve moler, university of new mexico, argonne national lab<P><DD><DL></DL></DD></DL><HR><A NAME="snorm50()"><!-- --></A><H3>snorm50</H3><PRE>public void <B>snorm50</B>()</PRE><DL><DD>linpack. this version dated 08/14/78 cleve moler, university of new mexico, argonne national lab<P><DD><DL></DL></DD></DL><HR><A NAME="snorm60()"><!-- --></A><H3>snorm60</H3><PRE>public void <B>snorm60</B>()</PRE><DL><DD>linpack. this version dated 08/14/78 cleve moler, university of new mexico, argonne national lab<P><DD><DL></DL></DD></DL><HR><A NAME="snorm70()"><!-- --></A><H3>snorm70</H3><PRE>public void <B>snorm70</B>()</PRE><DL><DD>linpack. this version dated 08/14/78 cleve moler, university of new mexico, argonne national lab<P><DD><DL></DL></DD></DL><HR><A NAME="snorm80()"><!-- --></A><H3>snorm80</H3><PRE>public void <B>snorm80</B>()</PRE><DL><DD>linpack. this version dated 08/14/78 cleve moler, university of new mexico, argonne national lab<P><DD><DL></DL></DD></DL><HR><A NAME="snorm100()"><!-- --></A><H3>snorm100</H3><PRE>public void <B>snorm100</B>()</PRE><DL><DD>linpack. this version dated 08/14/78 cleve moler, university of new mexico, argonne national lab<P><DD><DL></DL></DD></DL><HR><A NAME="snorm110()"><!-- --></A><H3>snorm110</H3><PRE>public void <B>snorm110</B>()</PRE><DL><DD>linpack. this version dated 08/14/78 cleve moler, university of new mexico, argonne national lab<P><DD><DL></DL></DD></DL><HR><A NAME="snorm120()"><!-- --></A><H3>snorm120</H3><PRE>public void <B>snorm120</B>()</PRE><DL><DD>linpack. this version dated 08/14/78 cleve moler, university of new mexico, argonne national lab<P><DD><DL></DL></DD></DL><HR><A NAME="snorm140()"><!-- --></A><H3>snorm140</H3><PRE>public void <B>snorm140</B>()</PRE><DL><DD>linpack. this version dated 08/14/78 cleve moler, university of new mexico, argonne national lab<P><DD><DL></DL></DD></DL><HR><A NAME="snorm150()"><!-- --></A><H3>snorm150</H3><PRE>public void <B>snorm150</B>()</PRE><DL><DD>linpack. this version dated 08/14/78 cleve moler, university of new mexico, argonne national lab<P><DD><DL></DL></DD></DL><HR><A NAME="snorm160()"><!-- --></A><H3>snorm160</H3><PRE>public void <B>snorm160</B>()</PRE><DL><DD>linpack. this version dated 08/14/78 cleve moler, university of new mexico, argonne national lab<P><DD><DL></DL></DD></DL><HR><A NAME="snorm()"><!-- --></A><H3>snorm</H3><PRE>public double <B>snorm</B>()</PRE><DL><DD>ahrens, j.h. and dieter, u. extensions of forsythe's method for random sampling from the normal distribution. math. comput., 27,124 (oct. 1973), 927 - 937.<P><DD><DL><DT><B>Returns:</B><DD>standard normal distribution</DL></DD></DL><HR><A NAME="sdot(int, double[], int, int, double[], int, int)"><!-- --></A><H3>sdot</H3><PRE>public double <B>sdot</B>(int n, double[] sx, int dx, int incx, double[] sy, int dy, int incy)</PRE><DL><DD>linpack. this version dated 08/14/78 cleve moler, university of new mexico, argonne national lab<P><DD><DL><DT><B>Parameters:</B><DD><CODE>n</CODE> - integer<DD><CODE>sx</CODE> - array of doubles<DD><CODE>dx</CODE> - integer<DD><CODE>incx</CODE> - integer<DD><CODE>sy</CODE> - array of doubles<DD><CODE>dy</CODE> - integer<DD><CODE>incy</CODE> - integer<DT><B>Returns:</B><DD>double value of sdot</DL></DD></DL><HR><A NAME="spofa(double[], int, int)"><!-- --></A><H3>spofa</H3><PRE>public void <B>spofa</B>(double[] a, int lda, int n)</PRE><DL><DD>linpack. this version dated 08/14/78 cleve moler, university of new mexico, argonne national lab<P><DD><DL><DT><B>Parameters:</B><DD><CODE>a</CODE> - array of doubles<DD><CODE>lda</CODE> - integer<DD><CODE>n</CODE> - integer</DL></DD></DL><HR><A NAME="gaussian(int, double, double, double[], double[], double, double, double, double)"><!-- --></A><H3>gaussian</H3><PRE>public void <B>gaussian</B>(int max, double mx, double my, double[] xval, double[] yval, double c11, double c12, double c21, double c22)</PRE><DL><DD>Generates binormal gaussian random deviates<P><DD><DL><DT><B>Parameters:</B><DD><CODE>max</CODE> - number of deviates<DD><CODE>mx</CODE> - mean, X-COORDINATE<DD><CODE>my</CODE> - mean, y-coordinate<DD><CODE>c11</CODE> - a11 element of the covariance matrix<DD><CODE>c12</CODE> - a12 element of the covariance matrix<DD><CODE>c21</CODE> - a21 element of the covariance matrix<DD><CODE>c22</CODE> - a22 element of the covariance matrix<DD><CODE>xval</CODE> - x-vector of the gaussian random deviates<DD><CODE>yval</CODE> - y-vector of the gaussian random deviates</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="AlgorithmSVM.html" title="class in <Unnamed>"><B>PREV CLASS</B></A> <A HREF="Classify.html" title="class in <Unnamed>"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="index.html?BiNormal.html" target="_top"><B>FRAMES</B></A> <A HREF="BiNormal.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -