コード例 #1
0
ファイル: TrapezoidIntegral.cs プロジェクト: minrogi/PLMPack
		/// <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;
 }