Scrigroup - Documente si articole

Username / Parola inexistente      

Home Documente Upload Resurse Alte limbi doc  


AccessAdobe photoshopAlgoritmiAutocadBaze de dateCC sharp
CalculatoareCorel drawDot netExcelFox proFrontpageHardware
HtmlInternetJavaLinuxMatlabMs dosPascal
PhpPower pointRetele calculatoareSqlTutorialsWebdesignWindows
WordXml

AspAutocadCDot netExcelFox proHtmlJava
LinuxMathcadPhotoshopPhpSqlVisual studioWindowsXml

Error Tolerance Information Functions

c

+ Font mai mare | - Font mai mic



DOCUMENTE SIMILARE

Trimite pe Messenger
Networking in .NET
Recursion and argument passing - Call by value
Statements - Expressions and Statements
Standard File I/O
The UNIX System Interface: File Descriptors
Creating Multiple Document Interface Applications
C++ Programming Answers
Creating Menus for Your Application
Functions and Program Structure: Basics of Functions
Exploring the ThreadPool Class


Error Tolerance Information Functions

Table 6 lists the error tolerance information functions. These functions provide information about the tolerance levels currently set, which norm is in use, what the error is, and the tolerance scale factor. The latter is a measure computed when the integration fails because the step size has reached the minimum allowed without satisfying the tolerance requirements. It is the estimated value by which both the absolute and relative tolerances need to be multiplied in order to use the minimum step size successfully.




Table 6 Error Tolerance Information Functions.

Function

Description

GetAbsTol

Returns the absolute tolerance vector.

GetRelTol

Returns the relative tolerance vector.

GetYError

Returns the current local error estimate.

GetTolScaleFactor

Returns the tolerance scale factor when the minimum step size is exceeded.

UsingRSSNorm

Returns true if the 2-norm is being used to compute the tolerance.

UsingInfNorm

Returns true if the -norm is being used to compute the tolerance.

GetAbsTol

Usage

AbsTol = pInteg->GetAbsTol();

Arguments

None.

Return Value

Type

Description

colvec

Value of the absolute tolerance vector.

Notes

This function returns the absolute tolerance vector, which is the same size as the state vector. If you supplied a single value, it will be repeated in each element.

GetRelTol

Usage

AbsTol = pInteg->GetRelTol();

Arguments

None.

Return Value

Type

Description

colvec

Value of the relative tolerance vector.



Notes

This function returns the relative tolerance vector, which is the same size as the state vector. If you supplied a single value, it will be repeated in each element.

GetYError

Usage

yError = pInteg->GetYError();

Arguments

None.

Return Value

Type

Description

colvec

Value of the estimated local error at the current time.

Notes

This function returns the current estimate of the local error. This is the value computed either by Richardson Extrapolation or the embedded formula in the Butcher Table. This value is being used to set the current step size in variable step size operations.

GetTolScaleFactor

Usage

tsf = pInteg->GetTolScaleFactor();

Arguments

None.

Return Value

Type

Description

double

Estimated value by which both the absolute and relative tolerances need to be scaled in order to achieve a successful step using the minimum step size allowed.

Notes

This function returns zero until such time that the error tolerance cannot be met.

UsingRSSNorm

Usage

if ( pInteg->UsingRSSNorm() )

Arguments

None.

Return Value

Type

Description

bool

Returns true if the integrator is using the 2-norm to compute the error tolerance, false otherwise.

Notes

None.

UsingInfNorm

Usage

if ( pInteg->UsingInfNorm() )

Arguments

None.

Return Value

Type

Description

bool

Returns true if the integrator is using the -norm to compute the error tolerance, false otherwise.

Notes

None.






Politica de confidentialitate



DISTRIBUIE DOCUMENTUL

Comentarii


Vizualizari: 354
Importanta: rank

Comenteaza documentul:

Te rugam sa te autentifici sau sa iti faci cont pentru a putea comenta

Creaza cont nou

Termeni si conditii de utilizare | Contact
© SCRIGROUP 2022 . All rights reserved

Distribuie URL

Adauga cod HTML in site