Prepared to help graphics coding for Python
Project description
################################### ####### HELLO WORLD ####### ###################################
This README.md file was generated on 2020/12/05 by MEHMET R. IRMAK
################### GENERAL INFORMATION ###################
This python library uses position vector handling and to help compute physical vectorial motion in mechanical systems. In addition, this is prepared to help graphics coding for Python.
- Author Information
First Author Contact Information Name: MEHMET RIFAT IRMAK Address: Ankara/TURKEY e-mail: mehmet.r.river@gmail.com
#################### DATA & FILE OVERVIEW ####################
Directory of Files:
A. Filename: init.py
Short description: the file containing functions that vector class, which vector calculations for location, physical movement and force
B. Filename: README.md
Short description: this file
C. Filename: CHANGELOG.txt
Short description: the file with update notes included
D. Filename: LICENCE.txt
Short description: the file with license information
E. Filename: setup.py
Short description: the setup file
########################## METHODOLOGICAL INFORMATION ##########################
- Software-specific information:
Name: classofvector2d Version: 1.0.0 System Requirements: Windows 7 or higher, 64-bit • Mac OS X 10.11 or higher, 64-bit • Linux: RHEL 6/7, 64-bit • x86 64-bit CPU (Intel / AMD architecture) • 4 GB RAM • 5 GB free disk space
Open Source? (Y/N): Y
Source Repository URL: Developer:Mehmet R. Irmak
- Specific information:
Manufacturer: Mehmet R. Irmak Model: 1.0.0
Definitions:
Vector(x, y):to create a vector.
square():to calculate the square of the length.
length():to calculate the length.
clone():to clone.
negative():to negative.
normalize():to normalize.
addition(vector):Creating a new vector by adding the vector given in the parameter to the vector.
increment(vector):by summing with the vector in the parameter changing x and y values of the vector.
subtract(vector):Creating a new vector by subtracting the vector given in the parameter.
decrement(vector):by subtracting with the vector in the parameter changing x and y values of the vector.
multiply(k): a new vector by multiplying the vector by a scalar number creation.
scale(k):by multiplying with a scalar number in the parameter changing x and y values of the vector.
scalerProduct(vector):scalar multiplying the vector by the vector in the parameter.
addMultbyScaler(vector, k):creating a new vector by multiplying the vector in the parameter with the scalar number and adding it to the other vector.
distance(vector1, vector2):distance between two vectors.
angleRad(vector1, vector2):the angle between two vectors.
Random(min, max):to create a random number between two integer numbers
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for classofvector2d-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b4fa7e9dc56e304f08a7959a43cd2df080fb75c70a4dc9f99dcc9058456404a |
|
MD5 | d990517952b10ed9443e1e85f1d90d0b |
|
BLAKE2b-256 | c2d2dd595bdeb94095ad03bec95291f915f100a5d09a0300160b0d76d5dc14e7 |