All Superinterfaces:
FloatElements, Vector
All Known Subinterfaces:
Float1, Float2, Float3, Float3x3, Float3xN, Float4, Float4x4, Float4xN, FloatMxN
All Known Implementing Classes:
ABFloat1, ABFloat2, ABFloat3, ABFloat3x3, ABFloat4, ABFloat4x4, ABFloatMxN, ABFloatN, BBFloat1, BBFloat2, BBFloat3, BBFloat3x3, BBFloat4, BBFloat4x4, BBFloatMxN, BBFloatN, Float2.FactorView, Float2.View, Float3.FactorView, Float3.View, Float4.FactorView, Float4.View, FloatN.FactorView, FloatN.View

public interface FloatN extends Vector, FloatElements
  • Method Details

    • get

      float get(int index)
      Get component at position index.
      Parameters:
      index - index of the vector component to get
      Returns:
      component value
      Implementation Note:
      No Error checking will be done by this method. Too large or small indices may result in undefined behavior.
    • put

      void put(int index, float value)
      Set component at position index to value.
      Parameters:
      index - index of the vector component to set
      value - value to set
      Implementation Note:
      No Error checking will be done by this method. Too large or small indices may result in undefined behavior.
    • getAsView

      @NotNull default FloatN.View getAsView()
      Description copied from interface: Vector
      Used to avoid unsafe casting.
      Specified by:
      getAsView in interface Vector
      Returns:
      the vector itself, but as Vector.View.
    • fillFromArray

      @NotNull default @NotNull FloatN fillFromArray(float @NotNull [] data)