spline3.html

来自「测试工具jmeter可用来进行性能测试」· HTML 代码 · 共 825 行 · 第 1/3 页

HTML
825
字号

<A NAME="Spline3(float[])"><!-- --></A><H3>
Spline3</H3>
<PRE>
public <B>Spline3</B>(float[]&nbsp;r)</PRE>
<DL>
<DD>Creates a new Spline curve by calculating the coefficients of each part
 of the curve, i.e. by resolving the equation system implied by the
 interpolation condition on every interval.
<P>
<DT><B>Parameters:</B><DD><CODE>r</CODE> - an array of float containing the vertical coordinates of the
            nodes to interpolate ; the vertical coordinates start at 0 and
            are equidistant with a step of 1.</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="interpolation()"><!-- --></A><H3>
interpolation</H3>
<PRE>
protected void <B>interpolation</B>()</PRE>
<DL>
<DD>Computes the coefficients of the Spline interpolated curve, on each
 interval. The matrix system to resolve is <CODE>AX=B</CODE>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="jacobi()"><!-- --></A><H3>
jacobi</H3>
<PRE>
protected void <B>jacobi</B>()</PRE>
<DL>
<DD>Resolves the equation system by a Jacobi algorithm. The use of the slower
 Jacobi algorithm instead of Gauss-Seidel is choosen here because Jacobi
 is assured of to be convergent for this particular equation system, as
 the system matrix has a strong diagonal.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="converge()"><!-- --></A><H3>
converge</H3>
<PRE>
protected boolean <B>converge</B>()</PRE>
<DL>
<DD>Test if the Jacobi resolution of the equation system converges. It's OK
 if A has a strong diagonal.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="precision(float[], float[])"><!-- --></A><H3>
precision</H3>
<PRE>
protected float <B>precision</B>(float[]&nbsp;oldX,
                          float[]&nbsp;newX)</PRE>
<DL>
<DD>Computes the current precision reached.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="value(float)"><!-- --></A><H3>
value</H3>
<PRE>
public float <B>value</B>(float&nbsp;t)</PRE>
<DL>
<DD>Computes a (vertical) Y-axis value of the global curve.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>t</CODE> - abscissa
<DT><B>Returns:</B><DD>computed ordinate</DL>
</DD>
</DL>
<HR>

<A NAME="debugCheck()"><!-- --></A><H3>
debugCheck</H3>
<PRE>
public void <B>debugCheck</B>()</PRE>
<DL>
<DD>Manual check of the curve at the interpolated points.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getPlots(int, int)"><!-- --></A><H3>
getPlots</H3>
<PRE>
public int[] <B>getPlots</B>(int&nbsp;width,
                      int&nbsp;height)</PRE>
<DL>
<DD>Computes drawable plots from the curve for a given draw space. The values
 returned are drawable vertically and from the <B>bottom</B> of a Panel.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>width</CODE> - width within the plots have to be computed<DD><CODE>height</CODE> - height within the plots are expected to be drawed
<DT><B>Returns:</B><DD>drawable plots within the limits defined, in an array of int (as
         many int as the value of the <CODE>width</CODE> parameter)</DL>
</DD>
</DL>
<HR>

<A NAME="setPrecision(float)"><!-- --></A><H3>
setPrecision</H3>
<PRE>
public void <B>setPrecision</B>(float&nbsp;precision)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getPrecision()"><!-- --></A><H3>
getPrecision</H3>
<PRE>
public float <B>getPrecision</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setToDefaultPrecision()"><!-- --></A><H3>
setToDefaultPrecision</H3>
<PRE>
public void <B>setToDefaultPrecision</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getDefaultPrecision()"><!-- --></A><H3>
getDefaultPrecision</H3>
<PRE>
public float <B>getDefaultPrecision</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setMaxIterations(int)"><!-- --></A><H3>
setMaxIterations</H3>
<PRE>
public void <B>setMaxIterations</B>(int&nbsp;iterations)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getMaxIterations()"><!-- --></A><H3>
getMaxIterations</H3>
<PRE>
public int <B>getMaxIterations</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setToDefaultMaxIterations()"><!-- --></A><H3>
setToDefaultMaxIterations</H3>
<PRE>
public void <B>setToDefaultMaxIterations</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getDefaultMaxIterations()"><!-- --></A><H3>
getDefaultMaxIterations</H3>
<PRE>
public int <B>getDefaultMaxIterations</B>()</PRE>
<DL>
<DD><DL>
</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=3 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="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<b>Apache JMeter</b></EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/apache/jmeter/visualizers/SimpleDataWriter.html" title="class in org.apache.jmeter.visualizers"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/apache/jmeter/visualizers/SplineModel.html" title="class in org.apache.jmeter.visualizers"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="Spline3.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>
Copyright &#xA9; 1998-2008 Apache Software Foundation. All Rights Reserved.
</BODY>
</HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?