hide long namesshow long names
hide short namesshow short names
Integer type:  int32  int64  nag_int  show int32  show int32  show int64  show int64  show nag_int  show nag_int

PDF version (NAG web site, 64-bit version, 64-bit version)
Chapter Contents
Chapter Introduction
NAG Toolbox

NAG Toolbox: nag_math_euler (x01ab)

 Contents

    1  Purpose
    2  Syntax
    7  Accuracy
    9  Example

Purpose

nag_math_euler (x01ab) returns the numerical value of γ (Euler's constant).

Syntax

[result] = x01ab
[result] = nag_math_euler

Description

None.

References

None.

Parameters

Compulsory Input Parameters

None.

Optional Input Parameters

None.

Output Parameters

1:     result – double scalar
The result of the function.

Error Indicators and Warnings

None.

Accuracy

The result should be correct to machine precision (see Chapter X02).

Further Comments

None.

Example

function x01ab_example


fprintf('x01ab example results\n\n');

fprintf('Euler''s constant = %16.15f\n', x01ab);


x01ab example results

Euler's constant = 0.577215664901533

PDF version (NAG web site, 64-bit version, 64-bit version)
Chapter Contents
Chapter Introduction
NAG Toolbox

© The Numerical Algorithms Group Ltd, Oxford, UK. 2009–2015