Metadata-Version: 1.1
Name: vectormath
Version: 0.0.1
Summary: vectormath
Home-page: https://github.com/3ptscience/vectormath
Author: 3point Science
Author-email: info@3ptscience.com
License: MIT License
Download-URL: http://github.com/3ptscience/vectormath
Description: # vectormath
        
        
        [![Latest PyPI version](https://img.shields.io/pypi/v/vectormath.svg)](https://pypi.python.org/pypi/vectormath)
        [![MIT license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/3ptscience/vectormath/blob/master/LICENSE)
        [![Build Status](https://travis-ci.org/3ptscience/vectormath.svg?branch=master)](https://travis-ci.org/3ptscience/vectormath)
        
        
        Vector math utilities for Python.
        
        ```python
        import numpy as np
        import vectormath as vmath
        
        # Simple vectors
        v = vmath.Vector3(5, 0, 0)
        v.normalize()
        print(v) # > [[1, 0, 0]]
        print(v.x, type(v.x))  # > 1.0, float
        
        # Array based vectors are much faster than a for loop
        v_array = vmath.Vector3([[4,0,0],[0,2,0]])
        print(v_array.x) # > [4, 0]
        # we can
        print(v_array.length) # [4, 2]
        print(v_array.normalize())  # [[1,0,0],[0,1,0]]
        
        # These vectors are just numpy arrays
        assert isinstance(v, np.ndarray)
        ```
        
        
        Major classes include `Vector3`, `Matrix3`, `Plane`, `Parallelogram`.
        
Keywords: linear algebra,vector,plane,math
Platform: Windows
Platform: Linux
Platform: Solaris
Platform: Mac OS-X
Platform: Unix
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Scientific/Engineering :: Mathematics
Classifier: Topic :: Scientific/Engineering :: Physics
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX
Classifier: Operating System :: Unix
Classifier: Operating System :: MacOS
Classifier: Natural Language :: English
