Uses of Class
org.flag4j.algebraic_structures.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.algebraic_structures
Classes in org.flag4j.algebraic_structures that implement interfaces with type arguments of type RealFloat64Modifier and TypeClassDescriptionclass
Represents an immutable real number backed by a 64-bit floating-point value.Fields in org.flag4j.algebraic_structures declared as RealFloat64Modifier and TypeFieldDescriptionstatic final RealFloat64
RealFloat64.NEGATIVE_ONE
The numerical value-1.0
.static final RealFloat64
RealFloat64.ONE
The numerical value1.0
.static final RealFloat64
RealFloat64.PI
The numerical value representing pi (π), the ratio of the circumference of a circle to its diameter.static final RealFloat64
RealFloat64.ROOT_THREE
The numerical value representing the square root of three.static final RealFloat64
RealFloat64.ROOT_TWO
The numerical value representing the square root of two.static final RealFloat64
RealFloat64.TEN
The numerical value10.0
.static final RealFloat64
RealFloat64.THREE
The numerical value3.0
.static final RealFloat64
RealFloat64.TWO
The numerical value2.0
.static final RealFloat64
RealFloat64.ZERO
The numerical value0.0
.Methods in org.flag4j.algebraic_structures 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 RealFloat64
RealFloat64.prod
(RealFloat64... values) Computes the product of all data of specified array.static RealFloat64
RealFloat64.round
(RealFloat64 n, int decimals) Rounds number to specified number of decimal places.static RealFloat64
RealFloat64.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 RealFloat64
RealFloat64.sum
(RealFloat64... values) Computes the sum of all data of specified array.static RealFloat64[]
RealFloat64.wrapArray
(double... arr) Wraps a primitive double array as aRealFloat64
array.static RealFloat64[]
Wraps aDouble
array as aRealFloat64
array.Methods in org.flag4j.algebraic_structures with parameters of type RealFloat64Modifier and TypeMethodDescriptionRealFloat64.add
(RealFloat64 b) Sums two elements of this field (associative and commutative).int
RealFloat64.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 RealFloat64
RealFloat64.prod
(RealFloat64... values) Computes the product of all data of specified array.static RealFloat64
RealFloat64.round
(RealFloat64 n, int decimals) Rounds number to specified number of decimal places.static RealFloat64
RealFloat64.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 RealFloat64
RealFloat64.sum
(RealFloat64... values) Computes the sum of all data of specified array.Constructors in org.flag4j.algebraic_structures with parameters of type RealFloat64ModifierConstructorDescriptionRealFloat32
(RealFloat64 value) Constructs a real 32-bit floating point number by casting a real 64-bit floating point.