An open API service indexing awesome lists of open source software.

https://github.com/shotadft/vecposlib

This is a library that enables vector calculations in Python.
https://github.com/shotadft/vecposlib

math math-library numpy python python-lib python-library python3

Last synced: 3 months ago
JSON representation

This is a library that enables vector calculations in Python.

Awesome Lists containing this project

README

          


VecPosLib


[![PyPI Downloads][pypi-shield]][pypi-url]
[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
[![Unlicense License][license-shield]][license-url]
[![App Version][version-shield]][header-id]

## Overview
**Python用のベクトル型と色々を追加するだけの汎用的なライブラリです。**

***This is a library that enables vector calculations in Python.***

## Requirement
View to [requirements.txt](https://github.com/shotadft/VecPosLib/blob/master/requirements.txt)
### Optional
- CuPy (Version is Any)

## Development Environments
- Cursor (FREE Plan)

**⚠️当プログラムは一部に生成AIを使用して開発されています⚠️**

## Installations
```bash
pip install vecposlib
```

## Usage
### vectorlib
- **`Vector`**: **基本的な汎用ベクトル演算クラス**

***Basic vector operation class***
- **`Vec2` `Vec3` `Vec4`**: **`Vector`から派生したN次元の処理に特化したクラス**

***Class specialized in N dimensions***

### positionlib
- **`Position`**: **座標管理を補助するクラス**

***Classes that assist with coordinate management***

## Features (JP)
- 座標管理がちょっと楽になる
- 簡単なベクトル操作が可能
- 距離・ノルム・正規化・内積・外積・射影・反射などの基本演算をサポート
- シンプルで直感的なAPI

## Features (EN)
- Coordinate management becomes a little easier
- Simple vector operations are possible
- Supports basic operations such as distance, norm, normalization, inner product, outer product, projection, and reflection
- Simple and intuitive API

## Author Links
- [Twitter](https://x.com/shotadft)
- [GitHub](https://github.com/shotadft)
- [Homepage](https://www.shotadft.com/)

[pypi-shield]: https://img.shields.io/pypi/dm/VecPosLib.svg?label=PyPI%20downloads&style=flat-square
[pypi-url]: https://pypi.org/project/VecPosLib/
[forks-shield]: https://img.shields.io/github/forks/shotadft/VecPosLib.svg?style=flat-square
[forks-url]: https://github.com/shotadft/VecPosLib/network/members
[stars-shield]: https://img.shields.io/github/stars/shotadft/VecPosLib.svg?style=flat-square
[stars-url]: https://github.com/shotadft/VecPosLib/stargazers
[issues-shield]: https://img.shields.io/github/issues/shotadft/VecPosLib.svg?style=flat-square
[issues-url]: https://github.com/shotadft/VecPosLib/issues
[license-shield]: https://img.shields.io/github/license/shotadft/VecPosLib.svg?style=flat-square
[license-url]: https://github.com/shotadft/VecPosLib/blob/master/LICENSE.md
[version-shield]: https://img.shields.io/badge/1.0.4-00c81b?label=version&style=flat-square
[header-id]: #top