Uses of Interface
com.yahoo.tensor.functions.ScalarFunction
-
Packages that use ScalarFunction Package Description com.yahoo.tensor.functions Tensor function evaluation -
-
Uses of ScalarFunction in com.yahoo.tensor.functions
Methods in com.yahoo.tensor.functions that return types with arguments of type ScalarFunction Modifier and Type Method Description java.util.Optional<ScalarFunction<NAMETYPE>>
TensorFunction. asScalarFunction()
Returns this as a scalar function, or empty if it cannot be represented as a scalar functionjava.util.Optional<ScalarFunction<NAMETYPE>>
Slice.DimensionValue. index()
Returns the index expression for this dimension, or empty if it is not a numberMethods in com.yahoo.tensor.functions with parameters of type ScalarFunction Modifier and Type Method Description static <NAMETYPE extends Name>
Generate<NAMETYPE>Generate. bound(TensorType type, ScalarFunction<NAMETYPE> generator)
Creates a generated tensor from a bound functionMethod parameters in com.yahoo.tensor.functions with type arguments of type ScalarFunction Modifier and Type Method Description static <NAMETYPE extends Name>
DynamicTensor<NAMETYPE>DynamicTensor. from(TensorType type, java.util.List<ScalarFunction<NAMETYPE>> cells)
Creates a dynamic tensor function for a bound, indexed tensorstatic <NAMETYPE extends Name>
DynamicTensor<NAMETYPE>DynamicTensor. from(TensorType type, java.util.Map<TensorAddress,ScalarFunction<NAMETYPE>> cells)
Creates a dynamic tensor function.Constructors in com.yahoo.tensor.functions with parameters of type ScalarFunction Constructor Description DimensionValue(ScalarFunction<NAMETYPE> index)
DimensionValue(java.lang.String dimension, ScalarFunction<NAMETYPE> index)
DimensionValue(java.util.Optional<java.lang.String> dimension, ScalarFunction<NAMETYPE> index)
-