- All Superinterfaces:
FloatElements, Vector
- All Known Subinterfaces:
Float1, Float2, Float3, Float4
- All Known Implementing Classes:
ABFloat1, ABFloat2, ABFloat3, ABFloat4, ABFloatN, BBFloat1, BBFloat2, BBFloat3, BBFloat4, BBFloatN, Float2.View, Float3.View, Float4.View, FloatN.View
-
Nested Class Summary
Nested Classes
-
-
Method Summary
float
Get component at position index.
void
put(int index,
float value)
Set component at position index to value.
-
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.
-
getOriginal
@NotNull
default @NotNull FloatN getOriginal()
- Specified by:
getOriginal in interface Vector
- Returns:
- the original vector this vector views to
-
fillFromArray
@NotNull
default @NotNull FloatN fillFromArray(float @NotNull [] data)