Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.082.972 Times

Math::Matrix 0.5

  Date Added: August 11, 2010  |  Visits: 1.201

Math::Matrix

Report Broken Link
Printer Friendly Version


Product Homepage
Download (134 downloads)



Math::Matrix can multiply and invert Matrices. The following methods are available: new Constructor arguments are a list of references to arrays of the same length. The arrays are copied. The method returns undef in case of error. $a = new Math::Matrix ([rand,rand,rand], [rand,rand,rand], [rand,rand,rand]); If you call new as method, a zero filled matrix with identical deminsions is returned. clone You can clone a matrix by calling: $b = $a->clone; size You can determine the dimensions of a matrix by calling: ($m, $n) = $a->size; concat Concatenates two matrices of same row count. The result is a new matrix or undef in case of error. $b = new Math::Matrix ([rand],[rand],[rand]); $c = $a->concat($b); transpose Returns the transposed matrix. This is the matrix where colums and rows of the argument matrix are swaped. multiply Multiplies two matrices where the length of the rows in the first matrix is the same as the length of the columns in the second matrix. Returns the product or undef in case of error. solve Solves a equation system given by the matrix. The number of colums must be greater than the number of rows. If variables are dependent from each other, the second and all further of the dependent coefficients are 0. This means the method can handle such systems. The method returns a matrix containing the solutions in its columns or undef in case of error. invert Invert a Matrix using solve. multiply_scalar Multiplies a matrix and a scalar resulting in a matrix of the same dimensions with each element scaled with the scalar. $a->multiply_scalar(2); scale matrix by factor 2 add Add two matrices of the same dimensions. substract Shorthand for add($other->negative) equal Decide if two matrices are equal. The criterion is, that each pair of elements differs less than $Math::Matrix::eps. slice Extract columns: a->slice(1,3,5); determinant Compute the determinant of a matrix. dot_product Compute the dot product of two vectors. absolute Compute the absolute value of a vector. normalizing Normalize a vector. cross_product Compute the cross-product of vectors. print Prints the matrix on STDOUT. If the method has additional parameters, these are printed before the matrix is printed. pinvert Compute the pseudo-inverse of the matrix: ((AA)^-1)A EXAMPLE use Math::Matrix; srand(time); $a = new Math::Matrix ([rand,rand,rand], [rand,rand,rand], [rand,rand,rand]); $x = new Math::Matrix ([rand,rand,rand]); $a->print("An"); $E = $a->concat($x->transpose); $E->print("Equation systemn"); $s = $E->solve; $s->print("Solutions sn"); $a->multiply($s)->print("A*sn");.

Requirements: No special requirements
Platforms: Linux
Keyword: A- In Case In Case Of Invert Libraries Mathmatrix Matrix Multiply New Print Programming
Users rating: 0/10

License: Freeware Size: 6.14 KB
USER REVIEWS
More Reviews or Write Review


MATH::MATRIX RELATED
Libraries  -  LibsX 2004-01-23
LibsX (formerly LibSpeedX) is a C++ multi-platform set of basic libraries (like strings, ini files, etc) optimized for speed and made from scratch. LibsXs goal is to make programs like games with basic libraries highly optimized for speed and...
27.65 KB  
Modules  -  Add new products fields 2.0
If the default fields are not enough for you ther have a look at this piece of code on how to add new products fields.
 
Libraries  -  Smieciuch++ 0.6.4 RC3
Smieciuch library is a precise (in case of C++) or nearly precise (in case of plain C) tracing garbage collector. Tracing means that GC scans memory for active pointers and traces all paths (consisting of possibly multiple pointer indirections)...
 
Games  -  The Case of Samuel Gregor 1.0
The Case of Samuel Gregor is a free interactive fiction novel with a surreal and travel theme. There is a knock at the door of your office. Without waiting for an answer, the Dean of the university walks into your working quarters,...
122.88 KB  
Games  -  Masquerade Mysteries: The Case of the Copycat Curator for Mac OS 1.0
Masquerade Mysteries follows the adventure of Private Investigator Joy Black as she tracks down art thieves that are stealing artwork from her father. During the investigation, Joy will have to gather items and reassemble them into new disguises...
165 MB  
Screen Savers  -  A screensaver to the top of Norwegian fjords 1.0
"Top of Norwegian fjord" is a screensaver that takes you in pictures and story from the starting point of travel to the Norwegian fjords. Here the screensaver takes you in an open cable wagon steep up the mountain and to the top of the...
5.31 MB  
Libraries  -  Class::Meta::Declare 0.04
Class::Meta::Declare is a Perl module deprecated in favor of Class::Meta::Express. SYNOPSIS This was a first attempt at making a saner interface for Class::Meta. It is nicer, but Class::Meta::Express is nicer still. Go use that one. package...
15.36 KB  
MP3 Tools  -  SuningDVD[Free] 1.3
SuningDvd SuningDvd is a run on the Windows platform, the performance of super-powerful, highly intelligent and easy to use audio and video entertainment platform in support of Windows2000, WindowsXP, Windows2003, Vista, and Windows7 operating...
26.47 MB  
Automation Tools  -  OpenSCADA Project 0.8.0(Atlantis)
The OpenSCADA project aims to create a full-featured and state-of-the-art SCADA (Supervisory Control and Data Acquisition) system to be used in industrial and civil engineering applications to control distributed systems from a master location....
 
Communication  -  Sound Steganography - Images hidden in spectrogram of music 1.0
Program converts image file (square shape, maximum 120x120 pixels) into music file (*.wav, noise). You can watch the hidden image in spectrogram of music - process called sound steganography.This is first version of project with very slow...
8.92 MB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB