Java Doc for IntNum.java in  » Scripting » Kawa » gnu » math » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Scripting » Kawa » gnu.math 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.lang.Number
      gnu.math.Numeric
         gnu.math.Quantity
            gnu.math.Complex
               gnu.math.RealNum
                  gnu.math.RatNum
                     gnu.math.IntNum

All known Subclasses:   gnu.kawa.xml.XInteger,
IntNum
public class IntNum extends RatNum implements Externalizable(Code)
A class for infinite-precision integers.
author:
   Per Bothner


Field Summary
public  intival
     All integers are stored in 2's-complement form. If words == null, the ival is the value of this IntNum. Otherwise, the first ival elements of words make the value of this IntNum, stored in little-endian order, 2's-complement form.
final static  intmaxFixNum
    
final static  intminFixNum
     We pre-allocate integers in the range minFixNum..maxFixNum.
final static  intnumFixNum
    
final static  IntNum[]smallFixNums
    
public  int[]words
    

Constructor Summary
public  IntNum()
    
public  IntNum(int value)
     Create a new (non-shared) IntNum, and initialize to an int.

Method Summary
public static  IntNumabs(IntNum x)
    
final public static  IntNumadd(int x, int y)
     Add two ints, yielding an IntNum.
public static  IntNumadd(IntNum x, int y)
     Add an IntNum and an int, yielding a new IntNum.
public static  IntNumadd(IntNum x, IntNum y)
     Add two IntNums, yielding their sum as another IntNum.
public static  IntNumadd(IntNum x, IntNum y, int k)
     Add two IntNums, yielding their sum as another IntNum.
public  Numericadd(Object y, int k)
    
public static  IntNumalloc(int nwords)
     Allocate a new non-shared IntNum.
public  BigDecimalasBigDecimal()
    
public  BigIntegerasBigInteger()
    
public  IntNumcanonicalize()
    
 booleancheckBits(int n)
     Return true if any of the lowest n bits are one. (false if n is negative).
public static  intcompare(IntNum x, IntNum y)
     Return -1, 0, or 1, depending on which value is greater.
public static  intcompare(IntNum x, long y)
     Return -1, 0, or 1, depending on which value is greater.
public  intcompare(Object obj)
    
final public  IntNumdenominator()
    
public  Numericdiv(Object y)
    
public static  voiddivide(long x, long y, IntNum quotient, IntNum remainder, int rounding_mode)
    
public static  voiddivide(IntNum x, IntNum y, IntNum quotient, IntNum remainder, int rounding_mode)
     Divide two integers, yielding quotient and remainder.
public  doubledoubleValue()
    
public static  booleanequals(IntNum x, IntNum y)
    
public  booleanequals(Object obj)
    
public  voidformat(int radix, StringBuffer buffer)
    
final public static  intgcd(int a, int b)
     Calculate Greatest Common Divisor for non-negative ints.
public static  IntNumgcd(IntNum x, IntNum y)
    
public  voidgetAbsolute(int[] words)
     Copy the abolute value of this into an array of words.
public  inthashCode()
    
public  intintLength()
     Calculates ceiling(log2(this < 0 ? -this : this+1)) . See Common Lisp: the Language, 2nd ed, p.
public  intintValue()
    
public static  intintValue(Object obj)
     Cast an Object to an int.
final public  booleanisMinusOne()
    
final public  booleanisNegative()
    
final public  booleanisOdd()
    
final public  booleanisOne()
    
final public  booleanisZero()
    
public static  IntNumlcm(IntNum x, IntNum y)
    
public  longlongValue()
    
public static  IntNummake(int value)
     Return a (possibly-shared) IntNum with a given int value.
public static  IntNummake(long value)
     Return a (possibly-shared) IntNum with a given long value.
public static  IntNummake(int[] words, int len)
     Make a canonicalized IntNum from an array of words. The array may be reused (without copying).
public static  IntNummake(int[] words)
    
public static  IntNummakeU(long value)
     Make an IntNum from an unsigned 64-bit value.
public static  IntNumminusOne()
     Return the IntNum for -1.
public static  IntNummodulo(IntNum x, IntNum y)
    
public  Numericmul(Object y)
    
public static  IntNumneg(IntNum x)
    
public  Numericneg()
    
