Class Range


  • public class Range
    extends CompositeTensorFunction
    A tensor generator which returns a tensor of any dimension filled with the sum of the tensor indexes of each position.
    Author:
    bratseth
    • Constructor Detail

    • Method Detail

      • toPrimitive

        public PrimitiveTensorFunction toPrimitive()
        Description copied from class: TensorFunction
        Translate this function - and all of its arguments recursively - to a tree of primitive functions only.
        Specified by:
        toPrimitive in class TensorFunction
        Returns:
        a tree of primitive functions implementing this
      • toString

        public java.lang.String toString​(ToStringContext context)
        Description copied from class: TensorFunction
        Return a string representation of this context.
        Specified by:
        toString in class TensorFunction
        Parameters:
        context - a context which must be passed to all nested functions when requesting the string value