Giter Club home page Giter Club logo

math--matrixreal's Introduction

Math::MatrixReal

Report bugs and submit patches at http://github.com/leto/math--matrixreal

Requirements:

Perl version 5.003 or higher capable of "overloading" (overload.pm).

What does it do:

Math::MatrixReal - Matrix of Reals

Implements the data type "matrix of reals" (and consequently also "vector of reals") which can be used almost like any other basic Perl type thanks to OPERATOR OVERLOADING, i.e.,

$A       = $matrix1 * $matrix2;
$B       = $A ** 2;
$C       = $A + 2*B;
$D       = $C - $B/2;
$inverse = $C ** -1;
$inverse = 1/$C;

does what you would like it to do.

Also features many important operations and methods: matrix norm, matrix transposition, matrix inverse, determinant of a matrix, order and numerical condition of a matrix, scalar product of vectors, vector product of vectors, vector length, projection of row and column vectors, a comfortable way for reading in a matrix from a file, the keyboard or your code, and many more.

Allows to solve linear equation systems using an efficient algorithm known as "L-R-decomposition" and several approximative (iterative) methods.

Features an implementation of Kleene's algorithm to compute the minimal costs for all paths in a graph with weighted edges (the "weights" being the costs associated with each edge).

Allows to solve the eigensystem of a real symmetric matrix, using Householder transformation and QL decomposition.

Installation Instructions

Since Math::MatrixReal 2.03, Module::Build is used for the build process, but a Makefile.PL is still generated for older installations. If you do not have Module::Build, please read the OLD_README file.

The build and install Math::MatrixReal run the commands

perl Build.PL
./Build
./Build test
./Build install

Version history:

See the CHANGES file.

Credits:

See the CREDITS file.

Copyright

Copyright (c) 1996, 1997 by Steffen Beyer. 1999 by Rodolphe Ortalo. 2001-2011 by Jonathan "Duke" Leto.

All rights reserved.

This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

math--matrixreal's People

Contributors

leto 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.