com.io7m.jtensors

## Interface VectorWritable4IType

- All Superinterfaces:
    VectorWritable2IType, VectorWritable3IType
  All Known Subinterfaces:
    PVector4IType<T>, PVectorByteBuffered4IType<T>, PVectorWritable4IType<T>, Vector4IType, VectorByteBuffered4IType
  All Known Implementing Classes:
    PVectorByteBufferedM4I, PVectorM4I, VectorByteBufferedM4I, VectorM4I

      public interface VectorWritable4IType
      extends VectorWritable3IType

  'Write' interface to four-dimensional vectors with integer elements.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `copyFrom4I(VectorReadable4IType in_v)` Set the current vector to the contents of the input vector.
    `void` | `set4I(int x, int y, int z, int w)` Set the current `x`, `y`, `z` and `w` values of the current vector.
    `void` | `setWI(int w)` Set the current `w` value of the current vector.

    - ### Methods inherited from interface com.io7m.jtensors.VectorWritable3IType

      `copyFrom3I, set3I, setZI`

    - ### Methods inherited from interface com.io7m.jtensors.VectorWritable2IType

      `copyFrom2I, set2I, setXI, setYI`

- - ### Method Detail

    - #### copyFrom4I

          void copyFrom4I(VectorReadable4IType in_v)

      Set the current vector to the contents of the input vector.
      Parameters:
        `in_v` - The input vector

    - #### set4I

          void set4I(int x,
                     int y,
                     int z,
                     int w)

      Set the current `x`, `y`, `z` and `w` values of the current vector.
      Parameters:
        `x` - The new `x` value.
        `y` - The new `y` value.
        `z` - The new `z` value.
        `w` - The new `w` value.

    - #### setWI

          void setWI(int w)

      Set the current `w` value of the current vector.
      Parameters:
        `w` - The new `w` value.

Copyright © 2017 <code@io7m.com> http://io7m.com