Пример #1
0
		/// <summary>
		/// Initializes a new instance of the <see cref="TrapezoidIntegral"/> class using values from another instance.
		/// </summary>
		/// <param name="integrator">A <see cref="TrapezoidIntegral"/> instance.</param>
		public TrapezoidIntegral(TrapezoidIntegral integrator)
		{
			_accuracy = integrator._accuracy;
			_maxSteps = integrator._maxSteps;
			_method = integrator._method;
		}
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TrapezoidIntegral"/> class using values from another instance.
 /// </summary>
 /// <param name="integrator">A <see cref="TrapezoidIntegral"/> instance.</param>
 public TrapezoidIntegral(TrapezoidIntegral integrator)
 {
     _accuracy = integrator._accuracy;
     _maxSteps = integrator._maxSteps;
     _method   = integrator._method;
 }