📄 maths.html
字号:
<BR> sqrt(a^2 + b^2) without under/overflow.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/classifiers/functions/pace/Maths.html#pchisq(double)">pchisq</A></B>(double x)</CODE><BR> Returns the cumulative probability of the Chi-squared distribution</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/classifiers/functions/pace/Maths.html#pchisq(double, double)">pchisq</A></B>(double x, double ncp)</CODE><BR> Returns the cumulative probability of the noncentral Chi-squared distribution.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/classifiers/functions/pace/Maths.html#pchisq(double, weka.classifiers.functions.pace.DoubleVector)">pchisq</A></B>(double x, <A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A> ncp)</CODE><BR> Returns the cumulative probability of a set of noncentral Chi-squared distributions.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/classifiers/functions/pace/Maths.html#pnorm(double)">pnorm</A></B>(double x)</CODE><BR> Returns the cumulative probability of the standard normal.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/classifiers/functions/pace/Maths.html#pnorm(double, double, double)">pnorm</A></B>(double x, double mean, double sd)</CODE><BR> Returns the cumulative probability of a normal distribution.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/classifiers/functions/pace/Maths.html#pnorm(double, weka.classifiers.functions.pace.DoubleVector, double)">pnorm</A></B>(double x, <A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A> mean, double sd)</CODE><BR> Returns the cumulative probability of a set of normal distributions with different means.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/classifiers/functions/pace/Maths.html#rchisq(int, double, java.util.Random)">rchisq</A></B>(int n, double ncp, java.util.Random random)</CODE><BR> Generates a sample of a Chi-square distribution.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/classifiers/functions/pace/Maths.html#rnorm(int, double, double, java.util.Random)">rnorm</A></B>(int n, double mean, double sd, java.util.Random random)</CODE><BR> Generates a sample of a normal distribution.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/classifiers/functions/pace/Maths.html#square(double)">square</A></B>(double x)</CODE><BR> Returns the square of a value</TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="PSI"><!-- --></A><H3>PSI</H3><PRE>public static final double <B>PSI</B></PRE><DL><DD>The constant 1 / sqrt(2 pi)<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#weka.classifiers.functions.pace.Maths.PSI">Constant Field Values</A></DL></DL><HR><A NAME="logPSI"><!-- --></A><H3>logPSI</H3><PRE>public static final double <B>logPSI</B></PRE><DL><DD>The constant - log( sqrt(2 pi) )<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#weka.classifiers.functions.pace.Maths.logPSI">Constant Field Values</A></DL></DL><HR><A NAME="undefinedDistribution"><!-- --></A><H3>undefinedDistribution</H3><PRE>public static final int <B>undefinedDistribution</B></PRE><DL><DD>Distribution type: undefined<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#weka.classifiers.functions.pace.Maths.undefinedDistribution">Constant Field Values</A></DL></DL><HR><A NAME="normalDistribution"><!-- --></A><H3>normalDistribution</H3><PRE>public static final int <B>normalDistribution</B></PRE><DL><DD>Distribution type: noraml<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#weka.classifiers.functions.pace.Maths.normalDistribution">Constant Field Values</A></DL></DL><HR><A NAME="chisqDistribution"><!-- --></A><H3>chisqDistribution</H3><PRE>public static final int <B>chisqDistribution</B></PRE><DL><DD>Distribution type: chi-squared<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#weka.classifiers.functions.pace.Maths.chisqDistribution">Constant Field Values</A></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="Maths()"><!-- --></A><H3>Maths</H3><PRE>public <B>Maths</B>()</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="hypot(double, double)"><!-- --></A><H3>hypot</H3><PRE>public static double <B>hypot</B>(double a, double b)</PRE><DL><DD>sqrt(a^2 + b^2) without under/overflow.<P><DD><DL></DL></DD></DL><HR><A NAME="square(double)"><!-- --></A><H3>square</H3><PRE>public static double <B>square</B>(double x)</PRE><DL><DD>Returns the square of a value<P><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - <DT><B>Returns:</B><DD>the square</DL></DD></DL><HR><A NAME="pnorm(double)"><!-- --></A><H3>pnorm</H3><PRE>public static double <B>pnorm</B>(double x)</PRE><DL><DD>Returns the cumulative probability of the standard normal.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the quantile</DL></DD></DL><HR><A NAME="pnorm(double, double, double)"><!-- --></A><H3>pnorm</H3><PRE>public static double <B>pnorm</B>(double x, double mean, double sd)</PRE><DL><DD>Returns the cumulative probability of a normal distribution.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the quantile<DD><CODE>mean</CODE> - the mean of the normal distribution<DD><CODE>sd</CODE> - the standard deviation of the normal distribution.</DL></DD></DL><HR><A NAME="pnorm(double, weka.classifiers.functions.pace.DoubleVector, double)"><!-- --></A><H3>pnorm</H3><PRE>public static <A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A> <B>pnorm</B>(double x, <A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A> mean, double sd)</PRE><DL><DD>Returns the cumulative probability of a set of normal distributions with different means.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the vector of quantiles<DD><CODE>mean</CODE> - the means of the normal distributions<DD><CODE>sd</CODE> - the standard deviation of the normal distribution.<DT><B>Returns:</B><DD>the cumulative probability</DL></DD></DL><HR><A NAME="dnorm(double)"><!-- --></A><H3>dnorm</H3><PRE>public static double <B>dnorm</B>(double x)</PRE><DL><DD>Returns the density of the standard normal.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the quantile<DT><B>Returns:</B><DD>the density</DL></DD></DL><HR><A NAME="dnorm(double, double, double)"><!-- --></A><H3>dnorm</H3><PRE>public static double <B>dnorm</B>(double x, double mean, double sd)</PRE><DL><DD>Returns the density value of a standard normal.<P>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -