jitesoft/math

1.0.0 2017-08-27 13:42 UTC

This package is auto-updated.

Last update: 2021-06-29 01:26:59 UTC


README

Build Status

Build Status

Dependency Status

codecov

A Math library for php 7.1+.
This lib was extracted from the Jitesoft\Utilities\DataStructures project.

Installation

Clone the repository or install with composer.

composer require jitesoft/math

Implemented classes

Jitesoft\Utilities\Math

  • Math - Misc static math helpers.
  • Point2D - A point structure in 2D space.
  • Point3D - A point structure in 3D space.
  • Vector2D - A vector structure in 2D space.
  • Vector3D - A vector structure in 3D space.
  • Vector4D - A vector structure in 4D space.
  • VectorMath - Common math for all vector types.
  • Matrix33 - A matrix structure with 3*3 indexes.
  • Matrix44 - A matrix structure with 4*4 indexes.
  • MatrixMath - Common math for all matrices.

License

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.