@josh-brown/vector
TypeScript icon, indicating that this package has built-in type declarations

4.2.0 • Public • Published

Vector

A linear algebra library written in TypeScript that focuses on generality, extensibility, and ease of use.

Features

  • Core:
    • Basic manipulation of vectors and matrices
    • Out-of-the-box support for number and ComplexNumber
    • Extensible to support general scalar types
  • Matrix Operations:
    • Matrix determinants
    • Matrix exponentials
    • Elementary row operations
    • Gauss-Jordan elimination
    • Eigenvalue / Eigenvector finding
  • Matrix Factorizations:
    • Cholesky Decomposition
    • LU Decomposition
    • QR Decomposition
    • Singular Value Decomposition
  • Applications:
    • Calculus: Differentiation via finite differences
    • Statistics: Least-Squares Regression for arbitrary model functions
    • Statistics: Principal component analysis
  • Machine learning models
    • Regularized linear regression
    • Logistic Regression
    • Support Vector Machines
  • And more to come!

Using Vector

See our Usage Guide for more on how to use Vector in your project.

Contributing to Vector

See our Contribution Guide for contribution guidelines and coding standards.

Documentation

See the API Documentation

Readme

Keywords

none

Package Sidebar

Install

npm i @josh-brown/vector

Weekly Downloads

2,021

Version

4.2.0

License

MIT

Unpacked Size

574 kB

Total Files

126

Last publish

Collaborators

  • jbrown1618