OBRECheckTolParameters: Check if OBRE matrix A and vector a are final.

OBRECheckTolParametersR Documentation

Check if OBRE matrix A and vector a are final.

Description

The function compute the relative distance from the past to the current iteration of matrix A, with respect to the relative tolerance if at the current iteration matrix A is not null. Otherwise the absolute error is checked. Then the vector a is checked in the same way.

Usage

OBRECheckTolParameters(matANew, matAOld, nvANew, nvAOld, nRelTol, nAbsTol)

Arguments

matANew

Matrix A at the current iteration.

matAOld

Matrix A at the past iteration.

nvANew

Vector a at the current iteration.

nvAOld

Vector a at the past iteration.

nRelTol

Relative tolerance.

nAbsTol

Absolute tolerance.

Value

A flag indicating if condition on matrix A and vector a are both satisfied.


OBRE documentation built on July 9, 2023, 5:53 p.m.