Class CompositeTensorFunction

    • Constructor Detail

      • CompositeTensorFunction

        public CompositeTensorFunction()
    • Method Detail

      • type

        public final <NAMETYPE extends TypeContext.NameTensorType type​(TypeContext<NAMETYPE> context)
        Finds the type this produces by first converting it to a primitive function
        Specified by:
        type in class TensorFunction
        Parameters:
        context - a context which must be passed to all nexted functions when evaluating
      • evaluate

        public <NAMETYPE extends TypeContext.NameTensor evaluate​(EvaluationContext<NAMETYPE> context)
        Evaluates this by first converting it to a primitive function
        Specified by:
        evaluate in class TensorFunction
        Parameters:
        context - a context which must be passed to all nexted functions when evaluating