YAMP.RoundFunction.GetValue C# (CSharp) Method

GetValue() protected method

protected GetValue ( ScalarValue value ) : ScalarValue
value ScalarValue
return ScalarValue
        protected override ScalarValue GetValue(ScalarValue value)
        {
            var re = Math.Round(value.Re);
            var im = Math.Round(value.Im);
            return new ScalarValue(re, im);
        }
RoundFunction