org.apache.ignite.ml.math.primitives.vector

## Interface Vector.Element

- Enclosing interface:
    Vector

      public static interface Vector.Element

  Holder for vector's element.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `double` | `get()` Gets element's value.
    `<T extends Serializable> T` | `getRaw()` Gets element's value.
    `int` | `index()` Gets element's index in the vector.
    `void` | `set(double val)` Sets element's value.
    `void` | `setRaw(Serializable val)` Sets any serializable object value.

- - ### Method Detail

    - #### get

          double get()

      Gets element's value.
      Returns:
        The value of this vector element.

    - #### index

          int index()

      Gets element's index in the vector.
      Returns:
        The index of this vector element.

    - #### set

          void set(double val)

      Sets element's value.
      Parameters:
        `val` - Value to set.

    - #### setRaw

          void setRaw(Serializable val)

      Sets any serializable object value.
      Parameters:
        `val` - Value to set.

    - #### getRaw

          <T extends Serializable> T getRaw()

      Gets element's value.
      Type Parameters:
        `T` - Type of expected value.
      Returns:
        The value of this vector element.

${current.year} Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.15.0
Release Date | : April 25 2023