## Uses of Interface
com.io7m.jtensors.VectorReadable4LType

- Packages that use VectorReadable4LType
  Package | Description
  --- | ---
  com.io7m.jtensors | Core vector and matrix types.
  com.io7m.jtensors.bytebuffered | `ByteBuffer` backed tensors.
  com.io7m.jtensors.bytebuffered.parameterized | `ByteBuffer` backed parameterized tensors.
  com.io7m.jtensors.parameterized | Parameterized vector and matrix types.

- - ### Uses of VectorReadable4LType in com.io7m.jtensors

    Subinterfaces of VectorReadable4LType in com.io7m.jtensors
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `Vector4LType` The type of four-element vectors that are both readable and writable, and have `long` elements

    Classes in com.io7m.jtensors that implement VectorReadable4LType
    Modifier and Type | Class and Description
    --- | ---
    `class` | `VectorI4L` A four-dimensional immutable vector type with integer elements.
    `class` | `VectorM4L` A four-dimensional mutable vector type with integer elements.

    Methods in com.io7m.jtensors with type parameters of type VectorReadable4LType
    Modifier and Type | Method and Description
    --- | ---
    `static <V extends VectorWritable4LType & VectorReadable4LType> V` | VectorM4L.`absoluteInPlace(V v)` Calculate the absolute values of the elements in vector `v`, saving the result to `v`.
    `static <V extends VectorWritable4LType & VectorReadable4LType> V` | VectorM4L.`addInPlace(V v0, VectorReadable4LType v1)` Calculate the element-wise sum of the vectors `v0` and `v1`, saving the result to `v0`.
    `static <V extends VectorWritable4LType & VectorReadable4LType> V` | VectorM4L.`addScaledInPlace(V v0, VectorReadable4LType v1, double r)` Calculate the element-wise sum of the vectors `v0` and the element-wise product of `v1` and `r`, saving the result to `v0`.
    `static <V extends VectorWritable4LType & VectorReadable4LType> V` | VectorM4L.`clampByVectorInPlace(V v, VectorReadable4LType minimum, VectorReadable4LType maximum)` Clamp the elements of the vector `v` to the inclusive range given by the corresponding elements in `minimum` and `maximum`, saving the result to `v`.
    `static <V extends VectorWritable4LType & VectorReadable4LType> V` | VectorM4L.`clampInPlace(V v, long minimum, long maximum)` Clamp the elements of the vector `v` to the range {@code [minimum ..
    `static <V extends VectorWritable4LType & VectorReadable4LType> V` | VectorM4L.`clampMaximumByVectorInPlace(V v, VectorReadable4LType maximum)` Clamp the elements of the vector `v` to the inclusive range given by the corresponding elements in `maximum`, saving the result to `v`.
    `static <V extends VectorWritable4LType & VectorReadable4LType> V` | VectorM4L.`clampMaximumInPlace(V v, long maximum)` Clamp the elements of the vector `v` to the range {@code [-Infinity ..
    `static <V extends VectorWritable4LType & VectorReadable4LType> V` | VectorM4L.`clampMinimumByVectorInPlace(V v, VectorReadable4LType minimum)` Clamp the elements of the vector `v` to the inclusive range given by the corresponding elements in `minimum`, saving the result to `v`.
    `static <V extends VectorWritable4LType & VectorReadable4LType> V` | VectorM4L.`clampMinimumInPlace(V v, long minimum)` Clamp the elements of the vector `v` to the range {@code [minimum ..
    `static <V extends VectorWritable4LType & VectorReadable4LType> V` | VectorM4L.`scaleInPlace(V v, long r)` Scale the vector `v` by the scalar `r`, saving the result to `v`.
    `static <V extends VectorWritable4LType & VectorReadable4LType> V` | VectorM4L.`subtractInPlace(V v0, VectorReadable4LType v1)` Subtract the vector `v1` from the vector `v0`, saving the result to `v0`.

    Methods in com.io7m.jtensors with parameters of type VectorReadable4LType
    Modifier and Type | Method and Description
    --- | ---
    `static VectorI4L` | VectorI4L.`absolute(VectorReadable4LType v)` Calculate the absolute values of the elements in vector `v`.
    `static <V extends VectorWritable4LType> V` | VectorM4L.`absolute(VectorReadable4LType v, V out)` Calculate the absolute values of the elements in vector `v`, saving the result to `out`.
    `static VectorI4L` | VectorI4L.`add(VectorReadable4LType v0, VectorReadable4LType v1)` Calculate the element-wise sum of the vectors `v0` and `v1`.
    `static <V extends VectorWritable4LType> V` | VectorM4L.`add(VectorReadable4LType v0, VectorReadable4LType v1, V out)` Calculate the element-wise sum of the vectors `v0` and `v1`, saving the result to `out`.
    `static <V extends VectorWritable4LType & VectorReadable4LType> V` | VectorM4L.`addInPlace(V v0, VectorReadable4LType v1)` Calculate the element-wise sum of the vectors `v0` and `v1`, saving the result to `v0`.
    `static VectorI4L` | VectorI4L.`addScaled(VectorReadable4LType v0, VectorReadable4LType v1, double r)` Calculate the element-wise sum of the vectors `v0` and the element-wise product of `v1` and `r`.
    `static <V extends VectorWritable4LType> V` | VectorM4L.`addScaled(VectorReadable4LType v0, VectorReadable4LType v1, double r, V out)` Calculate the element-wise sum of the vectors `v0` and the element-wise product of `v1` and `r`, saving the result to `out`.
    `static <V extends VectorWritable4LType & VectorReadable4LType> V` | VectorM4L.`addScaledInPlace(V v0, VectorReadable4LType v1, double r)` Calculate the element-wise sum of the vectors `v0` and the element-wise product of `v1` and `r`, saving the result to `v0`.
    `static VectorI4L` | VectorI4L.`clamp(VectorReadable4LType v, long minimum, long maximum)` Clamp the elements of the vector `v` to the range {@code [minimum ..
    `static <V extends VectorWritable4LType> V` | VectorM4L.`clamp(VectorReadable4LType v, long minimum, long maximum, V out)` Clamp the elements of the vector `v` to the range {@code [minimum ..
    `static VectorI4L` | VectorI4L.`clampByVector(VectorReadable4LType v, VectorReadable4LType minimum, VectorReadable4LType maximum)` Clamp the elements of the vector `v` to the inclusive range given by the corresponding elements in `minimum` and `maximum`.
    `static <V extends VectorWritable4LType> V` | VectorM4L.`clampByVector(VectorReadable4LType v, VectorReadable4LType minimum, VectorReadable4LType maximum, V out)` Clamp the elements of the vector `v` to the inclusive range given by the corresponding elements in `minimum` and `maximum`, saving the result to `out`.
    `static <V extends VectorWritable4LType & VectorReadable4LType> V` | VectorM4L.`clampByVectorInPlace(V v, VectorReadable4LType minimum, VectorReadable4LType maximum)` Clamp the elements of the vector `v` to the inclusive range given by the corresponding elements in `minimum` and `maximum`, saving the result to `v`.
    `static VectorI4L` | VectorI4L.`clampMaximum(VectorReadable4LType v, long maximum)` Clamp the elements of the vector `v` to the range {@code [-Infinity ..
    `static <V extends VectorWritable4LType> V` | VectorM4L.`clampMaximum(VectorReadable4LType v, long maximum, V out)` Clamp the elements of the vector `v` to the range {@code [-Infinity ..
    `static VectorI4L` | VectorI4L.`clampMaximumByVector(VectorReadable4LType v, VectorReadable4LType maximum)` Clamp the elements of the vector `v` to the inclusive range given by the corresponding elements in `maximum`.
    `static <V extends VectorWritable4LType> V` | VectorM4L.`clampMaximumByVector(VectorReadable4LType v, VectorReadable4LType maximum, V out)` Clamp the elements of the vector `v` to the inclusive range given by the corresponding elements in `maximum`, saving the result to `out`.
    `static <V extends VectorWritable4LType & VectorReadable4LType> V` | VectorM4L.`clampMaximumByVectorInPlace(V v, VectorReadable4LType maximum)` Clamp the elements of the vector `v` to the inclusive range given by the corresponding elements in `maximum`, saving the result to `v`.
    `static VectorI4L` | VectorI4L.`clampMinimum(VectorReadable4LType v, long minimum)` Clamp the elements of the vector `v` to the range {@code [minimum ..
    `static <V extends VectorWritable4LType> V` | VectorM4L.`clampMinimum(VectorReadable4LType v, long minimum, V out)` Clamp the elements of the vector `v` to the range {@code [minimum ..
    `static VectorI4L` | VectorI4L.`clampMinimumByVector(VectorReadable4LType v, VectorReadable4LType minimum)` Clamp the elements of the vector `v` to the inclusive range given by the corresponding elements in `minimum`.
    `static <V extends VectorWritable4LType> V` | VectorM4L.`clampMinimumByVector(VectorReadable4LType v, VectorReadable4LType minimum, V out)` Clamp the elements of the vector `v` to the inclusive range given by the corresponding elements in `minimum`, saving the result to `out`.
    `static <V extends VectorWritable4LType & VectorReadable4LType> V` | VectorM4L.`clampMinimumByVectorInPlace(V v, VectorReadable4LType minimum)` Clamp the elements of the vector `v` to the inclusive range given by the corresponding elements in `minimum`, saving the result to `v`.
    `static <T extends VectorWritable4LType> T` | VectorM4L.`copy(VectorReadable4LType input, T output)` Copy all elements of the vector `input` to the vector `output`.
    `void` | VectorWritable4LType.`copyFrom4L(VectorReadable4LType in_v)` Set the current vector to the contents of the input vector.
    `void` | VectorM4L.`copyFrom4L(VectorReadable4LType in_v)`
    `static long` | VectorM4L.`distance(VectorM4L.ContextVM4L c, VectorReadable4LType v0, VectorReadable4LType v1)` Calculate the distance between the two vectors `v0` and `v1`.
    `static long` | VectorI4L.`distance(VectorReadable4LType v0, VectorReadable4LType v1)` Calculate the distance between the two vectors `v0` and `v1`.
    `static long` | VectorM4L.`dotProduct(VectorReadable4LType v0, VectorReadable4LType v1)` Calculate the scalar product of the vectors `v0` and `v1`.
    `static long` | VectorI4L.`dotProduct(VectorReadable4LType v0, VectorReadable4LType v1)` Calculate the scalar product of the vectors `v0` and `v1`.
    `static <V extends VectorWritable4LType> V` | VectorM4L.`interpolateLinear(VectorM4L.ContextVM4L c, VectorReadable4LType v0, VectorReadable4LType v1, double alpha, V r)` Linearly interpolate between `v0` and `v1` by the amount `alpha`, saving the result to `r`.
    `static VectorI4L` | VectorI4L.`interpolateLinear(VectorReadable4LType v0, VectorReadable4LType v1, double alpha)` Linearly interpolate between `v0` and `v1` by the amount `alpha`.
    `static long` | VectorM4L.`magnitude(VectorReadable4LType v)` Calculate the magnitude of the vector `v`.
    `static long` | VectorI4L.`magnitude(VectorReadable4LType v)` Calculate the magnitude of the vector `v`.
    `static long` | VectorM4L.`magnitudeSquared(VectorReadable4LType v)` Calculate the squared magnitude of the vector `v`.
    `static long` | VectorI4L.`magnitudeSquared(VectorReadable4LType v)` Calculate the squared magnitude of the vector `v`.
    `static VectorI4L` | VectorI4L.`projection(VectorReadable4LType p, VectorReadable4LType q)` Calculate the projection of the vector `p` onto the vector `q`.
    `static <V extends VectorWritable4LType> V` | VectorM4L.`projection(VectorReadable4LType p, VectorReadable4LType q, V r)` Calculate the projection of the vector `p` onto the vector `q`, saving the result in `r`.
    `static VectorI4L` | VectorI4L.`scale(VectorReadable4LType v, double r)` Scale the vector `v` by the scalar `r`.
    `static <V extends VectorWritable4LType> V` | VectorM4L.`scale(VectorReadable4LType v, double r, V out)` Scale the vector `v` by the scalar `r`, saving the result to `out`.
    `static VectorI4L` | VectorI4L.`subtract(VectorReadable4LType v0, VectorReadable4LType v1)` Subtract the vector `v1` from the vector `v0`.
    `static <V extends VectorWritable4LType> V` | VectorM4L.`subtract(VectorReadable4LType v0, VectorReadable4LType v1, V out)` Subtract the vector `v1` from the vector `v0`, saving the result to `out`.
    `static <V extends VectorWritable4LType & VectorReadable4LType> V` | VectorM4L.`subtractInPlace(V v0, VectorReadable4LType v1)` Subtract the vector `v1` from the vector `v0`, saving the result to `v0`.

    Constructors in com.io7m.jtensors with parameters of type VectorReadable4LType
    Constructor and Description
    `VectorI4L(VectorReadable4LType in_v)` Construct a vector initialized with the values given in the vector `in_v`.
    `VectorM4L(VectorReadable4LType in_v)` Construct a vector initialized with the values given in the vector `in_v`.

  - ### Uses of VectorReadable4LType in com.io7m.jtensors.bytebuffered

    Subinterfaces of VectorReadable4LType in com.io7m.jtensors.bytebuffered
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `VectorByteBuffered4LType` The type of `Vector4LType` values that are also byte buffered.

    Classes in com.io7m.jtensors.bytebuffered that implement VectorReadable4LType
    Modifier and Type | Class and Description
    --- | ---
    `class` | `VectorByteBufferedM4L` A four-element vector type with `long` elements, packed into a `ByteBuffer`.

    Methods in com.io7m.jtensors.bytebuffered with parameters of type VectorReadable4LType
    Modifier and Type | Method and Description
    --- | ---
    `void` | VectorByteBufferedM4L.`copyFrom4L(VectorReadable4LType in_v)`

  - ### Uses of VectorReadable4LType in com.io7m.jtensors.bytebuffered.parameterized

    Subinterfaces of VectorReadable4LType in com.io7m.jtensors.bytebuffered.parameterized
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `PVectorByteBuffered4LType<T>` The type of `PVector4LType` values that are also byte buffered.

    Classes in com.io7m.jtensors.bytebuffered.parameterized that implement VectorReadable4LType
    Modifier and Type | Class and Description
    --- | ---
    `class` | `PVectorByteBufferedM4L<T>` A four-element vector type with `long` elements, packed into a `ByteBuffer`.

    Methods in com.io7m.jtensors.bytebuffered.parameterized with parameters of type VectorReadable4LType
    Modifier and Type | Method and Description
    --- | ---
    `void` | PVectorByteBufferedM4L.`copyFrom4L(VectorReadable4LType in_v)`

  - ### Uses of VectorReadable4LType in com.io7m.jtensors.parameterized

    Subinterfaces of VectorReadable4LType in com.io7m.jtensors.parameterized
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `PVector4LType<T>` The type of four-element vectors that are both readable and writable, and have `long` elements
    `interface` | `PVectorReadable4LType<T>` 'Read' interface to phantom-typed four-dimensional vectors with long integer elements.

    Classes in com.io7m.jtensors.parameterized that implement VectorReadable4LType
    Modifier and Type | Class and Description
    --- | ---
    `class` | `PVectorI4L<T>` A four-dimensional immutable vector type with integer elements.
    `class` | `PVectorM4L<T>` A four-dimensional mutable vector type with integer elements.

    Methods in com.io7m.jtensors.parameterized with parameters of type VectorReadable4LType
    Modifier and Type | Method and Description
    --- | ---
    `void` | PVectorM4L.`copyFrom4L(VectorReadable4LType in_v)`

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