PlatformInfo

class PlatformInfo(*args, **kwargs)

Informations about platform.

No constructor, only static methods are available.

Methods

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

x.__init__(…) initializes x; see help(type(x)) for 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()

Accessor to the output numerical precision.

Parameters:

precision : int

String ouput numerical precision.

static SetTwoDigitExponent()

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.