Class NullaryNumericTypeMath<T extends Type<T>,​N extends NumericType<N>>


  • public class NullaryNumericTypeMath<T extends Type<T>,​N extends NumericType<N>>
    extends Object
    Nullary Ops of the math namespace which operate on NumericTypes.
    Author:
    Leon Yang
    • 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'
    • Constructor Detail

      • NullaryNumericTypeMath

        public NullaryNumericTypeMath()