The Python language has extension frameworks such as NumPy and SciPy for providing functionality involving numerical arrays and scientific computing. However, in contrast to the well-established Matlab language, these frameworks can be perceived as being verbose and cumbersome to use. To address these shortcomings, we propose PyArmadillo, a streamlined linear algebra library for Python, with an emphasis on ease of use. PyArmadillo aims to provide a high-level syntax and functionality deliberately similar to Matlab/Octave, allowing mathematical operations to be expressed in a familiar and natural manner. Objects for matrices and cubes are provided, as well as over 200 associated functions for manipulating data stored in the objects. Integer, floating point and complex numbers are supported. Various matrix factorisations are provided through integration with LAPACK, or one of its high performance drop-in replacements such as Intel MKL or OpenBLAS. PyArmadillo is open-source software, distributed under the Apache 2.0 license; it can be obtained at https://pyarma.sourceforge.io or via the Python Package Index in precompiled form.
翻译:Python 语言有诸如 NumPy 和 SciPy 等扩展框架,用于提供涉及数字阵列和科学计算功能的功能。然而,与成熟的Matlab 语言相反,这些框架可被视为是动词和繁琐使用。为解决这些缺陷,我们提议Python Python 的精简线性代数库PyArmadillo,这是一个简化的PyArmadillo, 重点是便于使用。 PyArmadillo 的目的是提供一种与Matlab/Octave有意类似的高级语法和功能,允许以熟悉和自然的方式表达数学操作。提供了矩阵和立方的物体,以及200多个相关功能用于管理存储在对象中的数据。Integer、浮点和复杂数字得到支持。通过与LAPACK或高性能的投影替代器,如Intel MKL 或 OpenBLAS。 PyArmadillo是开放源软件,根据 Apache 2.0 许可证分发;可在 https://pymarmamasl.polyforgage.forgage. orge.