/// <summary>Initializes a new instance of the <see cref="BoundDescriptor" /> class. /// </summary> /// <param name="evaluationType">A value indicating whether the function to integrate will evaluate at the boundary of the integration region.</param> /// <param name="readOnlyBoundValue">The bound can not be changed; this argument contains the value of the lower bound, upper bound respectively.</param> public BoundDescriptor(BoundEvaluationType evaluationType, double readOnlyBoundValue) { EvaluationType = evaluationType; IsConstant = true; m_ReadOnlyBoundValue = readOnlyBoundValue; }
/// <summary>Creates a specific <see cref="BoundDescriptor"/> object. /// </summary> /// <param name="evaluationType">A value indicating whether the function to integrate will evaluate at the boundary of the integration region.</param> /// <param name="readOnlyBoundValue">The bound can not be changed; this argument contains the value of the lower bound, upper bound respectively.</param> /// <returns>A specific <see cref="BoundDescriptor"/> object.</returns> public static BoundDescriptor Create(BoundEvaluationType evaluationType, double readOnlyBoundValue) { return(new BoundDescriptor(evaluationType, readOnlyBoundValue)); }
/// <summary>Initializes a new instance of the <see cref="BoundDescriptor" /> class. /// </summary> /// <param name="evaluationType">A value indicating whether the function to integrate will evaluate at the boundary of the integration region.</param> public BoundDescriptor(BoundEvaluationType evaluationType) { EvaluationType = evaluationType; IsConstant = false; m_ReadOnlyBoundValue = Double.NaN; }
/// <summary>Creates a specific <see cref="BoundDescriptor"/> object. /// </summary> /// <param name="evaluationType">A value indicating whether the function to integrate will evaluate at the boundary of the integration region.</param> /// <returns>A specific <see cref="BoundDescriptor"/> object.</returns> public static BoundDescriptor Create(BoundEvaluationType evaluationType) { return(new BoundDescriptor(evaluationType)); }