Uses of Class
org.flag4j.numbers.RealFloat64
Packages that use RealFloat64
Package
Description
Provides algebraic structures such as semirings, rings, and fields,
along with their concrete implementations.
-
Uses of RealFloat64 in org.flag4j.numbers
Classes in org.flag4j.numbers that implement interfaces with type arguments of type RealFloat64Modifier and TypeClassDescriptionclassRepresents an immutable real number backed by a 64-bit floating-point value.Fields in org.flag4j.numbers declared as RealFloat64Modifier and TypeFieldDescriptionstatic final RealFloat64RealFloat64.NEGATIVE_ONEThe numerical value-1.0.static final RealFloat64RealFloat64.ONEThe numerical value1.0.static final RealFloat64RealFloat64.PIThe numerical value representing pi (π), the ratio of the circumference of a circle to its diameter.static final RealFloat64RealFloat64.ROOT_THREEThe numerical value representing the square root of three.static final RealFloat64RealFloat64.ROOT_TWOThe numerical value representing the square root of two.static final RealFloat64RealFloat64.TENThe numerical value10.0.static final RealFloat64RealFloat64.THREEThe numerical value3.0.static final RealFloat64RealFloat64.TWOThe numerical value2.0.static final RealFloat64RealFloat64.ZEROThe numerical value0.0.Methods in org.flag4j.numbers that return RealFloat64Modifier and TypeMethodDescriptionRealFloat64.add(double b) Sums an element of this field with a real number (associative and commutative).RealFloat64.add(RealFloat64 b) Sums two elements of this field (associative and commutative).RealFloat64.addInv()Computes the additive inverse for an element of this field.RealFloat64.div(double b) Computes the quotient of an element of this field and a real number.RealFloat64.div(RealFloat64 b) Computes the quotient of two elements of this field.RealFloat64.getOne()Gets the multiplicative identity for this semiring.RealFloat64.getZero()Gets the additive identity for this semiring.RealFloat64.mult(double b) Multiplies an element of this field with a real number (associative and commutative).RealFloat64.mult(RealFloat64 b) Multiplies two elements of this field (associative and commutative).RealFloat64.multInv()Computes the multiplicative inverse for an element of this field.static RealFloat64RealFloat64.prod(RealFloat64... values) Computes the product of all data of specified array.static RealFloat64RealFloat64.round(RealFloat64 n, int decimals) Rounds number to specified number of decimal places.static RealFloat64RealFloat64.sgn(RealFloat64 a) Evaluates the signum or sign function on a field element.RealFloat64.sqrt()Computes the square root of this field element.RealFloat64.sub(double b) Computes difference of an element of this field and a real number.RealFloat64.sub(RealFloat64 b) Computes difference of two elements of this field.static RealFloat64RealFloat64.sum(RealFloat64... values) Computes the sum of all data of specified array.static RealFloat64[]RealFloat64.wrapArray(double... arr) Wraps a primitive double array as aRealFloat64array.static RealFloat64[]Wraps aDoublearray as aRealFloat64array.Methods in org.flag4j.numbers with parameters of type RealFloat64Modifier and TypeMethodDescriptionRealFloat64.add(RealFloat64 b) Sums two elements of this field (associative and commutative).intRealFloat64.compareTo(RealFloat64 b) Compares this element of the ordered field withb.RealFloat64.div(RealFloat64 b) Computes the quotient of two elements of this field.RealFloat64.mult(RealFloat64 b) Multiplies two elements of this field (associative and commutative).static RealFloat64RealFloat64.prod(RealFloat64... values) Computes the product of all data of specified array.static RealFloat64RealFloat64.round(RealFloat64 n, int decimals) Rounds number to specified number of decimal places.static RealFloat64RealFloat64.sgn(RealFloat64 a) Evaluates the signum or sign function on a field element.RealFloat64.sub(RealFloat64 b) Computes difference of two elements of this field.static RealFloat64RealFloat64.sum(RealFloat64... values) Computes the sum of all data of specified array.Constructors in org.flag4j.numbers with parameters of type RealFloat64ModifierConstructorDescriptionRealFloat32(RealFloat64 value) Constructs a real 32-bit floating point number by casting a real 64-bit floating point.