📄 complex.html
字号:
<DD>The imaginary part of the complex number.<P><DL></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="Complex()"><!-- --></A><H3>Complex</H3><PRE>public <B>Complex</B>()</PRE><DL><DD>Creates a complex number initialized to (0,0).<P></DL><HR><A NAME="Complex(org.geotools.math.Complex)"><!-- --></A><H3>Complex</H3><PRE>public <B>Complex</B>(<A HREF="../../../org/geotools/math/Complex.html" title="class in org.geotools.math">Complex</A> c)</PRE><DL><DD>Creates a complex number initialized to the same value than the specified one.<P></DL><HR><A NAME="Complex(double, double)"><!-- --></A><H3>Complex</H3><PRE>public <B>Complex</B>(double real, double imag)</PRE><DL><DD>Creates a complex number initialized to the specified real and imaginary parts.<P></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="copy(org.geotools.math.Complex)"><!-- --></A><H3>copy</H3><PRE>public void <B>copy</B>(<A HREF="../../../org/geotools/math/Complex.html" title="class in org.geotools.math">Complex</A> c)</PRE><DL><DD>Set this complex number to the same value than the specified one. This method computes the following: <blockquote><pre> this = c </pre></blockquote><P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="multiply(org.geotools.math.Complex, double)"><!-- --></A><H3>multiply</H3><PRE>public void <B>multiply</B>(<A HREF="../../../org/geotools/math/Complex.html" title="class in org.geotools.math">Complex</A> c, double s)</PRE><DL><DD>Multiplies a complex number by a scalar. This method computes the following: <blockquote><pre> this = c * s </pre></blockquote><P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="multiply(org.geotools.math.Complex, org.geotools.math.Complex)"><!-- --></A><H3>multiply</H3><PRE>public void <B>multiply</B>(<A HREF="../../../org/geotools/math/Complex.html" title="class in org.geotools.math">Complex</A> c1, <A HREF="../../../org/geotools/math/Complex.html" title="class in org.geotools.math">Complex</A> c2)</PRE><DL><DD>Multplies two complex numbers. This method computes the following: <blockquote><pre> this = c1 * c2 </pre></blockquote><P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="divide(org.geotools.math.Complex, org.geotools.math.Complex)"><!-- --></A><H3>divide</H3><PRE>public void <B>divide</B>(<A HREF="../../../org/geotools/math/Complex.html" title="class in org.geotools.math">Complex</A> c1, <A HREF="../../../org/geotools/math/Complex.html" title="class in org.geotools.math">Complex</A> c2)</PRE><DL><DD>Divides one complex number by another. This method computes the following: <blockquote><pre> this = c1 / c2 </pre></blockquote><P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="add(org.geotools.math.Complex, org.geotools.math.Complex)"><!-- --></A><H3>add</H3><PRE>public void <B>add</B>(<A HREF="../../../org/geotools/math/Complex.html" title="class in org.geotools.math">Complex</A> c1, <A HREF="../../../org/geotools/math/Complex.html" title="class in org.geotools.math">Complex</A> c2)</PRE><DL><DD>Adds to complex numbers. This method computes the following: <blockquote><pre> this = c1 + c2 </pre></blockquote><P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="addMultiply(org.geotools.math.Complex, org.geotools.math.Complex, org.geotools.math.Complex)"><!-- --></A><H3>addMultiply</H3><PRE>public void <B>addMultiply</B>(<A HREF="../../../org/geotools/math/Complex.html" title="class in org.geotools.math">Complex</A> c0, <A HREF="../../../org/geotools/math/Complex.html" title="class in org.geotools.math">Complex</A> c1, <A HREF="../../../org/geotools/math/Complex.html" title="class in org.geotools.math">Complex</A> c2)</PRE><DL><DD>Multplies two complex numbers, and add the result to a third one. This method computes the following: <blockquote><pre> this = c0 + (c1 * c2) </pre></blockquote><P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="power(org.geotools.math.Complex, int)"><!-- --></A><H3>power</H3><PRE>public void <B>power</B>(<A HREF="../../../org/geotools/math/Complex.html" title="class in org.geotools.math">Complex</A> c, int power)</PRE><DL><DD>Computes the integer power of a complex number up to 6. This method computes the following: <blockquote><pre> this = c ^ power </pre></blockquote><P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>clone</B>()</PRE><DL><DD>Returns a copy of this complex number.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>clone</CODE> in interface <CODE>Cloneable</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="equals(org.geotools.math.Complex)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(<A HREF="../../../org/geotools/math/Complex.html" title="class in org.geotools.math">Complex</A> c)</PRE><DL><DD>Returns if this complex number has the same value than the specified one.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> c)</PRE><DL><DD>Compare this complex with the specified object for equality.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public int <B>hashCode</B>()</PRE><DL><DD>Returns a hash value for this complex number.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE><DL><DD>Returns a string representation of this complex number.<P><DD><DL></DL></DD><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> </TD> <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="class-use/Complex.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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"> PREV CLASS <A HREF="../../../org/geotools/math/Line.html" title="class in org.geotools.math"><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> <A HREF="Complex.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 | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <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>Copyright © 1996-2007 <a href="http://www.geotools.org">Geotools</a>. All Rights Reserved.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -