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_pi (x01aa)

Purpose

nag_math_pi (x01aa) returns the numerical value of ππ.

Syntax

[result] = x01aa
[result] = nag_math_pi

Description

None.

References

None.

Parameters

Compulsory Input Parameters

None.

Optional Input Parameters

None.

Input Parameters Omitted from the MATLAB Interface

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 nag_math_pi_example
[result] = nag_math_pi
 

result =

    3.1416


function x01aa_example
[result] = x01aa
 

result =

    3.1416



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–2013