phpmath/vector
最新稳定版本:1.0.0
Composer 安装命令:
composer require phpmath/vector
包简介
A PHP library to work with vectors.
README 文档
README
A PHP library to work with mathematical vectors.
Getting started
It's recommended to install this library via Composer.
{
"require": {
"phpmath/vector": "^2.0"
}
}
The current master branch is considered stable. The badges on top of this document should confirm this.
Requirements
This library runs on PHP 5.5, PHP 5.6, PHP 7 and HHVM. This library depends on phpmath/bignumber which itself depends on the GMP extension.
Features
This library supports the following operations:
- Fully unit tested.
- Basic classes such as Tuple, Vector, Vector2 and Vector3.
- Basic operations such as adding, scaling and subtracting.
- Performing dotProduct and crossProduct operations.
- Normalization
- Conjugate (negate - reverse)
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 34
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-04-20