| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> |
| <title>Dfp (Apache Commons Math 3.3 API)</title> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="Dfp (Apache Commons Math 3.3 API)"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar_top"> |
| <!-- --> |
| </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/Dfp.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage"><em><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script></em></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/apache/commons/math3/dfp/BracketingNthOrderBrentSolverDFP.html" title="class in org.apache.commons.math3.dfp"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/commons/math3/dfp/DfpDec.html" title="class in org.apache.commons.math3.dfp"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/commons/math3/dfp/Dfp.html" target="_top">Frames</a></li> |
| <li><a href="Dfp.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field_summary">Field</a> | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field_detail">Field</a> | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.commons.math3.dfp</div> |
| <h2 title="Class Dfp" class="title">Class Dfp</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.commons.math3.dfp.Dfp</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="../../../../../org/apache/commons/math3/FieldElement.html" title="interface in org.apache.commons.math3">FieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>>, <a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></dd> |
| </dl> |
| <dl> |
| <dt>Direct Known Subclasses:</dt> |
| <dd><a href="../../../../../org/apache/commons/math3/dfp/DfpDec.html" title="class in org.apache.commons.math3.dfp">DfpDec</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="strong">Dfp</span> |
| extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> |
| implements <a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></pre> |
| <div class="block">Decimal floating point library for Java |
| |
| <p>Another floating point class. This one is built using radix 10000 |
| which is 10<sup>4</sup>, so its almost decimal.</p> |
| |
| <p>The design goals here are: |
| <ol> |
| <li>Decimal math, or close to it</li> |
| <li>Settable precision (but no mix between numbers using different settings)</li> |
| <li>Portability. Code should be kept as portable as possible.</li> |
| <li>Performance</li> |
| <li>Accuracy - Results should always be +/- 1 ULP for basic |
| algebraic operation</li> |
| <li>Comply with IEEE 854-1987 as much as possible. |
| (See IEEE 854-1987 notes below)</li> |
| </ol></p> |
| |
| <p>Trade offs: |
| <ol> |
| <li>Memory foot print. I'm using more memory than necessary to |
| represent numbers to get better performance.</li> |
| <li>Digits are bigger, so rounding is a greater loss. So, if you |
| really need 12 decimal digits, better use 4 base 10000 digits |
| there can be one partially filled.</li> |
| </ol></p> |
| |
| <p>Numbers are represented in the following form: |
| <pre> |
| n = sign × mant × (radix)<sup>exp</sup>;</p> |
| </pre> |
| where sign is ±1, mantissa represents a fractional number between |
| zero and one. mant[0] is the least significant digit. |
| exp is in the range of -32767 to 32768</p> |
| |
| <p>IEEE 854-1987 Notes and differences</p> |
| |
| <p>IEEE 854 requires the radix to be either 2 or 10. The radix here is |
| 10000, so that requirement is not met, but it is possible that a |
| subclassed can be made to make it behave as a radix 10 |
| number. It is my opinion that if it looks and behaves as a radix |
| 10 number then it is one and that requirement would be met.</p> |
| |
| <p>The radix of 10000 was chosen because it should be faster to operate |
| on 4 decimal digits at once instead of one at a time. Radix 10 behavior |
| can be realized by adding an additional rounding step to ensure that |
| the number of decimal digits represented is constant.</p> |
| |
| <p>The IEEE standard specifically leaves out internal data encoding, |
| so it is reasonable to conclude that such a subclass of this radix |
| 10000 system is merely an encoding of a radix 10 system.</p> |
| |
| <p>IEEE 854 also specifies the existence of "sub-normal" numbers. This |
| class does not contain any such entities. The most significant radix |
| 10000 digit is always non-zero. Instead, we support "gradual underflow" |
| by raising the underflow flag for numbers less with exponent less than |
| expMin, but don't flush to zero until the exponent reaches MIN_EXP-digits. |
| Thus the smallest number we can represent would be: |
| 1E(-(MIN_EXP-digits-1)*4), eg, for digits=5, MIN_EXP=-32767, that would |
| be 1e-131092.</p> |
| |
| <p>IEEE 854 defines that the implied radix point lies just to the right |
| of the most significant digit and to the left of the remaining digits. |
| This implementation puts the implied radix point to the left of all |
| digits including the most significant one. The most significant digit |
| here is the one just to the right of the radix point. This is a fine |
| detail and is really only a matter of definition. Any side effects of |
| this can be rendered invisible by a subclass.</p></div> |
| <dl><dt><span class="strong">Since:</span></dt> |
| <dd>2.2</dd> |
| <dt><span class="strong">Version:</span></dt> |
| <dd>$Id: Dfp.java 1539704 2013-11-07 16:34:51Z tn $</dd> |
| <dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/commons/math3/dfp/DfpField.html" title="class in org.apache.commons.math3.dfp"><code>DfpField</code></a></dd></dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field_summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Field and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#ERR_SCALE">ERR_SCALE</a></strong></code> |
| <div class="block">The amount under/overflows are scaled by before going to trap handler</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#exp">exp</a></strong></code> |
| <div class="block">Exponent.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static byte</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#FINITE">FINITE</a></strong></code> |
| <div class="block">Indicator value for normal finite numbers.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static byte</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#INFINITE">INFINITE</a></strong></code> |
| <div class="block">Indicator value for Infinity.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected int[]</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#mant">mant</a></strong></code> |
| <div class="block">Mantissa.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#MAX_EXP">MAX_EXP</a></strong></code> |
| <div class="block">The maximum exponent before overflow is signaled and results flushed |
| to infinity</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#MIN_EXP">MIN_EXP</a></strong></code> |
| <div class="block">The minimum exponent before underflow is signaled.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected byte</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#nans">nans</a></strong></code> |
| <div class="block">Indicator for non-finite / non-number values.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static byte</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#QNAN">QNAN</a></strong></code> |
| <div class="block">Indicator value for quiet NaN.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#RADIX">RADIX</a></strong></code> |
| <div class="block">The radix, or base of this system.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected byte</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#sign">sign</a></strong></code> |
| <div class="block">Sign bit: 1 for positive, -1 for negative.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static byte</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#SNAN">SNAN</a></strong></code> |
| <div class="block">Indicator value for signaling NaN.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier</th> |
| <th class="colLast" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code> </code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#Dfp(org.apache.commons.math3.dfp.Dfp)">Dfp</a></strong>(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> d)</code> |
| <div class="block">Copy constructor.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected </code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#Dfp(org.apache.commons.math3.dfp.DfpField)">Dfp</a></strong>(<a href="../../../../../org/apache/commons/math3/dfp/DfpField.html" title="class in org.apache.commons.math3.dfp">DfpField</a> field)</code> |
| <div class="block">Makes an instance with a value of zero.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected </code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#Dfp(org.apache.commons.math3.dfp.DfpField, byte)">Dfp</a></strong>(<a href="../../../../../org/apache/commons/math3/dfp/DfpField.html" title="class in org.apache.commons.math3.dfp">DfpField</a> field, |
| byte x)</code> |
| <div class="block">Create an instance from a byte value.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected </code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#Dfp(org.apache.commons.math3.dfp.DfpField, byte, byte)">Dfp</a></strong>(<a href="../../../../../org/apache/commons/math3/dfp/DfpField.html" title="class in org.apache.commons.math3.dfp">DfpField</a> field, |
| byte sign, |
| byte nans)</code> |
| <div class="block">Creates an instance with a non-finite value.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected </code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#Dfp(org.apache.commons.math3.dfp.DfpField, double)">Dfp</a></strong>(<a href="../../../../../org/apache/commons/math3/dfp/DfpField.html" title="class in org.apache.commons.math3.dfp">DfpField</a> field, |
| double x)</code> |
| <div class="block">Create an instance from a double value.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected </code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#Dfp(org.apache.commons.math3.dfp.DfpField, int)">Dfp</a></strong>(<a href="../../../../../org/apache/commons/math3/dfp/DfpField.html" title="class in org.apache.commons.math3.dfp">DfpField</a> field, |
| int x)</code> |
| <div class="block">Create an instance from an int value.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected </code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#Dfp(org.apache.commons.math3.dfp.DfpField, long)">Dfp</a></strong>(<a href="../../../../../org/apache/commons/math3/dfp/DfpField.html" title="class in org.apache.commons.math3.dfp">DfpField</a> field, |
| long x)</code> |
| <div class="block">Create an instance from a long value.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected </code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#Dfp(org.apache.commons.math3.dfp.DfpField, java.lang.String)">Dfp</a></strong>(<a href="../../../../../org/apache/commons/math3/dfp/DfpField.html" title="class in org.apache.commons.math3.dfp">DfpField</a> field, |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> s)</code> |
| <div class="block">Create an instance from a String representation.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span>Methods</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#abs()">abs</a></strong>()</code> |
| <div class="block">Get the absolute value of instance.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#acos()">acos</a></strong>()</code> |
| <div class="block">Arc cosine operation.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#acosh()">acosh</a></strong>()</code> |
| <div class="block">Inverse hyperbolic cosine operation.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#add(org.apache.commons.math3.dfp.Dfp)">add</a></strong>(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> x)</code> |
| <div class="block">Add x to this.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#add(double)">add</a></strong>(double a)</code> |
| <div class="block">'+' operator.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#align(int)">align</a></strong>(int e)</code> |
| <div class="block">Make our exp equal to the supplied one, this may cause rounding.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#asin()">asin</a></strong>()</code> |
| <div class="block">Arc sine operation.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#asinh()">asinh</a></strong>()</code> |
| <div class="block">Inverse hyperbolic sine operation.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#atan()">atan</a></strong>()</code> |
| <div class="block">Arc tangent operation.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#atan2(org.apache.commons.math3.dfp.Dfp)">atan2</a></strong>(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> x)</code> |
| <div class="block">Two arguments arc tangent operation.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#atanh()">atanh</a></strong>()</code> |
| <div class="block">Inverse hyperbolic tangent operation.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#cbrt()">cbrt</a></strong>()</code> |
| <div class="block">Cubic root.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#ceil()">ceil</a></strong>()</code> |
| <div class="block">Round to an integer using the round ceil mode.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#classify()">classify</a></strong>()</code> |
| <div class="block">Returns the type - one of FINITE, INFINITE, SNAN, QNAN.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#complement(int)">complement</a></strong>(int extra)</code> |
| <div class="block">Negate the mantissa of this by computing the complement.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#copySign(org.apache.commons.math3.dfp.Dfp)">copySign</a></strong>(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> s)</code> |
| <div class="block">Returns the instance with the sign of the argument.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#copysign(org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp)">copysign</a></strong>(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> x, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> y)</code> |
| <div class="block">Creates an instance that is the same as x except that it has the sign of y.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#copySign(double)">copySign</a></strong>(double s)</code> |
| <div class="block">Returns the instance with the sign of the argument.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#cos()">cos</a></strong>()</code> |
| <div class="block">Cosine operation.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#cosh()">cosh</a></strong>()</code> |
| <div class="block">Hyperbolic cosine operation.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#dfp2sci()">dfp2sci</a></strong>()</code> |
| <div class="block">Convert an instance to a string using scientific notation.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#dfp2string()">dfp2string</a></strong>()</code> |
| <div class="block">Convert an instance to a string using normal notation.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#divide(org.apache.commons.math3.dfp.Dfp)">divide</a></strong>(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> divisor)</code> |
| <div class="block">Divide this by divisor.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#divide(double)">divide</a></strong>(double a)</code> |
| <div class="block">'÷' operator.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#divide(int)">divide</a></strong>(int divisor)</code> |
| <div class="block">Divide by a single digit less than radix.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#dotrap(int, java.lang.String, org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp)">dotrap</a></strong>(int type, |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> what, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> oper, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> result)</code> |
| <div class="block">Raises a trap.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#equals(java.lang.Object)">equals</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> other)</code> |
| <div class="block">Check if instance is equal to x.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#exp()">exp</a></strong>()</code> |
| <div class="block">Exponential.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#expm1()">expm1</a></strong>()</code> |
| <div class="block">Exponential minus 1.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#floor()">floor</a></strong>()</code> |
| <div class="block">Round to an integer using the round floor mode.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/DfpField.html" title="class in org.apache.commons.math3.dfp">DfpField</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#getField()">getField</a></strong>()</code> |
| <div class="block">Get the <a href="../../../../../org/apache/commons/math3/Field.html" title="interface in org.apache.commons.math3"><code>Field</code></a> (really a <a href="../../../../../org/apache/commons/math3/dfp/DfpField.html" title="class in org.apache.commons.math3.dfp"><code>DfpField</code></a>) to which the instance belongs.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#getOne()">getOne</a></strong>()</code> |
| <div class="block">Get the constant 1.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#getRadixDigits()">getRadixDigits</a></strong>()</code> |
| <div class="block">Get the number of radix digits of the instance.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#getReal()">getReal</a></strong>()</code> |
| <div class="block">Get the real value of the number.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#getTwo()">getTwo</a></strong>()</code> |
| <div class="block">Get the constant 2.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#getZero()">getZero</a></strong>()</code> |
| <div class="block">Get the constant 0.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#greaterThan(org.apache.commons.math3.dfp.Dfp)">greaterThan</a></strong>(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> x)</code> |
| <div class="block">Check if instance is greater than x.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#hashCode()">hashCode</a></strong>()</code> |
| <div class="block">Gets a hashCode for the instance.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#hypot(org.apache.commons.math3.dfp.Dfp)">hypot</a></strong>(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> y)</code> |
| <div class="block">Returns the hypotenuse of a triangle with sides <code>this</code> and <code>y</code> |
| - sqrt(<i>this</i><sup>2</sup> +<i>y</i><sup>2</sup>)<br/> |
| avoiding intermediate overflow or underflow.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#intLog10()">intLog10</a></strong>()</code> |
| <div class="block">Get the exponent of the greatest power of 10 that is less than or equal to abs(this).</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#intValue()">intValue</a></strong>()</code> |
| <div class="block">Convert this to an integer.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#isInfinite()">isInfinite</a></strong>()</code> |
| <div class="block">Check if instance is infinite.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#isNaN()">isNaN</a></strong>()</code> |
| <div class="block">Check if instance is not a number.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#isZero()">isZero</a></strong>()</code> |
| <div class="block">Check if instance is equal to zero.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#lessThan(org.apache.commons.math3.dfp.Dfp)">lessThan</a></strong>(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> x)</code> |
| <div class="block">Check if instance is less than x.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#linearCombination(org.apache.commons.math3.dfp.Dfp[], org.apache.commons.math3.dfp.Dfp[])">linearCombination</a></strong>(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>[] a, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>[] b)</code> |
| <div class="block">Compute a linear combination.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#linearCombination(org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp)">linearCombination</a></strong>(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> a1, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> b1, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> a2, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> b2)</code> |
| <div class="block">Compute a linear combination.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#linearCombination(org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp)">linearCombination</a></strong>(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> a1, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> b1, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> a2, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> b2, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> a3, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> b3)</code> |
| <div class="block">Compute a linear combination.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#linearCombination(org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp)">linearCombination</a></strong>(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> a1, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> b1, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> a2, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> b2, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> a3, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> b3, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> a4, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> b4)</code> |
| <div class="block">Compute a linear combination.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#linearCombination(double[], org.apache.commons.math3.dfp.Dfp[])">linearCombination</a></strong>(double[] a, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>[] b)</code> |
| <div class="block">Compute a linear combination.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#linearCombination(double, org.apache.commons.math3.dfp.Dfp, double, org.apache.commons.math3.dfp.Dfp)">linearCombination</a></strong>(double a1, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> b1, |
| double a2, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> b2)</code> |
| <div class="block">Compute a linear combination.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#linearCombination(double, org.apache.commons.math3.dfp.Dfp, double, org.apache.commons.math3.dfp.Dfp, double, org.apache.commons.math3.dfp.Dfp)">linearCombination</a></strong>(double a1, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> b1, |
| double a2, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> b2, |
| double a3, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> b3)</code> |
| <div class="block">Compute a linear combination.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#linearCombination(double, org.apache.commons.math3.dfp.Dfp, double, org.apache.commons.math3.dfp.Dfp, double, org.apache.commons.math3.dfp.Dfp, double, org.apache.commons.math3.dfp.Dfp)">linearCombination</a></strong>(double a1, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> b1, |
| double a2, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> b2, |
| double a3, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> b3, |
| double a4, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> b4)</code> |
| <div class="block">Compute a linear combination.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#log()">log</a></strong>()</code> |
| <div class="block">Natural logarithm.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#log10()">log10</a></strong>()</code> |
| <div class="block"><strong>Deprecated.</strong> |
| <div class="block"><i>as of 3.2, replaced by <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#intLog10()"><code>intLog10()</code></a>, in 4.0 the return type |
| will be changed to Dfp</i></div> |
| </div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#log10K()">log10K</a></strong>()</code> |
| <div class="block">Get the exponent of the greatest power of 10000 that is |
| less than or equal to the absolute value of this.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#log1p()">log1p</a></strong>()</code> |
| <div class="block">Shifted natural logarithm.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#multiply(org.apache.commons.math3.dfp.Dfp)">multiply</a></strong>(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> x)</code> |
| <div class="block">Multiply this by x.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#multiply(double)">multiply</a></strong>(double a)</code> |
| <div class="block">'×' operator.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#multiply(int)">multiply</a></strong>(int x)</code> |
| <div class="block">Multiply this by a single digit x.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#negate()">negate</a></strong>()</code> |
| <div class="block">Returns a number that is this number with the sign bit reversed.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#negativeOrNull()">negativeOrNull</a></strong>()</code> |
| <div class="block">Check if instance is less than or equal to 0.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#newInstance()">newInstance</a></strong>()</code> |
| <div class="block">Create an instance with a value of 0.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#newInstance(byte)">newInstance</a></strong>(byte x)</code> |
| <div class="block">Create an instance from a byte value.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#newInstance(byte, byte)">newInstance</a></strong>(byte sig, |
| byte code)</code> |
| <div class="block">Creates an instance with a non-finite value.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#newInstance(org.apache.commons.math3.dfp.Dfp)">newInstance</a></strong>(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> d)</code> |
| <div class="block">Create an instance by copying an existing one.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#newInstance(double)">newInstance</a></strong>(double x)</code> |
| <div class="block">Create an instance from a double value.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#newInstance(int)">newInstance</a></strong>(int x)</code> |
| <div class="block">Create an instance from an int value.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#newInstance(long)">newInstance</a></strong>(long x)</code> |
| <div class="block">Create an instance from a long value.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#newInstance(java.lang.String)">newInstance</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> s)</code> |
| <div class="block">Create an instance from a String representation.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#nextAfter(org.apache.commons.math3.dfp.Dfp)">nextAfter</a></strong>(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> x)</code> |
| <div class="block">Returns the next number greater than this one in the direction of x.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#positiveOrNull()">positiveOrNull</a></strong>()</code> |
| <div class="block">Check if instance is greater than or equal to 0.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#pow(org.apache.commons.math3.dfp.Dfp)">pow</a></strong>(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> e)</code> |
| <div class="block">Power operation.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#pow(double)">pow</a></strong>(double p)</code> |
| <div class="block">Power operation.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#pow(int)">pow</a></strong>(int n)</code> |
| <div class="block">Integer power operation.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#power10(int)">power10</a></strong>(int e)</code> |
| <div class="block">Return the specified power of 10.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#power10K(int)">power10K</a></strong>(int e)</code> |
| <div class="block">Get the specified power of 10000.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#reciprocal()">reciprocal</a></strong>()</code> |
| <div class="block">Returns the multiplicative inverse of <code>this</code> element.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#remainder(org.apache.commons.math3.dfp.Dfp)">remainder</a></strong>(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> d)</code> |
| <div class="block">Returns the IEEE remainder.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#remainder(double)">remainder</a></strong>(double a)</code> |
| <div class="block">IEEE remainder operator.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#rint()">rint</a></strong>()</code> |
| <div class="block">Round to nearest integer using the round-half-even method.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#rootN(int)">rootN</a></strong>(int n)</code> |
| <div class="block">N<sup>th</sup> root.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#round()">round</a></strong>()</code> |
| <div class="block">Get the closest long to instance value.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#round(int)">round</a></strong>(int n)</code> |
| <div class="block">Round this given the next digit n using the current rounding mode.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#scalb(int)">scalb</a></strong>(int n)</code> |
| <div class="block">Multiply the instance by a power of 2.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#shiftLeft()">shiftLeft</a></strong>()</code> |
| <div class="block">Shift the mantissa left, and adjust the exponent to compensate.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#shiftRight()">shiftRight</a></strong>()</code> |
| <div class="block">Shift the mantissa right, and adjust the exponent to compensate.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#signum()">signum</a></strong>()</code> |
| <div class="block">Compute the signum of the instance.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#sin()">sin</a></strong>()</code> |
| <div class="block">Sine operation.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#sinh()">sinh</a></strong>()</code> |
| <div class="block">Hyperbolic sine operation.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#sqrt()">sqrt</a></strong>()</code> |
| <div class="block">Compute the square root.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#strictlyNegative()">strictlyNegative</a></strong>()</code> |
| <div class="block">Check if instance is strictly less than 0.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#strictlyPositive()">strictlyPositive</a></strong>()</code> |
| <div class="block">Check if instance is strictly greater than 0.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#subtract(org.apache.commons.math3.dfp.Dfp)">subtract</a></strong>(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> x)</code> |
| <div class="block">Subtract x from this.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#subtract(double)">subtract</a></strong>(double a)</code> |
| <div class="block">'-' operator.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#tan()">tan</a></strong>()</code> |
| <div class="block">Tangent operation.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#tanh()">tanh</a></strong>()</code> |
| <div class="block">Hyperbolic tangent operation.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#toDouble()">toDouble</a></strong>()</code> |
| <div class="block">Convert the instance into a double.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>double[]</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#toSplitDouble()">toSplitDouble</a></strong>()</code> |
| <div class="block">Convert the instance into a split double.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#toString()">toString</a></strong>()</code> |
| <div class="block">Get a string representation of the instance.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#trap(int, java.lang.String, org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp)">trap</a></strong>(int type, |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> what, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> oper, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> def, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> result)</code> |
| <div class="block">Trap handler.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#trunc(org.apache.commons.math3.dfp.DfpField.RoundingMode)">trunc</a></strong>(<a href="../../../../../org/apache/commons/math3/dfp/DfpField.RoundingMode.html" title="enum in org.apache.commons.math3.dfp">DfpField.RoundingMode</a> rmode)</code> |
| <div class="block">Does the integer conversions with the specified rounding.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#unequal(org.apache.commons.math3.dfp.Dfp)">unequal</a></strong>(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> x)</code> |
| <div class="block">Check if instance is not equal to x.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="http://docs.oracle.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://docs.oracle.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://docs.oracle.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://docs.oracle.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://docs.oracle.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://docs.oracle.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://docs.oracle.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://docs.oracle.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></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field_detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a name="RADIX"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>RADIX</h4> |
| <pre>public static final int RADIX</pre> |
| <div class="block">The radix, or base of this system. Set to 10000</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.apache.commons.math3.dfp.Dfp.RADIX">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="MIN_EXP"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>MIN_EXP</h4> |
| <pre>public static final int MIN_EXP</pre> |
| <div class="block">The minimum exponent before underflow is signaled. Flush to zero |
| occurs at minExp-DIGITS</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.apache.commons.math3.dfp.Dfp.MIN_EXP">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="MAX_EXP"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>MAX_EXP</h4> |
| <pre>public static final int MAX_EXP</pre> |
| <div class="block">The maximum exponent before overflow is signaled and results flushed |
| to infinity</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.apache.commons.math3.dfp.Dfp.MAX_EXP">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="ERR_SCALE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ERR_SCALE</h4> |
| <pre>public static final int ERR_SCALE</pre> |
| <div class="block">The amount under/overflows are scaled by before going to trap handler</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.apache.commons.math3.dfp.Dfp.ERR_SCALE">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="FINITE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>FINITE</h4> |
| <pre>public static final byte FINITE</pre> |
| <div class="block">Indicator value for normal finite numbers.</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.apache.commons.math3.dfp.Dfp.FINITE">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="INFINITE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>INFINITE</h4> |
| <pre>public static final byte INFINITE</pre> |
| <div class="block">Indicator value for Infinity.</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.apache.commons.math3.dfp.Dfp.INFINITE">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="SNAN"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>SNAN</h4> |
| <pre>public static final byte SNAN</pre> |
| <div class="block">Indicator value for signaling NaN.</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.apache.commons.math3.dfp.Dfp.SNAN">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="QNAN"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>QNAN</h4> |
| <pre>public static final byte QNAN</pre> |
| <div class="block">Indicator value for quiet NaN.</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.apache.commons.math3.dfp.Dfp.QNAN">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="mant"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>mant</h4> |
| <pre>protected int[] mant</pre> |
| <div class="block">Mantissa.</div> |
| </li> |
| </ul> |
| <a name="sign"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sign</h4> |
| <pre>protected byte sign</pre> |
| <div class="block">Sign bit: 1 for positive, -1 for negative.</div> |
| </li> |
| </ul> |
| <a name="exp"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>exp</h4> |
| <pre>protected int exp</pre> |
| <div class="block">Exponent.</div> |
| </li> |
| </ul> |
| <a name="nans"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>nans</h4> |
| <pre>protected byte nans</pre> |
| <div class="block">Indicator for non-finite / non-number values.</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="Dfp(org.apache.commons.math3.dfp.DfpField)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>Dfp</h4> |
| <pre>protected Dfp(<a href="../../../../../org/apache/commons/math3/dfp/DfpField.html" title="class in org.apache.commons.math3.dfp">DfpField</a> field)</pre> |
| <div class="block">Makes an instance with a value of zero.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>field</code> - field to which this instance belongs</dd></dl> |
| </li> |
| </ul> |
| <a name="Dfp(org.apache.commons.math3.dfp.DfpField, byte)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>Dfp</h4> |
| <pre>protected Dfp(<a href="../../../../../org/apache/commons/math3/dfp/DfpField.html" title="class in org.apache.commons.math3.dfp">DfpField</a> field, |
| byte x)</pre> |
| <div class="block">Create an instance from a byte value.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>field</code> - field to which this instance belongs</dd><dd><code>x</code> - value to convert to an instance</dd></dl> |
| </li> |
| </ul> |
| <a name="Dfp(org.apache.commons.math3.dfp.DfpField, int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>Dfp</h4> |
| <pre>protected Dfp(<a href="../../../../../org/apache/commons/math3/dfp/DfpField.html" title="class in org.apache.commons.math3.dfp">DfpField</a> field, |
| int x)</pre> |
| <div class="block">Create an instance from an int value.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>field</code> - field to which this instance belongs</dd><dd><code>x</code> - value to convert to an instance</dd></dl> |
| </li> |
| </ul> |
| <a name="Dfp(org.apache.commons.math3.dfp.DfpField, long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>Dfp</h4> |
| <pre>protected Dfp(<a href="../../../../../org/apache/commons/math3/dfp/DfpField.html" title="class in org.apache.commons.math3.dfp">DfpField</a> field, |
| long x)</pre> |
| <div class="block">Create an instance from a long value.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>field</code> - field to which this instance belongs</dd><dd><code>x</code> - value to convert to an instance</dd></dl> |
| </li> |
| </ul> |
| <a name="Dfp(org.apache.commons.math3.dfp.DfpField, double)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>Dfp</h4> |
| <pre>protected Dfp(<a href="../../../../../org/apache/commons/math3/dfp/DfpField.html" title="class in org.apache.commons.math3.dfp">DfpField</a> field, |
| double x)</pre> |
| <div class="block">Create an instance from a double value.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>field</code> - field to which this instance belongs</dd><dd><code>x</code> - value to convert to an instance</dd></dl> |
| </li> |
| </ul> |
| <a name="Dfp(org.apache.commons.math3.dfp.Dfp)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>Dfp</h4> |
| <pre>public Dfp(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> d)</pre> |
| <div class="block">Copy constructor.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>d</code> - instance to copy</dd></dl> |
| </li> |
| </ul> |
| <a name="Dfp(org.apache.commons.math3.dfp.DfpField, java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>Dfp</h4> |
| <pre>protected Dfp(<a href="../../../../../org/apache/commons/math3/dfp/DfpField.html" title="class in org.apache.commons.math3.dfp">DfpField</a> field, |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> s)</pre> |
| <div class="block">Create an instance from a String representation.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>field</code> - field to which this instance belongs</dd><dd><code>s</code> - string representation of the instance</dd></dl> |
| </li> |
| </ul> |
| <a name="Dfp(org.apache.commons.math3.dfp.DfpField, byte, byte)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>Dfp</h4> |
| <pre>protected Dfp(<a href="../../../../../org/apache/commons/math3/dfp/DfpField.html" title="class in org.apache.commons.math3.dfp">DfpField</a> field, |
| byte sign, |
| byte nans)</pre> |
| <div class="block">Creates an instance with a non-finite value.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>field</code> - field to which this instance belongs</dd><dd><code>sign</code> - sign of the Dfp to create</dd><dd><code>nans</code> - code of the value, must be one of <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#INFINITE"><code>INFINITE</code></a>, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#SNAN"><code>SNAN</code></a>, <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#QNAN"><code>QNAN</code></a></dd></dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="newInstance()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newInstance</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> newInstance()</pre> |
| <div class="block">Create an instance with a value of 0. |
| Use this internally in preference to constructors to facilitate subclasses</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>a new instance with a value of 0</dd></dl> |
| </li> |
| </ul> |
| <a name="newInstance(byte)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newInstance</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> newInstance(byte x)</pre> |
| <div class="block">Create an instance from a byte value.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - value to convert to an instance</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>a new instance with value x</dd></dl> |
| </li> |
| </ul> |
| <a name="newInstance(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newInstance</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> newInstance(int x)</pre> |
| <div class="block">Create an instance from an int value.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - value to convert to an instance</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>a new instance with value x</dd></dl> |
| </li> |
| </ul> |
| <a name="newInstance(long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newInstance</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> newInstance(long x)</pre> |
| <div class="block">Create an instance from a long value.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - value to convert to an instance</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>a new instance with value x</dd></dl> |
| </li> |
| </ul> |
| <a name="newInstance(double)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newInstance</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> newInstance(double x)</pre> |
| <div class="block">Create an instance from a double value.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - value to convert to an instance</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>a new instance with value x</dd></dl> |
| </li> |
| </ul> |
| <a name="newInstance(org.apache.commons.math3.dfp.Dfp)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newInstance</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> newInstance(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> d)</pre> |
| <div class="block">Create an instance by copying an existing one. |
| Use this internally in preference to constructors to facilitate subclasses.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>d</code> - instance to copy</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>a new instance with the same value as d</dd></dl> |
| </li> |
| </ul> |
| <a name="newInstance(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newInstance</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> newInstance(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> s)</pre> |
| <div class="block">Create an instance from a String representation. |
| Use this internally in preference to constructors to facilitate subclasses.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>s</code> - string representation of the instance</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>a new instance parsed from specified string</dd></dl> |
| </li> |
| </ul> |
| <a name="newInstance(byte, byte)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newInstance</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> newInstance(byte sig, |
| byte code)</pre> |
| <div class="block">Creates an instance with a non-finite value.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>sig</code> - sign of the Dfp to create</dd><dd><code>code</code> - code of the value, must be one of <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#INFINITE"><code>INFINITE</code></a>, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#SNAN"><code>SNAN</code></a>, <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#QNAN"><code>QNAN</code></a></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>a new instance with a non-finite value</dd></dl> |
| </li> |
| </ul> |
| <a name="getField()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getField</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/DfpField.html" title="class in org.apache.commons.math3.dfp">DfpField</a> getField()</pre> |
| <div class="block">Get the <a href="../../../../../org/apache/commons/math3/Field.html" title="interface in org.apache.commons.math3"><code>Field</code></a> (really a <a href="../../../../../org/apache/commons/math3/dfp/DfpField.html" title="class in org.apache.commons.math3.dfp"><code>DfpField</code></a>) to which the instance belongs. |
| <p> |
| The field is linked to the number of digits and acts as a factory |
| for <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp"><code>Dfp</code></a> instances. |
| </p></div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/FieldElement.html#getField()">getField</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/FieldElement.html" title="interface in org.apache.commons.math3">FieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd><a href="../../../../../org/apache/commons/math3/Field.html" title="interface in org.apache.commons.math3"><code>Field</code></a> (really a <a href="../../../../../org/apache/commons/math3/dfp/DfpField.html" title="class in org.apache.commons.math3.dfp"><code>DfpField</code></a>) to which the instance belongs</dd></dl> |
| </li> |
| </ul> |
| <a name="getRadixDigits()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRadixDigits</h4> |
| <pre>public int getRadixDigits()</pre> |
| <div class="block">Get the number of radix digits of the instance.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>number of radix digits</dd></dl> |
| </li> |
| </ul> |
| <a name="getZero()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getZero</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> getZero()</pre> |
| <div class="block">Get the constant 0.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>a Dfp with value zero</dd></dl> |
| </li> |
| </ul> |
| <a name="getOne()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getOne</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> getOne()</pre> |
| <div class="block">Get the constant 1.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>a Dfp with value one</dd></dl> |
| </li> |
| </ul> |
| <a name="getTwo()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTwo</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> getTwo()</pre> |
| <div class="block">Get the constant 2.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>a Dfp with value two</dd></dl> |
| </li> |
| </ul> |
| <a name="shiftLeft()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>shiftLeft</h4> |
| <pre>protected void shiftLeft()</pre> |
| <div class="block">Shift the mantissa left, and adjust the exponent to compensate.</div> |
| </li> |
| </ul> |
| <a name="shiftRight()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>shiftRight</h4> |
| <pre>protected void shiftRight()</pre> |
| <div class="block">Shift the mantissa right, and adjust the exponent to compensate.</div> |
| </li> |
| </ul> |
| <a name="align(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>align</h4> |
| <pre>protected int align(int e)</pre> |
| <div class="block">Make our exp equal to the supplied one, this may cause rounding. |
| Also causes de-normalized numbers. These numbers are generally |
| dangerous because most routines assume normalized numbers. |
| Align doesn't round, so it will return the last digit destroyed |
| by shifting right.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - desired exponent</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>last digit destroyed by shifting right</dd></dl> |
| </li> |
| </ul> |
| <a name="lessThan(org.apache.commons.math3.dfp.Dfp)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>lessThan</h4> |
| <pre>public boolean lessThan(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> x)</pre> |
| <div class="block">Check if instance is less than x.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - number to check instance against</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>true if instance is less than x and neither are NaN, false otherwise</dd></dl> |
| </li> |
| </ul> |
| <a name="greaterThan(org.apache.commons.math3.dfp.Dfp)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>greaterThan</h4> |
| <pre>public boolean greaterThan(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> x)</pre> |
| <div class="block">Check if instance is greater than x.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - number to check instance against</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>true if instance is greater than x and neither are NaN, false otherwise</dd></dl> |
| </li> |
| </ul> |
| <a name="negativeOrNull()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>negativeOrNull</h4> |
| <pre>public boolean negativeOrNull()</pre> |
| <div class="block">Check if instance is less than or equal to 0.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>true if instance is not NaN and less than or equal to 0, false otherwise</dd></dl> |
| </li> |
| </ul> |
| <a name="strictlyNegative()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>strictlyNegative</h4> |
| <pre>public boolean strictlyNegative()</pre> |
| <div class="block">Check if instance is strictly less than 0.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>true if instance is not NaN and less than or equal to 0, false otherwise</dd></dl> |
| </li> |
| </ul> |
| <a name="positiveOrNull()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>positiveOrNull</h4> |
| <pre>public boolean positiveOrNull()</pre> |
| <div class="block">Check if instance is greater than or equal to 0.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>true if instance is not NaN and greater than or equal to 0, false otherwise</dd></dl> |
| </li> |
| </ul> |
| <a name="strictlyPositive()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>strictlyPositive</h4> |
| <pre>public boolean strictlyPositive()</pre> |
| <div class="block">Check if instance is strictly greater than 0.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>true if instance is not NaN and greater than or equal to 0, false otherwise</dd></dl> |
| </li> |
| </ul> |
| <a name="abs()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>abs</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> abs()</pre> |
| <div class="block">Get the absolute value of instance.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#abs()">abs</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>absolute value of instance</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="isInfinite()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isInfinite</h4> |
| <pre>public boolean isInfinite()</pre> |
| <div class="block">Check if instance is infinite.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>true if instance is infinite</dd></dl> |
| </li> |
| </ul> |
| <a name="isNaN()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isNaN</h4> |
| <pre>public boolean isNaN()</pre> |
| <div class="block">Check if instance is not a number.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>true if instance is not a number</dd></dl> |
| </li> |
| </ul> |
| <a name="isZero()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isZero</h4> |
| <pre>public boolean isZero()</pre> |
| <div class="block">Check if instance is equal to zero.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>true if instance is equal to zero</dd></dl> |
| </li> |
| </ul> |
| <a name="equals(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>equals</h4> |
| <pre>public boolean equals(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> other)</pre> |
| <div class="block">Check if instance is equal to x.</div> |
| <dl> |
| <dt><strong>Overrides:</strong></dt> |
| <dd><code><a href="http://docs.oracle.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></code> in class <code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>other</code> - object to check instance against</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>true if instance is equal to x and neither are NaN, false otherwise</dd></dl> |
| </li> |
| </ul> |
| <a name="hashCode()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hashCode</h4> |
| <pre>public int hashCode()</pre> |
| <div class="block">Gets a hashCode for the instance.</div> |
| <dl> |
| <dt><strong>Overrides:</strong></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a></code> in class <code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>a hash code value for this object</dd></dl> |
| </li> |
| </ul> |
| <a name="unequal(org.apache.commons.math3.dfp.Dfp)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>unequal</h4> |
| <pre>public boolean unequal(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> x)</pre> |
| <div class="block">Check if instance is not equal to x.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - number to check instance against</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>true if instance is not equal to x and neither are NaN, false otherwise</dd></dl> |
| </li> |
| </ul> |
| <a name="rint()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>rint</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> rint()</pre> |
| <div class="block">Round to nearest integer using the round-half-even method. |
| That is round to nearest integer unless both are equidistant. |
| In which case round to the even one.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#rint()">rint</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>rounded value</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="floor()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>floor</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> floor()</pre> |
| <div class="block">Round to an integer using the round floor mode. |
| That is, round toward -Infinity</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#floor()">floor</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>rounded value</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="ceil()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ceil</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> ceil()</pre> |
| <div class="block">Round to an integer using the round ceil mode. |
| That is, round toward +Infinity</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#ceil()">ceil</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>rounded value</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="remainder(org.apache.commons.math3.dfp.Dfp)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>remainder</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> remainder(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> d)</pre> |
| <div class="block">Returns the IEEE remainder.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#remainder(T)">remainder</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>d</code> - divisor</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>this less n × d, where n is the integer closest to this/d</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="trunc(org.apache.commons.math3.dfp.DfpField.RoundingMode)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>trunc</h4> |
| <pre>protected <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> trunc(<a href="../../../../../org/apache/commons/math3/dfp/DfpField.RoundingMode.html" title="enum in org.apache.commons.math3.dfp">DfpField.RoundingMode</a> rmode)</pre> |
| <div class="block">Does the integer conversions with the specified rounding.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>rmode</code> - rounding mode to use</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>truncated value</dd></dl> |
| </li> |
| </ul> |
| <a name="intValue()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>intValue</h4> |
| <pre>public int intValue()</pre> |
| <div class="block">Convert this to an integer. |
| If greater than 2147483647, it returns 2147483647. If less than -2147483648 it returns -2147483648.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>converted number</dd></dl> |
| </li> |
| </ul> |
| <a name="log10K()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>log10K</h4> |
| <pre>public int log10K()</pre> |
| <div class="block">Get the exponent of the greatest power of 10000 that is |
| less than or equal to the absolute value of this. I.E. if |
| this is 10<sup>6</sup> then log10K would return 1.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>integer base 10000 logarithm</dd></dl> |
| </li> |
| </ul> |
| <a name="power10K(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>power10K</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> power10K(int e)</pre> |
| <div class="block">Get the specified power of 10000.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - desired power</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>10000<sup>e</sup></dd></dl> |
| </li> |
| </ul> |
| <a name="intLog10()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>intLog10</h4> |
| <pre>public int intLog10()</pre> |
| <div class="block">Get the exponent of the greatest power of 10 that is less than or equal to abs(this).</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>integer base 10 logarithm</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="power10(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>power10</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> power10(int e)</pre> |
| <div class="block">Return the specified power of 10.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - desired power</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>10<sup>e</sup></dd></dl> |
| </li> |
| </ul> |
| <a name="complement(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>complement</h4> |
| <pre>protected int complement(int extra)</pre> |
| <div class="block">Negate the mantissa of this by computing the complement. |
| Leaves the sign bit unchanged, used internally by add. |
| Denormalized numbers are handled properly here.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>extra</code> - ???</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>???</dd></dl> |
| </li> |
| </ul> |
| <a name="add(org.apache.commons.math3.dfp.Dfp)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>add</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> add(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> x)</pre> |
| <div class="block">Add x to this.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/FieldElement.html#add(T)">add</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/FieldElement.html" title="interface in org.apache.commons.math3">FieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - number to add</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>sum of this and x</dd></dl> |
| </li> |
| </ul> |
| <a name="negate()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>negate</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> negate()</pre> |
| <div class="block">Returns a number that is this number with the sign bit reversed.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/FieldElement.html#negate()">negate</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/FieldElement.html" title="interface in org.apache.commons.math3">FieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the opposite of this</dd></dl> |
| </li> |
| </ul> |
| <a name="subtract(org.apache.commons.math3.dfp.Dfp)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>subtract</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> subtract(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> x)</pre> |
| <div class="block">Subtract x from this.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/FieldElement.html#subtract(T)">subtract</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/FieldElement.html" title="interface in org.apache.commons.math3">FieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - number to subtract</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>difference of this and a</dd></dl> |
| </li> |
| </ul> |
| <a name="round(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>round</h4> |
| <pre>protected int round(int n)</pre> |
| <div class="block">Round this given the next digit n using the current rounding mode.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>n</code> - ???</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the IEEE flag if an exception occurred</dd></dl> |
| </li> |
| </ul> |
| <a name="multiply(org.apache.commons.math3.dfp.Dfp)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>multiply</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> multiply(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> x)</pre> |
| <div class="block">Multiply this by x.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/FieldElement.html#multiply(T)">multiply</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/FieldElement.html" title="interface in org.apache.commons.math3">FieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - multiplicand</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>product of this and x</dd></dl> |
| </li> |
| </ul> |
| <a name="multiply(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>multiply</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> multiply(int x)</pre> |
| <div class="block">Multiply this by a single digit x.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/FieldElement.html#multiply(int)">multiply</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/FieldElement.html" title="interface in org.apache.commons.math3">FieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - multiplicand</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>product of this and x</dd></dl> |
| </li> |
| </ul> |
| <a name="divide(org.apache.commons.math3.dfp.Dfp)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>divide</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> divide(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> divisor)</pre> |
| <div class="block">Divide this by divisor.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/FieldElement.html#divide(T)">divide</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/FieldElement.html" title="interface in org.apache.commons.math3">FieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>divisor</code> - divisor</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>quotient of this by divisor</dd></dl> |
| </li> |
| </ul> |
| <a name="divide(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>divide</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> divide(int divisor)</pre> |
| <div class="block">Divide by a single digit less than radix. |
| Special case, so there are speed advantages. 0 <= divisor < radix</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>divisor</code> - divisor</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>quotient of this by divisor</dd></dl> |
| </li> |
| </ul> |
| <a name="reciprocal()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>reciprocal</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> reciprocal()</pre> |
| <div class="block">Returns the multiplicative inverse of <code>this</code> element.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/FieldElement.html#reciprocal()">reciprocal</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/FieldElement.html" title="interface in org.apache.commons.math3">FieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#reciprocal()">reciprocal</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the inverse of <code>this</code>.</dd></dl> |
| </li> |
| </ul> |
| <a name="sqrt()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sqrt</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> sqrt()</pre> |
| <div class="block">Compute the square root.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#sqrt()">sqrt</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>square root of the instance</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="toString()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toString</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> toString()</pre> |
| <div class="block">Get a string representation of the instance.</div> |
| <dl> |
| <dt><strong>Overrides:</strong></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>string representation of the instance</dd></dl> |
| </li> |
| </ul> |
| <a name="dfp2sci()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dfp2sci</h4> |
| <pre>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> dfp2sci()</pre> |
| <div class="block">Convert an instance to a string using scientific notation.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>string representation of the instance in scientific notation</dd></dl> |
| </li> |
| </ul> |
| <a name="dfp2string()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dfp2string</h4> |
| <pre>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> dfp2string()</pre> |
| <div class="block">Convert an instance to a string using normal notation.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>string representation of the instance in normal notation</dd></dl> |
| </li> |
| </ul> |
| <a name="dotrap(int, java.lang.String, org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dotrap</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> dotrap(int type, |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> what, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> oper, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> result)</pre> |
| <div class="block">Raises a trap. This does not set the corresponding flag however.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - the trap type</dd><dd><code>what</code> - - name of routine trap occurred in</dd><dd><code>oper</code> - - input operator to function</dd><dd><code>result</code> - - the result computed prior to the trap</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>The suggested return value from the trap handler</dd></dl> |
| </li> |
| </ul> |
| <a name="trap(int, java.lang.String, org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>trap</h4> |
| <pre>protected <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> trap(int type, |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> what, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> oper, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> def, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> result)</pre> |
| <div class="block">Trap handler. Subclasses may override this to provide trap |
| functionality per IEEE 854-1987.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - The exception type - e.g. FLAG_OVERFLOW</dd><dd><code>what</code> - The name of the routine we were in e.g. divide()</dd><dd><code>oper</code> - An operand to this function if any</dd><dd><code>def</code> - The default return value if trap not enabled</dd><dd><code>result</code> - The result that is specified to be delivered per |
| IEEE 854, if any</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the value that should be return by the operation triggering the trap</dd></dl> |
| </li> |
| </ul> |
| <a name="classify()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>classify</h4> |
| <pre>public int classify()</pre> |
| <div class="block">Returns the type - one of FINITE, INFINITE, SNAN, QNAN.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>type of the number</dd></dl> |
| </li> |
| </ul> |
| <a name="copysign(org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>copysign</h4> |
| <pre>public static <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> copysign(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> x, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> y)</pre> |
| <div class="block">Creates an instance that is the same as x except that it has the sign of y. |
| abs(x) = dfp.copysign(x, dfp.one)</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - number to get the value from</dd><dd><code>y</code> - number to get the sign from</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>a number with the value of x and the sign of y</dd></dl> |
| </li> |
| </ul> |
| <a name="nextAfter(org.apache.commons.math3.dfp.Dfp)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>nextAfter</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> nextAfter(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> x)</pre> |
| <div class="block">Returns the next number greater than this one in the direction of x. |
| If this==x then simply returns this.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - direction where to look at</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>closest number next to instance in the direction of x</dd></dl> |
| </li> |
| </ul> |
| <a name="toDouble()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toDouble</h4> |
| <pre>public double toDouble()</pre> |
| <div class="block">Convert the instance into a double.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>a double approximating the instance</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#toSplitDouble()"><code>toSplitDouble()</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="toSplitDouble()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toSplitDouble</h4> |
| <pre>public double[] toSplitDouble()</pre> |
| <div class="block">Convert the instance into a split double.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>an array of two doubles which sum represent the instance</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#toDouble()"><code>toDouble()</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="getReal()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getReal</h4> |
| <pre>public double getReal()</pre> |
| <div class="block">Get the real value of the number.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#getReal()">getReal</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>real value</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="add(double)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>add</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> add(double a)</pre> |
| <div class="block">'+' operator.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#add(double)">add</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>a</code> - right hand side parameter of the operator</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>this+a</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="subtract(double)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>subtract</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> subtract(double a)</pre> |
| <div class="block">'-' operator.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#subtract(double)">subtract</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>a</code> - right hand side parameter of the operator</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>this-a</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="multiply(double)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>multiply</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> multiply(double a)</pre> |
| <div class="block">'×' operator.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#multiply(double)">multiply</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>a</code> - right hand side parameter of the operator</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>this×a</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="divide(double)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>divide</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> divide(double a)</pre> |
| <div class="block">'÷' operator.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#divide(double)">divide</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>a</code> - right hand side parameter of the operator</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>this÷s;a</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="remainder(double)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>remainder</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> remainder(double a)</pre> |
| <div class="block">IEEE remainder operator.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#remainder(double)">remainder</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>a</code> - right hand side parameter of the operator</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>this - n × a where n is the closest integer to this/a |
| (the even integer is chosen for n if this/a is halfway between two integers)</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="round()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>round</h4> |
| <pre>public long round()</pre> |
| <div class="block">Get the closest long to instance value.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#round()">round</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>closest long to <a href="../../../../../org/apache/commons/math3/RealFieldElement.html#getReal()"><code>RealFieldElement.getReal()</code></a></dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="signum()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>signum</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> signum()</pre> |
| <div class="block">Compute the signum of the instance. |
| The signum is -1 for negative numbers, +1 for positive numbers and 0 otherwise</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#signum()">signum</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>-1.0, -0.0, +0.0, +1.0 or NaN depending on sign of a</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="copySign(org.apache.commons.math3.dfp.Dfp)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>copySign</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> copySign(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> s)</pre> |
| <div class="block">Returns the instance with the sign of the argument. |
| A NaN <code>sign</code> argument is treated as positive.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#copySign(T)">copySign</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>s</code> - the sign for the returned value</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the instance with the same sign as the <code>sign</code> argument</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="copySign(double)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>copySign</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> copySign(double s)</pre> |
| <div class="block">Returns the instance with the sign of the argument. |
| A NaN <code>sign</code> argument is treated as positive.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#copySign(double)">copySign</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>s</code> - the sign for the returned value</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the instance with the same sign as the <code>sign</code> argument</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="scalb(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>scalb</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> scalb(int n)</pre> |
| <div class="block">Multiply the instance by a power of 2.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#scalb(int)">scalb</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>n</code> - power of 2</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>this × 2<sup>n</sup></dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="hypot(org.apache.commons.math3.dfp.Dfp)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hypot</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> hypot(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> y)</pre> |
| <div class="block">Returns the hypotenuse of a triangle with sides <code>this</code> and <code>y</code> |
| - sqrt(<i>this</i><sup>2</sup> +<i>y</i><sup>2</sup>)<br/> |
| avoiding intermediate overflow or underflow. |
| |
| <ul> |
| <li> If either argument is infinite, then the result is positive infinity.</li> |
| <li> else, if either argument is NaN then the result is NaN.</li> |
| </ul></div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#hypot(T)">hypot</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>y</code> - a value</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>sqrt(<i>this</i><sup>2</sup> +<i>y</i><sup>2</sup>)</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="cbrt()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>cbrt</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> cbrt()</pre> |
| <div class="block">Cubic root.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#cbrt()">cbrt</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>cubic root of the instance</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="rootN(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>rootN</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> rootN(int n)</pre> |
| <div class="block">N<sup>th</sup> root.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#rootN(int)">rootN</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>n</code> - order of the root</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>n<sup>th</sup> root of the instance</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="pow(double)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>pow</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> pow(double p)</pre> |
| <div class="block">Power operation.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#pow(double)">pow</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>p</code> - power to apply</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>this<sup>p</sup></dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="pow(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>pow</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> pow(int n)</pre> |
| <div class="block">Integer power operation.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#pow(int)">pow</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>n</code> - power to apply</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>this<sup>n</sup></dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="pow(org.apache.commons.math3.dfp.Dfp)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>pow</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> pow(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> e)</pre> |
| <div class="block">Power operation.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#pow(T)">pow</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - exponent</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>this<sup>e</sup></dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="exp()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>exp</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> exp()</pre> |
| <div class="block">Exponential.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#exp()">exp</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>exponential of the instance</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="expm1()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>expm1</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> expm1()</pre> |
| <div class="block">Exponential minus 1.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#expm1()">expm1</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>exponential minus one of the instance</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="log()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>log</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> log()</pre> |
| <div class="block">Natural logarithm.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#log()">log</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>logarithm of the instance</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="log1p()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>log1p</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> log1p()</pre> |
| <div class="block">Shifted natural logarithm.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#log1p()">log1p</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>logarithm of one plus the instance</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="log10()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>log10</h4> |
| <pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> |
| public int log10()</pre> |
| <div class="block"><span class="strong">Deprecated.</span> <i>as of 3.2, replaced by <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html#intLog10()"><code>intLog10()</code></a>, in 4.0 the return type |
| will be changed to Dfp</i></div> |
| <div class="block">Get the exponent of the greatest power of 10 that is less than or equal to abs(this).</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>integer base 10 logarithm</dd></dl> |
| </li> |
| </ul> |
| <a name="cos()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>cos</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> cos()</pre> |
| <div class="block">Cosine operation.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#cos()">cos</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>cos(this)</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="sin()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sin</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> sin()</pre> |
| <div class="block">Sine operation.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#sin()">sin</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>sin(this)</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="tan()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>tan</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> tan()</pre> |
| <div class="block">Tangent operation.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#tan()">tan</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>tan(this)</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="acos()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>acos</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> acos()</pre> |
| <div class="block">Arc cosine operation.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#acos()">acos</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>acos(this)</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="asin()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>asin</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> asin()</pre> |
| <div class="block">Arc sine operation.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#asin()">asin</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>asin(this)</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="atan()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>atan</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> atan()</pre> |
| <div class="block">Arc tangent operation.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#atan()">atan</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>atan(this)</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="atan2(org.apache.commons.math3.dfp.Dfp)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>atan2</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> atan2(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> x) |
| throws <a href="../../../../../org/apache/commons/math3/exception/DimensionMismatchException.html" title="class in org.apache.commons.math3.exception">DimensionMismatchException</a></pre> |
| <div class="block">Two arguments arc tangent operation.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#atan2(T)">atan2</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - second argument of the arc tangent</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>atan2(this, x)</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/exception/DimensionMismatchException.html" title="class in org.apache.commons.math3.exception">DimensionMismatchException</a></code> - if number of free parameters or orders are inconsistent</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="cosh()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>cosh</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> cosh()</pre> |
| <div class="block">Hyperbolic cosine operation.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#cosh()">cosh</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>cosh(this)</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="sinh()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sinh</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> sinh()</pre> |
| <div class="block">Hyperbolic sine operation.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#sinh()">sinh</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>sinh(this)</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="tanh()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>tanh</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> tanh()</pre> |
| <div class="block">Hyperbolic tangent operation.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#tanh()">tanh</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>tanh(this)</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="acosh()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>acosh</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> acosh()</pre> |
| <div class="block">Inverse hyperbolic cosine operation.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#acosh()">acosh</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>acosh(this)</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="asinh()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>asinh</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> asinh()</pre> |
| <div class="block">Inverse hyperbolic sine operation.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#asinh()">asinh</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>asin(this)</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="atanh()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>atanh</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> atanh()</pre> |
| <div class="block">Inverse hyperbolic tangent operation.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#atanh()">atanh</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>atanh(this)</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="linearCombination(org.apache.commons.math3.dfp.Dfp[], org.apache.commons.math3.dfp.Dfp[])"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>linearCombination</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> linearCombination(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>[] a, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>[] b) |
| throws <a href="../../../../../org/apache/commons/math3/exception/DimensionMismatchException.html" title="class in org.apache.commons.math3.exception">DimensionMismatchException</a></pre> |
| <div class="block">Compute a linear combination.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#linearCombination(T[], T[])">linearCombination</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>a</code> - Factors.</dd><dd><code>b</code> - Factors.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd><code>Σ<sub>i</sub> a<sub>i</sub> b<sub>i</sub></code>.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/exception/DimensionMismatchException.html" title="class in org.apache.commons.math3.exception">DimensionMismatchException</a></code> - if arrays dimensions don't match</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="linearCombination(double[], org.apache.commons.math3.dfp.Dfp[])"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>linearCombination</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> linearCombination(double[] a, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>[] b) |
| throws <a href="../../../../../org/apache/commons/math3/exception/DimensionMismatchException.html" title="class in org.apache.commons.math3.exception">DimensionMismatchException</a></pre> |
| <div class="block">Compute a linear combination.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#linearCombination(double[], T[])">linearCombination</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>a</code> - Factors.</dd><dd><code>b</code> - Factors.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd><code>Σ<sub>i</sub> a<sub>i</sub> b<sub>i</sub></code>.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/exception/DimensionMismatchException.html" title="class in org.apache.commons.math3.exception">DimensionMismatchException</a></code> - if arrays dimensions don't match</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd></dl> |
| </li> |
| </ul> |
| <a name="linearCombination(org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>linearCombination</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> linearCombination(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> a1, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> b1, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> a2, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> b2)</pre> |
| <div class="block">Compute a linear combination.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#linearCombination(T, T, T, T)">linearCombination</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>a1</code> - first factor of the first term</dd><dd><code>b1</code> - second factor of the first term</dd><dd><code>a2</code> - first factor of the second term</dd><dd><code>b2</code> - second factor of the second term</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>a<sub>1</sub>×b<sub>1</sub> + |
| a<sub>2</sub>×b<sub>2</sub></dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd> |
| <dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#linearCombination(T, T, T, T, T, T)"><code>RealFieldElement.linearCombination(Object, Object, Object, Object, Object, Object)</code></a>, |
| <a href="../../../../../org/apache/commons/math3/RealFieldElement.html#linearCombination(T, T, T, T, T, T, T, T)"><code>RealFieldElement.linearCombination(Object, Object, Object, Object, Object, Object, Object, Object)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="linearCombination(double, org.apache.commons.math3.dfp.Dfp, double, org.apache.commons.math3.dfp.Dfp)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>linearCombination</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> linearCombination(double a1, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> b1, |
| double a2, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> b2)</pre> |
| <div class="block">Compute a linear combination.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#linearCombination(double, T, double, T)">linearCombination</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>a1</code> - first factor of the first term</dd><dd><code>b1</code> - second factor of the first term</dd><dd><code>a2</code> - first factor of the second term</dd><dd><code>b2</code> - second factor of the second term</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>a<sub>1</sub>×b<sub>1</sub> + |
| a<sub>2</sub>×b<sub>2</sub></dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd> |
| <dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#linearCombination(double, T, double, T, double, T)"><code>RealFieldElement.linearCombination(double, Object, double, Object, double, Object)</code></a>, |
| <a href="../../../../../org/apache/commons/math3/RealFieldElement.html#linearCombination(double, T, double, T, double, T, double, T)"><code>RealFieldElement.linearCombination(double, Object, double, Object, double, Object, double, Object)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="linearCombination(org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>linearCombination</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> linearCombination(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> a1, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> b1, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> a2, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> b2, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> a3, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> b3)</pre> |
| <div class="block">Compute a linear combination.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#linearCombination(T, T, T, T, T, T)">linearCombination</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>a1</code> - first factor of the first term</dd><dd><code>b1</code> - second factor of the first term</dd><dd><code>a2</code> - first factor of the second term</dd><dd><code>b2</code> - second factor of the second term</dd><dd><code>a3</code> - first factor of the third term</dd><dd><code>b3</code> - second factor of the third term</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>a<sub>1</sub>×b<sub>1</sub> + |
| a<sub>2</sub>×b<sub>2</sub> + a<sub>3</sub>×b<sub>3</sub></dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd> |
| <dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#linearCombination(T, T, T, T)"><code>RealFieldElement.linearCombination(Object, Object, Object, Object)</code></a>, |
| <a href="../../../../../org/apache/commons/math3/RealFieldElement.html#linearCombination(T, T, T, T, T, T, T, T)"><code>RealFieldElement.linearCombination(Object, Object, Object, Object, Object, Object, Object, Object)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="linearCombination(double, org.apache.commons.math3.dfp.Dfp, double, org.apache.commons.math3.dfp.Dfp, double, org.apache.commons.math3.dfp.Dfp)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>linearCombination</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> linearCombination(double a1, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> b1, |
| double a2, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> b2, |
| double a3, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> b3)</pre> |
| <div class="block">Compute a linear combination.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#linearCombination(double, T, double, T, double, T)">linearCombination</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>a1</code> - first factor of the first term</dd><dd><code>b1</code> - second factor of the first term</dd><dd><code>a2</code> - first factor of the second term</dd><dd><code>b2</code> - second factor of the second term</dd><dd><code>a3</code> - first factor of the third term</dd><dd><code>b3</code> - second factor of the third term</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>a<sub>1</sub>×b<sub>1</sub> + |
| a<sub>2</sub>×b<sub>2</sub> + a<sub>3</sub>×b<sub>3</sub></dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd> |
| <dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#linearCombination(double, T, double, T)"><code>RealFieldElement.linearCombination(double, Object, double, Object)</code></a>, |
| <a href="../../../../../org/apache/commons/math3/RealFieldElement.html#linearCombination(double, T, double, T, double, T, double, T)"><code>RealFieldElement.linearCombination(double, Object, double, Object, double, Object, double, Object)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="linearCombination(org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp, org.apache.commons.math3.dfp.Dfp)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>linearCombination</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> linearCombination(<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> a1, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> b1, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> a2, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> b2, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> a3, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> b3, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> a4, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> b4)</pre> |
| <div class="block">Compute a linear combination.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#linearCombination(T, T, T, T, T, T, T, T)">linearCombination</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>a1</code> - first factor of the first term</dd><dd><code>b1</code> - second factor of the first term</dd><dd><code>a2</code> - first factor of the second term</dd><dd><code>b2</code> - second factor of the second term</dd><dd><code>a3</code> - first factor of the third term</dd><dd><code>b3</code> - second factor of the third term</dd><dd><code>a4</code> - first factor of the third term</dd><dd><code>b4</code> - second factor of the third term</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>a<sub>1</sub>×b<sub>1</sub> + |
| a<sub>2</sub>×b<sub>2</sub> + a<sub>3</sub>×b<sub>3</sub> + |
| a<sub>4</sub>×b<sub>4</sub></dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd> |
| <dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#linearCombination(T, T, T, T)"><code>RealFieldElement.linearCombination(Object, Object, Object, Object)</code></a>, |
| <a href="../../../../../org/apache/commons/math3/RealFieldElement.html#linearCombination(T, T, T, T, T, T)"><code>RealFieldElement.linearCombination(Object, Object, Object, Object, Object, Object)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="linearCombination(double, org.apache.commons.math3.dfp.Dfp, double, org.apache.commons.math3.dfp.Dfp, double, org.apache.commons.math3.dfp.Dfp, double, org.apache.commons.math3.dfp.Dfp)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>linearCombination</h4> |
| <pre>public <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> linearCombination(double a1, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> b1, |
| double a2, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> b2, |
| double a3, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> b3, |
| double a4, |
| <a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a> b4)</pre> |
| <div class="block">Compute a linear combination.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#linearCombination(double, T, double, T, double, T, double, T)">linearCombination</a></code> in interface <code><a href="../../../../../org/apache/commons/math3/RealFieldElement.html" title="interface in org.apache.commons.math3">RealFieldElement</a><<a href="../../../../../org/apache/commons/math3/dfp/Dfp.html" title="class in org.apache.commons.math3.dfp">Dfp</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>a1</code> - first factor of the first term</dd><dd><code>b1</code> - second factor of the first term</dd><dd><code>a2</code> - first factor of the second term</dd><dd><code>b2</code> - second factor of the second term</dd><dd><code>a3</code> - first factor of the third term</dd><dd><code>b3</code> - second factor of the third term</dd><dd><code>a4</code> - first factor of the third term</dd><dd><code>b4</code> - second factor of the third term</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>a<sub>1</sub>×b<sub>1</sub> + |
| a<sub>2</sub>×b<sub>2</sub> + a<sub>3</sub>×b<sub>3</sub> + |
| a<sub>4</sub>×b<sub>4</sub></dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd> |
| <dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/commons/math3/RealFieldElement.html#linearCombination(double, T, double, T)"><code>RealFieldElement.linearCombination(double, Object, double, Object)</code></a>, |
| <a href="../../../../../org/apache/commons/math3/RealFieldElement.html#linearCombination(double, T, double, T, double, T)"><code>RealFieldElement.linearCombination(double, Object, double, Object, double, Object)</code></a></dd></dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar_bottom"> |
| <!-- --> |
| </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/Dfp.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage"><em><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script></em></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/apache/commons/math3/dfp/BracketingNthOrderBrentSolverDFP.html" title="class in org.apache.commons.math3.dfp"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/commons/math3/dfp/DfpDec.html" title="class in org.apache.commons.math3.dfp"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/commons/math3/dfp/Dfp.html" target="_top">Frames</a></li> |
| <li><a href="Dfp.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field_summary">Field</a> | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field_detail">Field</a> | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2003–2014 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </body> |
| </html> |