.. highlightlang:: us .. index:: set_math_lib .. _set_math_lib: set_math_lib ============ .. us.tag set_math_lib NOTREADYGERMAN math-misc New5140 Changed5152 :ref:`set_math_lib` setzt die Mathematik-Library für mathematische Operationen. .. function:: bool = set_math_lib(ssLib) .. us.return **Returnwert** *bool* ist TRUE (1), wenn die Funktion erfolgreich war und sonst FALSE (0). .. us.params **Parameter** .. uparam:: ssLib *ssLib* ist einer der Strings "ref", "mkl". .. list-table:: :header-rows: 0 * - mkl - Intel® Math Kernel Library (Intel® MKL), http://software.intel.com/en-us/intel-mkl/ * - ref - Nicht-optimierte Referenz-Implementierung, http://www.netlib.org/lapack/index.html .. us.example **Beispiel** :: set_math_lib("ref") a = rand(1000, 1000); tic(); a*a; toc() set_math_lib("mkl") a = rand(1000, 1000); tic(); a*a; toc() .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Beschreibung * - 5.15.2 - AMD Core Math Library (ACML) entfernt. * - 5.14.0 - Neu. .. seealso:: :ref:`uberblick-mathematik`, :ref:`get_math_lib` :sub:`id-880570`