Skip to content

alltiny/alltiny-math-vector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status

alltiny's math-vector is a Java module providing classes for Vector and Matrix supporting common operations. Both support any number of dimensions. I moved both classes into this module for better reusability. Maybe it will become handy for you too? - Let me know.

Supported Vector Operations

  • determine vector's length
  • normalize vector
  • add or substract two vectors from each other
  • scale vector by a scalar
  • determine scalar product of two vectors
  • determine cross product of two vectors
  • project one vector onto another (since 1.1)

Supported Matrix Operations

  • multiply vector with the matrix
  • add two matrices
  • multiply two matrices
  • retrieve the row or column vector of a matrix

How to build?

alltiny-math-vector uses [gradle] for building. To compile and publish to your local maven repository use:

cd alltiny-math-vector
gradle publishToMavenLocal

the built module can be retrieve via:

<groupId>org.alltiny</groupId>
<artifactId>math-vector</artifactId>
<version>1.0.0</version>

How to set up my development environment?

Depending on whether you use IntelliJ IDEA or Eclipse, [gradle] can create the project files for you:

  • for IntelliJ IDEA
cd alltiny-math-vector
gradle idea
  • for Eclipse
cd alltiny-math-vector
gradle eclipse

[gradle]:http://www.gradle.org - An open source building tool, much like maven, but rather more flexible.

About

Java module containing vector and matrix supporting common mathematical operations.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages