rindow/rindow-math-matrix
Composer 安装命令:
composer require rindow/rindow-math-matrix
包简介
The fundamental package for scientific matrix operation
README 文档
README
Rindow Math Matrix is the fundamental package for scientific matrix operation
- A powerful N-dimensional array object
- Sophisticated (broadcasting) functions
- BLAS functions
- Functions useful for machine learning
- Tools for integrating C/C++ through the FFI (OpenBLAS,Rindow-Matlib,CLBlast etc.)
- GPU support on your laptop without n-vidia (OpenCL with Intel,AMD etc.)
- Useful linear algebra and random number capabilities
Please see the documents on Rindow mathematics project web pages.
Requirements
- PHP 8.1 or PHP8.2 or PHP8.3 or PHP8.4
- PHP7.2, PHP7.3, PHP7.4 and PHP 8.0 are not supported in this release. Please use Release 1.1, which supports them.
Strong recommend
You can perform very fast N-dimensional array operations in conjunction
- rindow-math-matrix-matlibffi: plug-in drivers for OpenBLAS,Rindow-Matlib,OpenCL,CLBlast for FFI
- Pre-build binaries
Please see the rindow-math-matrix-matlibffi to setup plug-in and pre-build binaries.
How to Setup
Set it up using composer.
$ composer require rindow/rindow-math-matrix
You can use it as is, but you will need to speed it up to process at a practical speed.
And then, Set up pre-build binaries for the required high-speed calculation libraries. Click here for details.
$ composer require rindow/rindow-math-matrix-matlibffi
Sample programs
<?php // sample.php include __DIR__.'/vendor/autoload.php'; use Rindow\Math\Matrix\MatrixOperator; $mo = new MatrixOperator(); $a = $mo->array([[1,2],[3,4]]); $b = $mo->array([[2,3],[4,5]]); $c = $mo->cross($a,$b); echo $mo->toString($c,indent:true)."\n";
$ php sample.php [ [10,13], [22,29] ]
rindow/rindow-math-matrix 适用场景与选型建议
rindow/rindow-math-matrix 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 311.71k 次下载、GitHub Stars 达 13, 最近一次更新时间为 2020 年 02 月 03 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「math」 「operation」 「matrix」 「rindow」 「N-dimension」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 rindow/rindow-math-matrix 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 rindow/rindow-math-matrix 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 rindow/rindow-math-matrix 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Expand, collapse, change the status of, or delete multiple blocks in a Matrix field simultaneously.
LaTeX formula to PNG
Identify your matrix blocks by giving each type a different color.
Add screenshot previews to matrix and neo fields, helping you publish content quicker.
A Craft CMS plugin for performing batch actions on Matrix and Neo blocks
A PHP trait to enable bitwise comparison of flags
统计信息
- 总下载量: 311.71k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 13
- 点击次数: 23
- 依赖项目数: 7
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2020-02-03