PlatformInfo

class PlatformInfo(*args, **kwargs)

Informations about platform.

No constructor, only static methods are available.

Methods

GetNumericalPrecision() Accessor to the output numerical precision.
GetRevision() Accessor to the revision string.
GetVersion() Accessor to the version string.
SetNumericalPrecision(precision) Accessor to the output numerical precision.
SetTwoDigitExponent([enable]) Use two digits for exponent format.
GetDate  
GetInstallationDirectory  
GetName  
__init__(*args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.

static GetNumericalPrecision()

Accessor to the output numerical precision.

Returns:
precision : int

String ouput numerical precision.

static GetRevision()

Accessor to the revision string.

Returns:
revision : str

Git revision.

static GetVersion()

Accessor to the version string.

Returns:
version : str

Version string.

static SetNumericalPrecision(precision)

Accessor to the output numerical precision.

Parameters:
precision : int

String ouput numerical precision.

static SetTwoDigitExponent(enable=True)

Use two digits for exponent format.

For testing purposes with pre 2015 MSVC compilers.

Parameters:
enable : bool, default=True

Whether to switch to two digits exponent.