Module org.scijava.ops.image
Package org.scijava.ops.image.math
Class NullaryNumericTypeMath<T extends Type<T>,N extends NumericType<N>>
- java.lang.Object
-
- org.scijava.ops.image.math.NullaryNumericTypeMath<T,N>
-
public class NullaryNumericTypeMath<T extends Type<T>,N extends NumericType<N>> extends Object
Nullary Ops of themathnamespace which operate onNumericTypes.- Author:
- Leon Yang
-
-
Field Summary
Fields Modifier and Type Field Description Computers.Arity1<T,T>assignerSets the output to a constant.Computers.Arity0<N>zeroerSets the output to zero.
-
Constructor Summary
Constructors Constructor Description NullaryNumericTypeMath()
-
-
-
Field Detail
-
assigner
public final Computers.Arity1<T extends Type<T>,T extends Type<T>> assigner
Sets the output to a constant.- Input parameters:
constant- Container parameters:
output- Implementation Note:
- op names='math.assign'
-
zeroer
public final Computers.Arity0<N extends NumericType<N>> zeroer
Sets the output to zero.- Container parameters:
output- Implementation Note:
- op names='math.zero'
-
-