sciphp/numphp 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

sciphp/numphp

最新稳定版本:0.4.0

Composer 安装命令:

composer require sciphp/numphp

包简介

PHP library for scientific computing.

README 文档

README

NumPhp is a port of the famous NumPy (Python) package in PHP language.

Table of contents

Requirements

NumPhp supports PHP 7.2, 7.3 7.4 and 8.0.

Install

composer require sciphp/numphp

Basic usage

use SciPhp\NumPhp as np;

$m = np::ar(
  [[ 1, 0, 0],
   [ 0, 1, 0],
   [ 0, 0, 1]]
)->dot(42);

echo "m.42 =\n$m";

will output:

m.42 =
[[ 42,  0,  0 ],
 [  0, 42,  0 ],
 [  0,  0, 42 ]]

Documentation

NdArray attributes

NdArray methods

NumPhp methods

In the complete documentation, you will find all implemented stuff including some Linear Algebra methods like matrix norms and Cholesky transformation.

Contributing

Feel free to open issues and make PR. Contributions are welcome.

If you find a mistake or think an example is missing in the documentation, it's hosted on numphp-doc repository.

统计信息

  • 总下载量: 14.72k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 65
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 65
  • Watchers: 4
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 未知

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固