Interface VTensor_F64

All Superinterfaces:
ITensor, VTensor
All Known Implementing Classes:
ClippedPadding2D_F64, ConstantPadding2D_F64, SpatialPadding2D_F64

public interface VTensor_F64
extends VTensor
Virtual tensor for 64bit float types.
  • Method Summary

    Modifier and Type Method Description
    double get​(int axis0)
    Returns the element's value at the specified coordinate.
    double get​(int... coor)
    Returns the element's value at the specified coordinate.
    double get​(int axis1, int axis0)
    Returns the element's value at the specified coordinate.
    double get​(int axis2, int axis1, int axis0)
    Returns the element's value at the specified coordinate.
    double get​(int axis3, int axis2, int axis1, int axis0)
    Returns the element's value at the specified coordinate.
    double get​(int axis4, int axis3, int axis2, int axis1, int axis0)
    Returns the element's value at the specified coordinate.

    Methods inherited from interface deepboof.ITensor

    createCoor, getDataType, getDimension, getShape, isShape, length
  • Method Details

    • get

      double get​(int... coor)
      Returns the element's value at the specified coordinate.
      Parameters:
      coor - coordinate at ordered from axis-(N-1) to axis-0
      Returns:
      element value
    • get

      double get​(int axis0)
      Returns the element's value at the specified coordinate. Only works with 1-DOF tensors.
      Parameters:
      axis0 - coordinate at axis-0
      Returns:
      element value
    • get

      double get​(int axis1, int axis0)
      Returns the element's value at the specified coordinate. Only works with 2-DOF tensors.
      Parameters:
      axis1 - coordinate at axis-1
      axis0 - coordinate at axis-0
      Returns:
      element value
    • get

      double get​(int axis2, int axis1, int axis0)
      Returns the element's value at the specified coordinate. Only works with 3-DOF tensors.
      Parameters:
      axis2 - coordinate at axis-2
      axis1 - coordinate at axis-1
      axis0 - coordinate at axis-0
      Returns:
      element value
    • get

      double get​(int axis3, int axis2, int axis1, int axis0)
      Returns the element's value at the specified coordinate. Only works with 4-DOF tensors.
      Parameters:
      axis3 - coordinate at axis-3
      axis2 - coordinate at axis-2
      axis1 - coordinate at axis-1
      axis0 - coordinate at axis-0
      Returns:
      element value
    • get

      double get​(int axis4, int axis3, int axis2, int axis1, int axis0)
      Returns the element's value at the specified coordinate. Only works with 5-DOF tensors.
      Parameters:
      axis4 - coordinate at axis-4
      axis3 - coordinate at axis-3
      axis2 - coordinate at axis-2
      axis1 - coordinate at axis-1
      axis0 - coordinate at axis-0
      Returns:
      element value