jitesoft / math
适用于php 7.1+的数学库。
1.0.0
2017-08-27 13:42 UTC
Requires
- php: >7.1
Requires (Dev)
- phpunit/phpunit: ^6.0
- squizlabs/php_codesniffer: 3.0.*
This package is auto-updated.
Last update: 2024-08-29 04:48:41 UTC
README
一个适用于php 7.1+的数学库。
此库是从 Jitesoft\Utilities\DataStructures
项目中提取出来的。
安装
克隆存储库或使用composer安装。
composer require jitesoft/math
实现类
Jitesoft\Utilities\Math
Math
- 杂项静态数学助手。Point2D
- 2D空间中的一个点结构。Point3D
- 3D空间中的一个点结构。Vector2D
- 2D空间中的一个向量结构。Vector3D
- 3D空间中的一个向量结构。Vector4D
- 4D空间中的一个向量结构。VectorMath
- 所有向量类型共用的数学。Matrix33
- 一个3*3索引的矩阵结构。Matrix44
- 一个4*4索引的矩阵结构。MatrixMath
- 所有矩阵共用的数学。
许可证
MIT License
Copyright (c) 2017 Jitesoft
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.