Struct BiCGStabResult
BiCGstab's solution: the number of iterations, the relative residual and the solution.
public readonly struct BiCGStabResult : IEquatable<BiCGStabResult>
- Implements
- Inherited Members
Constructors
BiCGStabResult(int, double, Vector)
BiCGstab's solution: the number of iterations, the relative residual and the solution.
public BiCGStabResult(int Iterations, double Error, Vector X)
Parameters
IterationsintThe number of iterations.
ErrordoubleThe residual's norm relative to the right-hand side's.
XVectorThe solution.
Properties
Error
The residual's norm relative to the right-hand side's.
public double Error { get; init; }
Property Value
Iterations
The number of iterations.
public int Iterations { get; init; }
Property Value
X
The solution.
public Vector X { get; init; }
Property Value
Methods
Deconstruct(out int, out double, out Vector)
public void Deconstruct(out int Iterations, out double Error, out Vector X)
Parameters
Equals(BiCGStabResult)
public bool Equals(BiCGStabResult other)
Parameters
otherBiCGStabResult
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(BiCGStabResult, BiCGStabResult)
public static bool operator ==(BiCGStabResult left, BiCGStabResult right)
Parameters
leftBiCGStabResultrightBiCGStabResult
Returns
operator !=(BiCGStabResult, BiCGStabResult)
public static bool operator !=(BiCGStabResult left, BiCGStabResult right)
Parameters
leftBiCGStabResultrightBiCGStabResult