Table of Contents

Struct GMRESResult

Namespace
NanoQL.Numerics
Assembly
NanoQL.dll

GMRES's solution: the relative residual after each step, and the solution.

public readonly struct GMRESResult : IEquatable<GMRESResult>
Implements
Inherited Members

Constructors

GMRESResult(ImmutableArray<double>, Vector)

GMRES's solution: the relative residual after each step, and the solution.

public GMRESResult(ImmutableArray<double> Errors, Vector X)

Parameters

Errors ImmutableArray<double>

The residual's norm relative to the right-hand side's: the start's, then each step's.

X Vector

The solution.

Properties

Errors

The residual's norm relative to the right-hand side's: the start's, then each step's.

public ImmutableArray<double> Errors { get; init; }

Property Value

ImmutableArray<double>

X

The solution.

public Vector X { get; init; }

Property Value

Vector

Methods

Deconstruct(out ImmutableArray<double>, out Vector)

public void Deconstruct(out ImmutableArray<double> Errors, out Vector X)

Parameters

Errors ImmutableArray<double>
X Vector

Equals(GMRESResult)

public bool Equals(GMRESResult other)

Parameters

other GMRESResult

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(GMRESResult, GMRESResult)

public static bool operator ==(GMRESResult left, GMRESResult right)

Parameters

left GMRESResult
right GMRESResult

Returns

bool

operator !=(GMRESResult, GMRESResult)

public static bool operator !=(GMRESResult left, GMRESResult right)

Parameters

left GMRESResult
right GMRESResult

Returns

bool