public static  booleannegate(int[] dest, int[] src, int len)
     Set dest[0:len-1] to the negation of src[0:len-1]. Return true if overflow (i.e.
final public  IntNumnumerator()
    
final public static  IntNumone()
    
public  Numericpower(IntNum y)
    
public static  IntNumpower(IntNum x, int y)
     Calculate the integral power of an IntNum.
public static  IntNumquotient(IntNum x, IntNum y, int rounding_mode)
    
public static  IntNumquotient(IntNum x, IntNum y)
    
public  voidreadExternal(ObjectInput in)
    
public  ObjectreadResolve()
    
public  voidrealloc(int nwords)
     Change words.length to nwords. We allow words.length to be upto nwords+2 without reallocating.
public static  IntNumremainder(IntNum x, IntNum y)
    
public  doubleroundToDouble(int exp, boolean neg, boolean remainder)
     Convert a semi-processed IntNum to double. Number must be non-negative.
final public  voidset(int y)
     Destructively set the value of this to an int.
final public  voidset(long y)
     Destructively set the value of this to a long.
final public  voidset(int[] words, int length)
     Destructively set the value of this to the given words. The words array is reused, not copied.
final public  voidset(IntNum y)
     Destructively set the value of this to that of y.
public  voidsetAdd(IntNum x, int y)
     Set this to the sum of x and y. OK if x==this.
final public  voidsetAdd(int y)
     Destructively add an int to this.
 voidsetInvert()
    
public  voidsetNegative(IntNum x)
     Destructively set this to the negative of x.
final public  voidsetNegative()
     Destructively negate this.
 voidsetShift(IntNum x, int count)
    
 voidsetShiftLeft(IntNum x, int count)
    
 voidsetShiftRight(IntNum x, int count)
    
public static  IntNumshift(IntNum x, int count)
    
public  intsign()
    
public static  IntNumsub(IntNum x, IntNum y)
     Subtract two IntNums, yielding their sum as another IntNum.
final public static  IntNumten()
    
final public static  IntNumtimes(int x, int y)
     Multiply two ints, yielding an IntNum.
final public static  IntNumtimes(IntNum x, int y)
    
final public static  IntNumtimes(IntNum x, IntNum y)
    
public  IntNumtoExactInt(int rounding_mode)
    
public  RealNumtoInt(int rounding_mode)
    
public  StringtoString(int radix)
    
public static  IntNumvalueOf(char[] buf, int offset, int length, int radix, boolean negative)
    
public static  IntNumvalueOf(String s, int radix)
    
public static  IntNumvalueOf(byte[] digits, int byte_len, boolean negative, int radix)
    
public static  IntNumvalueOf(String s)
    
public static  intwordsNeeded(int[] words, int len)
     Calculate how many words are significant in words[0:len-1].
public  voidwriteExternal(ObjectOutput out)
    
final public static  IntNumzero()
    

Field Detail
ival
public int ival(Code)
All integers are stored in 2's-complement form. If words == null, the ival is the value of this IntNum. Otherwise, the first ival elements of words make the value of this IntNum, stored in little-endian order, 2's-complement form.



maxFixNum
final static int maxFixNum(Code)



minFixNum
final static int minFixNum(Code)
We pre-allocate integers in the range minFixNum..maxFixNum.



numFixNum
final static int numFixNum(Code)



smallFixNums
final static IntNum[] smallFixNums(Code)



words
public int[] words(Code)




Constructor Detail
IntNum
public IntNum()(Code)



IntNum
public IntNum(int value)(Code)
Create a new (non-shared) IntNum, and initialize to an int.
Parameters:
  value - the initial value




Method Detail
abs
public static IntNum abs(IntNum x)(Code)



add
final public static IntNum add(int x, int y)(Code)
Add two ints, yielding an IntNum.



add
public static IntNum add(IntNum x, int y)(Code)
Add an IntNum and an int, yielding a new IntNum.



add
public static IntNum add(IntNum x, IntNum y)(Code)
Add two IntNums, yielding their sum as another IntNum.



add
public static IntNum add(IntNum x, IntNum y, int k)(Code)
Add two IntNums, yielding their sum as another IntNum.



add
public Numeric add(Object y, int k)(Code)



alloc
public static IntNum alloc(int nwords)(Code)
Allocate a new non-shared IntNum.
Parameters:
  nwords - number of words to allocate



asBigDecimal
public BigDecimal asBigDecimal()(Code)



asBigInteger
public BigInteger asBigInteger()(Code)



canonicalize
public IntNum canonicalize()(Code)



checkBits
boolean checkBits(int n)(Code)
Return true if any of the lowest n bits are one. (false if n is negative).



compare
public static int compare(IntNum x, IntNum y)(Code)
Return -1, 0, or 1, depending on which value is greater.



compare
public static int compare(IntNum x, long y)(Code)
Return -1, 0, or 1, depending on which value is greater.



compare
public int compare(Object obj)(Code)



denominator
final public IntNum denominator()(Code)



div
public Numeric div(Object y)(Code)



divide
public static void divide(long x, long y, IntNum quotient, IntNum remainder, int rounding_mode)(Code)



divide
public static void divide(IntNum x, IntNum y, IntNum quotient, IntNum remainder, int rounding_mode)(Code)
Divide two integers, yielding quotient and remainder.
Parameters:
  x - the numerator in the division
Parameters:
  y - the denominator in the division
Parameters:
  quotient - is set to the quotient of the result (iff quotient!=null)
Parameters:
  remainder - is set to the remainder of the result(iff remainder!=null)
Parameters:
  rounding_mode - one of FLOOR, CEILING, TRUNCATE, or ROUND.



doubleValue
public double doubleValue()(Code)



equals
public static boolean equals(IntNum x, IntNum y)(Code)



equals
public boolean equals(Object obj)(Code)



format
public void format(int radix, StringBuffer buffer)(Code)



gcd
final public static int gcd(int a, int b)(Code)
Calculate Greatest Common Divisor for non-negative ints.



gcd
public static IntNum gcd(IntNum x, IntNum y)(Code)



getAbsolute
public void getAbsolute(int[] words)(Code)
Copy the abolute value of this into an array of words. Assumes words.length >= (this.words == null ? 1 : this.ival). Result is zero-extended, but need not be a valid 2's complement number.



hashCode
public int hashCode()(Code)



intLength
public int intLength()(Code)
Calculates ceiling(log2(this < 0 ? -this : this+1)) . See Common Lisp: the Language, 2nd ed, p. 361.



intValue
public int intValue()(Code)



intValue
public static int intValue(Object obj)(Code)
Cast an Object to an int. The Object must (currently) be an IntNum.



isMinusOne
final public boolean isMinusOne()(Code)



isNegative
final public boolean isNegative()(Code)



isOdd
final public boolean isOdd()(Code)



isOne
final public boolean isOne()(Code)



isZero
final public boolean isZero()(Code)



lcm
public static IntNum lcm(IntNum x, IntNum y)(Code)



longValue
public long longValue()(Code)



make
public static IntNum make(int value)(Code)
Return a (possibly-shared) IntNum with a given int value.



make
public static IntNum make(long value)(Code)
Return a (possibly-shared) IntNum with a given long value.



make
public static IntNum make(int[] words, int len)(Code)
Make a canonicalized IntNum from an array of words. The array may be reused (without copying).



make
public static IntNum make(int[] words)(Code)



makeU
public static IntNum makeU(long value)(Code)
Make an IntNum from an unsigned 64-bit value.



minusOne
public static IntNum minusOne()(Code)
Return the IntNum for -1.



modulo
public static IntNum modulo(IntNum x, IntNum y)(Code)



mul
public Numeric mul(Object y)(Code)



neg
public static IntNum neg(IntNum x)(Code)



neg
public Numeric neg()(Code)



negate
public static boolean negate(int[] dest, int[] src, int len)(Code)
Set dest[0:len-1] to the negation of src[0:len-1]. Return true if overflow (i.e. if src is -2**(32*len-1)). Ok for src==dest.



numerator
final public IntNum numerator()(Code)



one
final public static IntNum one()(Code)



power
public Numeric power(IntNum y)(Code)



power
public static IntNum power(IntNum x, int y)(Code)
Calculate the integral power of an IntNum.
Parameters:
  x - the value (base) to exponentiate
Parameters:
  y - the exponent (must be non-negative)



quotient
public static IntNum quotient(IntNum x, IntNum y, int rounding_mode)(Code)



quotient
public static IntNum quotient(IntNum x, IntNum y)(Code)



readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException(Code)



readResolve
public Object readResolve() throws ObjectStreamException(Code)



realloc
public void realloc(int nwords)(Code)
Change words.length to nwords. We allow words.length to be upto nwords+2 without reallocating.



remainder
public static IntNum remainder(IntNum x, IntNum y)(Code)



roundToDouble
public double roundToDouble(int exp, boolean neg, boolean remainder)(Code)
Convert a semi-processed IntNum to double. Number must be non-negative. Multiplies by a power of two, applies sign, and converts to double, with the usual java rounding.
Parameters:
  exp - power of two, positive or negative, by which to multiply
Parameters:
  neg - true if negative
Parameters:
  remainder - true if the IntNum is the result of a truncatingdivision that had non-zero remainder. To ensure proper rounding inthis case, the IntNum must have at least 54 bits.



set
final public void set(int y)(Code)
Destructively set the value of this to an int.



set
final public void set(long y)(Code)
Destructively set the value of this to a long.



set
final public void set(int[] words, int length)(Code)
Destructively set the value of this to the given words. The words array is reused, not copied.



set
final public void set(IntNum y)(Code)
Destructively set the value of this to that of y.



setAdd
public void setAdd(IntNum x, int y)(Code)
Set this to the sum of x and y. OK if x==this.



setAdd
final public void setAdd(int y)(Code)
Destructively add an int to this.



setInvert
void setInvert()(Code)



setNegative
public void setNegative(IntNum x)(Code)
Destructively set this to the negative of x. It is OK if x==this.



setNegative
final public void setNegative()(Code)
Destructively negate this.



setShift
void setShift(IntNum x, int count)(Code)



setShiftLeft
void setShiftLeft(IntNum x, int count)(Code)



setShiftRight
void setShiftRight(IntNum x, int count)(Code)



shift
public static IntNum shift(IntNum x, int count)(Code)



sign
public int sign()(Code)



sub
public static IntNum sub(IntNum x, IntNum y)(Code)
Subtract two IntNums, yielding their sum as another IntNum.



ten
final public static IntNum ten()(Code)



times
final public static IntNum times(int x, int y)(Code)
Multiply two ints, yielding an IntNum.



times
final public static IntNum times(IntNum x, int y)(Code)



times
final public static IntNum times(IntNum x, IntNum y)(Code)



toExactInt
public IntNum toExactInt(int rounding_mode)(Code)



toInt
public RealNum toInt(int rounding_mode)(Code)



toString
public String toString(int radix)(Code)



valueOf
public static IntNum valueOf(char[] buf, int offset, int length, int radix, boolean negative)(Code)



valueOf
public static IntNum valueOf(String s, int radix) throws NumberFormatException(Code)



valueOf
public static IntNum valueOf(byte[] digits, int byte_len, boolean negative, int radix)(Code)



valueOf
public static IntNum valueOf(String s) throws NumberFormatException(Code)



wordsNeeded
public static int wordsNeeded(int[] words, int len)(Code)
Calculate how many words are significant in words[0:len-1]. Returns the least value x such that x>0 && words[0:x-1]==words[0:len-1], when words is viewed as a 2's complement integer.



writeExternal
public void writeExternal(ObjectOutput out) throws IOException(Code)



zero
final public static IntNum zero()(Code)



Methods inherited from gnu.math.RatNum
public static RatNum add(RatNum x, RatNum y, int k)(Code)(Java Doc)
public static int compare(RatNum x, RatNum y)(Code)(Java Doc)
abstract public IntNum denominator()(Code)(Java Doc)
public static RatNum divide(RatNum x, RatNum y)(Code)(Java Doc)
public static boolean equals(RatNum x, RatNum y)(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
public static RatNum infinity(int sign)(Code)(Java Doc)
public boolean isExact()(Code)(Java Doc)
public boolean isZero()(Code)(Java Doc)
public static RatNum make(IntNum num, IntNum den)(Code)(Java Doc)
abstract public IntNum numerator()(Code)(Java Doc)
public Numeric power(IntNum y)(Code)(Java Doc)
public static RealNum rationalize(RealNum x, RealNum y)(Code)(Java Doc)
public static RatNum times(RatNum x, RatNum y)(Code)(Java Doc)
final public RatNum toExact()(Code)(Java Doc)
public IntNum toExactInt(int rounding_mode)(Code)(Java Doc)
public RealNum toInt(int rounding_mode)(Code)(Java Doc)

Methods inherited from gnu.math.RealNum
public Numeric abs()(Code)(Java Doc)
public static RealNum add(RealNum x, RealNum y, int k)(Code)(Java Doc)
abstract public Numeric add(Object obj, int k)(Code)(Java Doc)
public java.math.BigDecimal asBigDecimal()(Code)(Java Doc)
public int compareTo(Object o)(Code)(Java Doc)
abstract public Numeric div(Object obj)(Code)(Java Doc)
public static RealNum divide(RealNum x, RealNum y)(Code)(Java Doc)
public Complex exp()(Code)(Java Doc)
final public RealNum im()(Code)(Java Doc)
abstract public boolean isNegative()(Code)(Java Doc)
public boolean isZero()(Code)(Java Doc)
public Complex log()(Code)(Java Doc)
public RealNum max(RealNum x)(Code)(Java Doc)
public RealNum min(RealNum x)(Code)(Java Doc)
abstract public Numeric mul(Object obj)(Code)(Java Doc)
final public RealNum re()(Code)(Java Doc)
final public RealNum rneg()(Code)(Java Doc)
abstract public int sign()(Code)(Java Doc)
final public Complex sin()(Code)(Java Doc)
final public Complex sqrt()(Code)(Java Doc)
public static RealNum times(RealNum x, RealNum y)(Code)(Java Doc)
public RatNum toExact()(Code)(Java Doc)
public IntNum toExactInt(int rounding_mode)(Code)(Java Doc)
public static IntNum toExactInt(double value, int rounding_mode)(Code)(Java Doc)
public static IntNum toExactInt(double value)(Code)(Java Doc)
public static double toInt(double d, int rounding_mode)(Code)(Java Doc)
public RealNum toInt(int rounding_mode)(Code)(Java Doc)
public static IntNum toScaledInt(double f, int k)(Code)(Java Doc)
public static IntNum toScaledInt(RatNum r, int k)(Code)(Java Doc)
public IntNum toScaledInt(int k)(Code)(Java Doc)
public static String toStringDecimal(String dstr)(Code)(Java Doc)
public static String toStringScientific(float d)(Code)(Java Doc)
public static String toStringScientific(double d)(Code)(Java Doc)
public static String toStringScientific(String dstr)(Code)(Java Doc)
public static int toStringScientific(String dstr, StringBuffer sbuf)(Code)(Java Doc)

Methods inherited from gnu.math.Complex
public Numeric abs()(Code)(Java Doc)
public static Complex add(Complex x, Complex y, int k)(Code)(Java Doc)
public Numeric add(Object y, int k)(Code)(Java Doc)
public Numeric addReversed(Numeric x, int k)(Code)(Java Doc)
public RealNum angle()(Code)(Java Doc)
public static int compare(Complex x, Complex y)(Code)(Java Doc)
public int compare(Object obj)(Code)(Java Doc)
public Numeric div(Object y)(Code)(Java Doc)
public Numeric divReversed(Numeric x)(Code)(Java Doc)
public static Complex divide(Complex x, Complex y)(Code)(Java Doc)
public double doubleImagValue()(Code)(Java Doc)
final public double doubleRealValue()(Code)(Java Doc)
public double doubleValue()(Code)(Java Doc)
public static boolean equals(Complex x, Complex y)(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
public Complex exp()(Code)(Java Doc)
public static CComplex imMinusOne()(Code)(Java Doc)
public static CComplex imOne()(Code)(Java Doc)
public boolean isExact()(Code)(Java Doc)
public boolean isZero()(Code)(Java Doc)
public Complex log()(Code)(Java Doc)
public long longValue()(Code)(Java Doc)
public static Complex make(RealNum re, RealNum im)(Code)(Java Doc)
public static Complex make(double re, double im)(Code)(Java Doc)
public Numeric mul(Object y)(Code)(Java Doc)
public Numeric mulReversed(Numeric x)(Code)(Java Doc)
public static Complex neg(Complex x)(Code)(Java Doc)
public Numeric neg()(Code)(Java Doc)
public Complex number()(Code)(Java Doc)
public static DComplex polar(double r, double t)(Code)(Java Doc)
public static DComplex polar(RealNum r, RealNum t)(Code)(Java Doc)
public static Complex power(Complex x, Complex y)(Code)(Java Doc)
public Complex sqrt()(Code)(Java Doc)
public static Complex times(Complex x, Complex y)(Code)(Java Doc)
public String toString(int radix)(Code)(Java Doc)

Methods inherited from gnu.math.Quantity
public Numeric abs()(Code)(Java Doc)
public static Quantity add(Quantity x, Quantity y, int k)(Code)(Java Doc)
public Numeric add(Object y, int k)(Code)(Java Doc)
public Numeric addReversed(Numeric x, int k)(Code)(Java Doc)
public static int compare(Quantity x, Quantity y)(Code)(Java Doc)
public int compare(Object obj)(Code)(Java Doc)
public int compareReversed(Numeric x)(Code)(Java Doc)
public Dimensions dimensions()(Code)(Java Doc)
public Numeric div(Object y)(Code)(Java Doc)
public Numeric divReversed(Numeric x)(Code)(Java Doc)
public static Quantity divide(Quantity x, Quantity y)(Code)(Java Doc)
public double doubleImagValue()(Code)(Java Doc)
public double doubleValue()(Code)(Java Doc)
public RealNum im()(Code)(Java Doc)
final public double imValue()(Code)(Java Doc)
public static Quantity make(Complex x, Unit u)(Code)(Java Doc)
public static Quantity make(RealNum re, RealNum im, Unit unit)(Code)(Java Doc)
public static Quantity make(double re, double im, Unit unit)(Code)(Java Doc)
public Numeric mul(Object y)(Code)(Java Doc)
public Numeric mulReversed(Numeric x)(Code)(Java Doc)
public Numeric neg()(Code)(Java Doc)
abstract public Complex number()(Code)(Java Doc)
public RealNum re()(Code)(Java Doc)
final public double reValue()(Code)(Java Doc)
public static Quantity times(Quantity x, Quantity y)(Code)(Java Doc)
public String toString(int radix)(Code)(Java Doc)
public Unit unit()(Code)(Java Doc)

Fields inherited from gnu.math.Numeric
final public static int CEILING(Code)(Java Doc)
final public static int FLOOR(Code)(Java Doc)
final public static int ROUND(Code)(Java Doc)
final public static int TRUNCATE(Code)(Java Doc)

Methods inherited from gnu.math.Numeric
abstract public Numeric abs()(Code)(Java Doc)
abstract public Numeric add(Object obj, int k)(Code)(Java Doc)
final public Numeric add(Object obj)(Code)(Java Doc)
public Numeric addReversed(Numeric x, int k)(Code)(Java Doc)
public int compare(Object obj)(Code)(Java Doc)
public int compareReversed(Numeric x)(Code)(Java Doc)
abstract public Numeric div(Object obj)(Code)(Java Doc)
public Numeric divReversed(Numeric x)(Code)(Java Doc)
public Numeric div_inv()(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
public float floatValue()(Code)(Java Doc)
public boolean geq(Object x)(Code)(Java Doc)
public boolean grt(Object x)(Code)(Java Doc)
public int intValue()(Code)(Java Doc)
abstract public boolean isExact()(Code)(Java Doc)
abstract public boolean isZero()(Code)(Java Doc)
public long longValue()(Code)(Java Doc)
abstract public Numeric mul(Object obj)(Code)(Java Doc)
public Numeric mulReversed(Numeric x)(Code)(Java Doc)
public Numeric mul_ident()(Code)(Java Doc)
abstract public Numeric neg()(Code)(Java Doc)
public Numeric power(IntNum y)(Code)(Java Doc)
final public Numeric sub(Object obj)(Code)(Java Doc)
abstract public String toString(int radix)(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Methods inherited from java.lang.Number
public byte byteValue()(Code)(Java Doc)
abstract public double doubleValue()(Code)(Java Doc)
abstract public float floatValue()(Code)(Java Doc)
abstract public int intValue()(Code)(Java Doc)
abstract public long longValue()(Code)(Java Doc)
public short shortValue()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.