Uses of Class
civitas.celestis.math.integer.Integer4

Packages that use Integer4
  • Uses of Integer4 in civitas.celestis.math.decimal

    Modifier and Type
    Method
    Description
    Decimal4.bigIntegerValue()
    Converts this vector into a big integer vector.
  • Uses of Integer4 in civitas.celestis.math.integer

    Modifier and Type
    Method
    Description
    Integer4.add(Integer4 v)
    Adds 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.
    Integer4.clamp(Integer4 min, Integer4 max)
    Between this vector and the provided boundary vectors min and max, 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.
    Integer4.max(Integer4 v)
    Between this vector and the provided boundary vector v, 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.
    Between this vector and the provided vector v, this applies the merger function f to each corresponding pair of components, then returns a new vector whose components are populated from the return values of the function f.
    Integer4.min(Integer4 v)
    Between this vector and the provided boundary vector v, 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.
    Integer4.subtract(Integer4 v)
    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.
    Applies the provided transformation function f to 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 Integer4
    Modifier and Type
    Method
    Description
    Integer4.add(Integer4 v)
    Adds another vector to this vector, then returns the resulting vector.
    Integer4.clamp(Integer4 min, Integer4 max)
    Between this vector and the provided boundary vectors min and max, this returns a new vector whose components are clamped to respect the range of [min, max].
    Integer4.distance(Integer4 v)
    Returns the Euclidean distance between this vector and the provided vector v.
    Integer4.distance2(Integer4 v)
    Returns the squared Euclidean distance between this vector and the provided vector v.
    Returns the Manhattan distance between this vector and the provided vector v.
    Integer4.dot(Integer4 v)
    Returns the dot product between this vector and the provided vector v.
    boolean
    Integer4.equals(Integer4 v)
    Checks for equality between this vector and the provided vector v.
    Integer4.max(Integer4 v)
    Between this vector and the provided boundary vector v, 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.
    Between this vector and the provided vector v, this applies the merger function f to each corresponding pair of components, then returns a new vector whose components are populated from the return values of the function f.
    Integer4.min(Integer4 v)
    Between this vector and the provided boundary vector v, 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.subtract(Integer4 v)
    Subtracts another vector from this vector, then returns the resulting vector.