Git Product home page Git Product logo

math4j's Introduction

Math4J v.0.0.6

Math4J is a simple mathematics library for Java.

The mathematical concepts covered are mainly those used in 3D-graphics, such as vectors, points and matrices. This is the field from which this library originated.

Getting Started

To clone this repository and build the project, you can type the following in Git Bash. You need Apache Ant though.

git clone https://github.com/macroing/Math4J.git
cd Math4J
ant

Supported Features

This library provides the following data types.

  • AngleD - An angle abstraction of type double that contains both degrees and radians.
  • AngleF - An angle abstraction of type float that contains both degrees and radians.
  • BoundingVolume3D - A 3-dimensional bounding volume representation of type double.
  • BoundingVolume3F - A 3-dimensional bounding volume representation of type float.
  • MathD - An extension of java.lang.Math for type double.
  • MathF - An extension of java.lang.Math for type float.
  • MathI - An extension of java.lang.Math for type int.
  • Matrix44D - A 4x4 matrix with elements of type double.
  • Matrix44F - A 4x4 matrix with elements of type float.
  • NoiseGeneratorD - A class that can generate noise of type double.
  • NoiseGeneratorF - A class that can generate noise of type float.
  • OrthoNormalBasis33D - A 3-dimensional orthonormal basis of type double.
  • OrthoNormalBasis33F - A 3-dimensional orthonormal basis of type float.
  • Plane3D - A plane of type double.
  • Plane3F - A plane of type float.
  • Point2D - A 2-dimensional point of type double.
  • Point2F - A 2-dimensional point of type float.
  • Point2I - A 2-dimensional point of type int.
  • Point3D - A 3-dimensional point of type double.
  • Point3F - A 3-dimensional point of type float.
  • QuaternionD - A quaternion of type double.
  • QuaternionF - A quaternion of type float.
  • Ray3D - A 3-dimensional ray of type double.
  • Ray3F - A 3-dimensional ray of type float.
  • Rectangle2I - A 2-dimensional rectangle of type int.
  • RectangularCuboid3F - A 3-dimensional rectangular cuboid of type float.
  • SampleGeneratorD - A class for sampling of type double.
  • SampleGeneratorF - A class for sampling of type float.
  • Shape2I - A 2-dimensional shape of type int.
  • Shape3D - A 3-dimensional shape of type double.
  • Shape3F - A 3-dimensional shape of type float.
  • Sphere3D - A sphere of type double.
  • Sphere3F - A sphere of type float.
  • SurfaceSample3D - A 3-dimensional surface sample of type double.
  • SurfaceSample3F - A 3-dimensional surface sample of type float.
  • Triangle2I - A 2-dimensional triangle of type int.
  • Triangle3D - A 3-dimensional triangle of type double.
  • Triangle3F - A 3-dimensional triangle of type float.
  • TriangleMesh3F - A 3-dimensional triangle mesh of type float.
  • Vector3D - A 3-dimensional vector of type double.
  • Vector3F - A 3-dimensional vector of type float.
  • Vector4D - A 4-dimensional vector of type double.
  • Vector4F - A 4-dimensional vector of type float.

Dependencies

Note

This library hasn't been released yet. So, even though it says it's version 1.0.0 in all Java source code files, it shouldn't be treated as such. When this library reaches version 1.0.0, it will be tagged and available on the "releases" page.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.