2017 © Pedro Peláez
 

library vector

A PHP library to work with vectors.

image

phpmath/vector

A PHP library to work with vectors.

  • Tuesday, June 14, 2016
  • by waltertamboer
  • Repository
  • 1 Watchers
  • 3 Stars
  • 17 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

vector

Latest Version on Packagist ![Software License][ico-license] Build Status ![Coverage Status][ico-scrutinizer] Quality Score ![Total Downloads][ico-downloads] SensioLabsInsight, (*1)

A PHP library to work with mathematical vectors., (*2)

Getting started

It's recommended to install this library via Composer., (*3)

{
    "require": {
        "phpmath/vector": "^2.0"
    }
}

The current master branch is considered stable. The badges on top of this document should confirm this., (*4)

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., (*5)

Features

This library supports the following operations:, (*6)

  • 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., (*7)

The Versions

14/06 2016

dev-master

9999999-dev

A PHP library to work with vectors.

  Sources   Download

MIT

The Requires

 

The Development Requires

math vector

18/04 2016

1.0.0

1.0.0.0

A PHP library to work with vectors.

  Sources   Download

MIT

The Requires

 

The Development Requires

math vector