Giter Club home page Giter Club logo

complexarith's Introduction

complexarith

complexarith is an attempt to model the complex field arithmetic in Java to be used in mathematical developments.

The com.ipserc.arith.complex package contains the Complex class. Complex.java is the class that incorporates the methods and operations to be able to work on complexes. The class allows the introduction of complex numbers naturally in text format, so the clase constructor supports the instantiation of complex numbers of the form "3-2i" Complex.java incorporates all arithmetic operations with complexes, as well as numerous functions.

The com.ipserc.arith.matrixcomplex package contains the MatrixComplex class. MatrixComplex extends the complexes to be incorporated into matrices. Provides methods to create complex field matrices and their operations. MatrixComplex calculates determinants, solves systems of equations and allocates them using Gramm-Schmidt. MatrixComplex calculates the characteristic polynomial of the matrix, and its eigenvalues ​​and eigenvectors.

The com.ipserc.arith.factorization package contains the classes Diagfactor.java LUfactor.java QRfactor.java SVDfactor.java Diagfactor.java Factorizes a matrix of the form A = P·D·P-¹ where D is a diagonal matrix. LUfactor.java Factorizes a matrix of the form A = L U, where L is a lower triangular matrix and U is a superior triangular matrix. QRfactor.java Factorizes a matrix of the form A = Q R where Q is an orthogonal matrix m times m, and R is a triangular matrix superior m times n. SVDfactor.java Factorizes a matrix of the form A = U Σ V*, where Σ is a diagonal matrix mxn, and U and V are orthogonal matrices mxm and nxn respectively.

The com.ipserc.arith.polynom package contains the Polynom class. Polynom.java provides the methods to operate with polynomials and calculate its roots in the complex field. Generates Hermite, Legendre, Lagerre and Chebyshev polynomials of any degree. It incorporates methods to graphically represent polynomials. It makes use of the JavaPlot library of Panayotis (http://javaplot.panayotis.com/)

The com.ipserc.arith.vector package contains the Vector class. Vector.java introduces the necessary methods to operate with complex field vectors.

Finally TestComplex has a lot of examples of how to use the classes and its methods

Configuration

Import the files in a new Java Project

For Eclipse, in Properties -> Java Buld Path tab Libraries Add Class Folder classes under Classpath

complexarith's People

Contributors

ipserc avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.