Skip to content

io7m-com/jtensors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jtensors

Maven Central Maven Central (snapshot) Codecov Java Version

com.io7m.jtensors

JVM Platform Status
OpenJDK (Temurin) Current Linux Build (OpenJDK (Temurin) Current, Linux)
OpenJDK (Temurin) LTS Linux Build (OpenJDK (Temurin) LTS, Linux)
OpenJDK (Temurin) Current Windows Build (OpenJDK (Temurin) Current, Windows)
OpenJDK (Temurin) LTS Windows Build (OpenJDK (Temurin) LTS, Windows)

jtensors

The jtensors package package implements a set of vector and matrix types, intended for use in computer graphics software.

Features

  • 2D, 3D, and 4D immutable vector types in float and double versions.
  • 2D, 3D, and 4D immutable vector types in int and long versions.
  • 4D immutable quaternion types in float and double versions.
  • 2x2, 3x3, and 4x4 mutable matrix types in float and double versions.
  • Phantom-typed variants of all types for statically distinguishing between semantically different but otherwise type-compatible vectors and matrices.
  • Fully documented (Javadoc).
  • Massive battery of tests for checking the behaviour of matrix/vector implementations.
  • 100% automated unit test coverage.
  • OSGi-ready
  • JPMS-ready
  • ISC license.

Usage

See the documentation.