# cyan-lighter
**Repository Path**: openhe/cyan-lighter
## Basic Information
- **Project Name**: cyan-lighter
- **Description**: a open-source python scientific calculation tool (a replacement of your calculator)
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-07-10
- **Last Updated**: 2022-06-26
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# CYAN-LIGHTER
https://img.shields.io/badge/project-CYANLIGHTER-cyan.svg
https://img.shields.io/badge/language-python-green.svg
https://img.shields.io/badge/supported-sympy-red.svg
https://img.shields.io/badge/appliance-math/teaching-red.svg
***
## Description
What's CYAN-LIGHTER ? A powerful mathematic tool for both students and developers , and a powerful replacement for calculators in your hands . Its functions include vector , matrix , calculation , plot , equation , statistics and so on.Developed on the base of sympy , matplotlib , numpy , this project even enable you to use a CAS(Computer Algebra System) ,2D graphing in simple python code.Enjoy MATH and CODING!
## Features
1. Vector
1. basic vector operation
2. basic alter,reshape,info of vector
3. linear combination
4. cross/dot/mixed product
5. angle calculation
* Try the following code:
```python
from src.cyan_lighter.vector.vector import Vector
from sympy.abc import *
def test():
vec1 = Vector([a, b, c])
vec2 = Vector([d, e, f])
vec3 = Vector([g, h, i])
print(f'vec1={vec1.show()}')
print(f'vec2={vec2.show()}')
print(f'vec3={vec3.show()}')
print(f'dimension of vec1={vec1.dimension}') # dimensional size of vec1
print(f'|vec1|={vec1.V_length()}') # calc magnitude of vec1
print(f'unit vector of vec1={vec1.V_unit().show()}') # calc unit vector of vec1
print(f'vec1 x vec2={vec1.cross(vec2).show()}') # cross product: vec1 x vec2
print(f'vec1 . vec2={vec1.dot(vec2)}') # dot product: vec1 . vec2
print(f'cos={vec1.cos_angle(vec2)}') # cos of angle of vec1 and vec2
print(f'={vec1.angle(vec2)}') # angle of vec1 and vec2
print(f'mixed product:[vec1 vec2 vec3]={vec1.mixed_product(vec2, vec3)}') # mixed product of vec1,vec2,vec3
print(f'vec1+vec2={vec1.add(vec2).show()}') # vec1+vec2
print(f'vec1-vec2={vec1.minus(vec2).show()}') # vec1-vec2
print(f'lambda*vec1+mu*vec2={vec1.linear_combine(vec2, lamda, mu).show()}') # lambda*vec1+mu*vec2
```
* expected output:

2.
## What's New
## Dev Track
7.10: init
7.12: first dev:vector lib