Accord.Math.Integration.TrapezoidalRule.Clone C# (CSharp) Method

Clone() public method

Creates a new object that is a copy of the current instance.
public Clone ( ) : object
return object
        public object Clone()
        {
            TrapezoidalRule clone = new TrapezoidalRule(
                this.Steps, this.Function,
                this.Range.Min, this.Range.Max);

            return clone;
        }