VectorConvergenceTest<T> Constructor

Definition

Namespace: Numerics.NET.Algorithms
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

Overload List

VectorConvergenceTest<T>

Constructs a new VectorConvergenceTest<T>.
C#
public VectorConvergenceTest()

VectorConvergenceTest<T>(Vector<T>)

Constructs a new VectorConvergenceTest<T>.
C#
public VectorConvergenceTest(
	Vector<T> vector
)

Parameters

vector  Vector<T>
A vector whose norm is the basis for the convergence test.

Remarks

The default tolerance is SqrtEpsilon. The default norm is the EuclideanNorm.

VectorConvergenceTest<T>(Vector<T>, T)

Constructs a new VectorConvergenceTest<T>.
C#
public VectorConvergenceTest(
	Vector<T> vector,
	T tolerance
)

Parameters

vector  Vector<T>
A vector whose norm is the basis for the convergence test.
tolerance  T
The tolerance for the norm of vector.

VectorConvergenceTest<T>(Vector<T>, T, VectorConvergenceNorm)

Constructs a new VectorConvergenceTest<T>.
C#
public VectorConvergenceTest(
	Vector<T> vector,
	T tolerance,
	VectorConvergenceNorm norm
)

Parameters

vector  Vector<T>
A vector whose norm is the basis for the convergence test.
tolerance  T
The tolerance for the norm of vector.
norm  VectorConvergenceNorm
A VectorConvergenceNorm value that specifies the norm to be used.

See Also