Skip to content
/ vector Public

Simple linear algebra Vector implementation.

License

Notifications You must be signed in to change notification settings

idexter/vector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vector

test Go Report Card codecov

This library provides basic implementation of linear algebra "vector" data structure with basic operations. It was made as small test assignment. So only basic things has been implemented.

Supported operations:

  • Length
  • Add
  • Subtract
  • ScalarMultiply
  • DotProduct
  • CrossProduct

Almost all functions within this package panics when vectors used in a wrong way. For example: It panics if 2 vectors has different dimensions. For more information see package documentation.

Test

Just run go test -v -race -cover ./...

About

Simple linear algebra Vector implementation.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages