Documentation of 'cc.redberry.core.tensor.functions.ScalarFunction' Java class
ScalarFunction
cc.redberry.core.tensor.functions

Class ScalarFunction

    • Method Detail

      • getIndices

        public final Indices getIndices()
        Description copied from class: Tensor
        Returns indices of this tensor.
        Specified by:
        getIndices in class Tensor
        Returns:
        indices of this tensor
      • derivative

        public abstract Tensor derivative()
      • get

        public final Tensor get(int i)
        Description copied from class: Tensor
        Returns element at i-th position.
        Specified by:
        get in class Tensor
        Parameters:
        i - position
        Returns:
        element at i-th position
      • size

        public final int size()
        Description copied from class: Tensor
        Returns the number of elements in this tensor.
        Specified by:
        size in class Tensor
        Returns:
        the number of elements in this tensor
      • toString

        public final java.lang.String toString(OutputFormat mode)
        Description copied from class: Tensor
        Returns a string representation of a tensor according to the specified OutputFormat.
        Specified by:
        toString in class Tensor
        Parameters:
        mode - output format
        Returns:
        a string representation of a tensor

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.