
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
vector-matrix-overloading
Advanced tools
벡터와 행렬 연산을 위한 연산자 오버로딩 패키지입니다. 직관적인 연산자(+, -, *)를 사용하여 벡터와 행렬 연산을 수행할 수 있습니다.
pip install vector-matrix-overloading
+, -)Vector * Vector)Vector * scalar, scalar * Vector)+, -)Matrix * Matrix)Matrix * Vector)Matrix * scalar, scalar * Matrix)T())eye())zeros())det()) - 1~3차 정사각행렬 지원from vector_matrix_overloading import Vector
# 벡터 생성
v1 = Vector.of([1, 2, 3])
v2 = Vector.of([4, 5, 6])
# 벡터 덧셈
v3 = v1 + v2 # Vector([5.0, 7.0, 9.0])
# 벡터 뺄셈
v4 = v1 - v2 # Vector([-3.0, -3.0, -3.0])
# 벡터 내적
dot_product = v1 * v2 # 32.0
# 스칼라 곱
v5 = 2 * v1 # Vector([2.0, 4.0, 6.0])
v6 = v1 * 3 # Vector([3.0, 6.0, 9.0])
# 벡터 노름 (길이)
length = v1.norm() # 또는 abs(v1)
# 단위 벡터
unit_v = v1.unit()
# 벡터 간 거리
distance = v1.distance_to(v2)
from vector_matrix_overloading import Matrix, Vector
# 행렬 생성
A = Matrix.of([[1, 2], [3, 4]])
B = Matrix.of([[5, 6], [7, 8]])
# 행렬 덧셈
C = A + B
# 행렬 뺄셈
D = A - B
# 행렬 곱
E = A * B
# 행렬-벡터 곱
v = Vector.of([1, 2])
result = A * v # Vector 결과
# 스칼라 곱
F = 2 * A
G = A * 3
# 행렬 전치
A_T = A.T()
# 단위 행렬
I = Matrix.eye(3)
# 영 행렬
Z = Matrix.zeros(2, 3)
# 행렬식
det_value = A.det() # 1~3차 정사각행렬만 지원
MIT License
이슈 및 풀 리퀘스트를 환영합니다!
FAQs
벡터와 행렬 연산을 위한 연산자 오버로딩 패키지
We found that vector-matrix-overloading demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.