Uses of Class
civitas.celestis.math.integer.Integer4
Packages that use Integer4
-
Uses of Integer4 in civitas.celestis.math.decimal
Methods in civitas.celestis.math.decimal that return Integer4Modifier and TypeMethodDescriptionDecimal4.bigIntegerValue()Converts this vector into a big integer vector. -
Uses of Integer4 in civitas.celestis.math.integer
Methods in civitas.celestis.math.integer that return Integer4Modifier and TypeMethodDescriptionAdds another vector to this vector, then returns the resulting vector.Integer4.add(BigInteger s) Adds a scalar to this vector component-wise, then returns the resulting vector.Between this vector and the provided boundary vectorsminandmax, this returns a new vector whose components are clamped to respect the range of[min, max].Integer4.divide(BigInteger s) Divides this vector by a scalar component-wise, then returns the resulting vector.Between this vector and the provided boundary vectorv, this takes the maximum of each corresponding pair of components, then returns a new vector whose components are populated from that of the maximum values between each pair of components.Integer4.merge(Integer4 v, BinaryOperator<BigInteger> f) Between this vector and the provided vectorv, this applies the merger functionfto each corresponding pair of components, then returns a new vector whose components are populated from the return values of the functionf.Between this vector and the provided boundary vectorv, this takes the minimum of each corresponding pair of components, then returns a new vector whose components are populated from that of the minimum values between each pair of components.Integer4.multiply(BigInteger s) Multiplies this vector by a scalar component-wise, then returns the resulting vector.Integer4.negate()Negates all components of this vector, then returns the resulting vector.Subtracts another vector from this vector, then returns the resulting vector.Integer4.subtract(BigInteger s) Subtracts this vector by a scalar component-wise, then returns the resulting vector.Integer4.transform(UnaryOperator<BigInteger> f) Applies the provided transformation functionfto each component of this vector, then returns a new vector containing the return values of the function f.Methods in civitas.celestis.math.integer with parameters of type Integer4Modifier and TypeMethodDescriptionAdds another vector to this vector, then returns the resulting vector.Between this vector and the provided boundary vectorsminandmax, this returns a new vector whose components are clamped to respect the range of[min, max].Returns the Euclidean distance between this vector and the provided vectorv.Returns the squared Euclidean distance between this vector and the provided vectorv.Integer4.distanceManhattan(Integer4 v) Returns the Manhattan distance between this vector and the provided vectorv.Returns the dot product between this vector and the provided vectorv.booleanChecks for equality between this vector and the provided vectorv.Between this vector and the provided boundary vectorv, this takes the maximum of each corresponding pair of components, then returns a new vector whose components are populated from that of the maximum values between each pair of components.Integer4.merge(Integer4 v, BinaryOperator<BigInteger> f) Between this vector and the provided vectorv, this applies the merger functionfto each corresponding pair of components, then returns a new vector whose components are populated from the return values of the functionf.Between this vector and the provided boundary vectorv, this takes the minimum of each corresponding pair of components, then returns a new vector whose components are populated from that of the minimum values between each pair of components.Subtracts another vector from this vector, then returns the resulting vector.