Source code for naginterfaces.library.examples.info.impl_details_ex

#!/usr/bin/env python3
"``naginterface.library.info.impl_details`` Python Example."

# NAG Copyright 2017-2019.

from pprint import pprint

from naginterfaces.library import info

[docs]def main(): """ Example for :func:`naginterfaces.library.info.impl_details`. Details about the underlying implementation of the NAG Library Engine. >>> main() naginterfaces.library.info.impl_details Python Example Results. dict of details about the underlying implementation of the NAG Library Engine: {'build_id': ..., 'compilers': {'C': {'flags': ..., 'title': ..., 'C++': {'flags': ..., 'title': ..., 'Fortran': {'flags': ..., 'title': ...}}, 'hardware': ..., 'integer_bits': ..., 'mark': ..., 'os': ..., 'precision': ..., 'product_code': ..., 'title': ..., 'vendor_lib': ...} """ print('naginterfaces.library.info.impl_details Python Example Results.') print('dict of details about the underlying implementation of the') print('NAG Library Engine:') pprint(info.impl_details())
if __name__ == '__main__': import doctest import sys main() sys.exit( doctest.testmod( None, verbose=False, report=False, optionflags=doctest.ELLIPSIS | doctest.REPORT_NDIFF, ).failed )