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

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

Serving Software Downloads in 976 Categories, Downloaded 32.403.233 Times

Math::MatrixReal::Aug 0.02

  Date Added: April 17, 2010  |  Visits: 756


Report Broken Link
Printer Friendly Version

Product Homepage
Download (83 downloads)

SYNOPSIS use Math::MatrixReal; use Math::MatrixReal::Aug; These are certain extra methods for Math::MatrixReal, in the tradition of Math::MatrixReal::Ext1; $matrix1->augmentright($matrix2); Creates a new matrix of the form [$matrix1 $matrix2]. $matrix1 and $matrix2 must have the same number of rows. Example: $A = Math::MatrixReal->new_from_cols([[1,0]]); $B = Math::MatrixReal->new_from_cols([[1,2],[2,1]]); $C = $A / $B print $C; [ 1.000000000000E+00 1.000000000000E+00 2.000000000000E+00 ] [ 0.000000000000E+00 2.000000000000E+00 1.000000000000E+00 ] $matrix1->augmentbelow($matrix2); Creates a new matrix of the form [ $matrix1 ] [ $matrix2 ]. $matrix1 and $matrix2 must have the same number of columns. Example: $A = Math::MatrixReal->new_from_cols([[1,0],[0,1]]); $B = Math::MatrixReal->new_from_cols([[1,2],[2,1]]); $C = $A / $B print $C; [ 1.000000000000E+00 0.000000000000E+00 ] [ 0.000000000000E+00 1.000000000000E+00 ] [ 1.000000000000E+00 2.000000000000E+00 ] [ 2.000000000000E+00 1.000000000000E+00 ] $matrix->applyfunction($coderef) Applies &$coderef to each element of $matrix, and returns the result. $coderef should be a reference to a subroutine that takes four parameters: ($matrix, $matrix->element($i,$j), $i, $j) where $i and $j are the row and column indices of the current element. Example: sub increment { my ($matrix,$element, $i,$j)=@_; return $element+1; } $A = Math::MatrixReal->new_from_cols([[1,0],[0,1]]); $E=$A->applyfunction(&increment); print $E; [ 2.000000000000E+00 1.000000000000E+00 ] [ 1.000000000000E+00 2.000000000000E+00 ] $matrix->largeexponential($exponent) Finds $matrix^$exponent using the square-and-multiply method. $matrix must be square and $exponent must be a positive integer. Much more efficient for large $exponent than $matrix->$exponential($exponent) in that approximately log2($exponent) multiplications are required instead of approximately $exponent. $matrix->fill($const); Sets all elements of $matrix equal to $const. Example: $A = new Math::MatrixReal(3,3); $A->fill(4); print $A; [ 4.000000000000E+00 4.000000000000E+00 4.000000000000E+00 ] [ 4.000000000000E+00 4.000000000000E+00 4.000000000000E+00 ] [ 4.000000000000E+00 4.000000000000E+00 4.000000000000E+00 ] $new_matrix = $some_matrix->newfill($rows,$columns,$const); $new_matrix = Math::MatrixReal->newfill($rows,$columns,$const); Creates a new matrix of the specified size, all the elements of which are $const. Example: $A = Math::MatrixReal->newfill(3,3,4); print $A; [ 4.000000000000E+00 4.000000000000E+00 4.000000000000E+00 ] [ 4.000000000000E+00 4.000000000000E+00 4.000000000000E+00 ] [ 4.000000000000E+00 4.000000000000E+00 4.000000000000E+00 ].

Requirements: No special requirements
Platforms: Linux
Keyword: Aug Perl Cols Const Exponent Libraries Mathmatrixrealaug Matrix Matrixreal New Print Programming
Users rating: 0/10

License: Freeware Size: 4.1 KB
More Reviews or Write Review

Libraries  -  Visual Perl/Tk 1.22
Visual Perl/Tk is a GUI development solution for beginners and professionals. Agenda - Why Perl/Tk - Other languages/libraries - Comparison table - Alternative visual tools for Perl/Tk - What beginners need - Why experienced programmer...
90.11 KB  
Libraries  -  Regexp::Extended 0.01
Regexp::Extended is a Perl wrapper that extends the re module with new features. SYNOPSIS use Regexp::Extended qw(:all); # (? ...): named parameters $date =~ /(? d+)-(? d+)-(? d+)/; if ("2002-10-30" =~ /$date/) { print "The date is...
5.12 KB  
Libraries  -  ExtUtils::ModuleMaker::Licenses 0.204
ExtUtils::ModuleMaker::Licenses is a Perl module to get the License for a new module. SYNOPSIS A supporting player for ExtUtils::ModuleMaker to get the COPYRIGHT section of pod and the contents of the LICENSE file. USAGE Should only be...
80.9 KB  
Programming  -  pysdif 0.1.0
pysdif is a Python library that allows to read and write any kind of SDIF file, to define new kinds of frames and matrices and to read and write metadata. The matrices read from a sdif file are exposed as numpy arrays. It...
153.6 KB  
Libraries  -  Math::Zap::Matrix 1.07
Math::Zap::Matrix is a Perl module for 3*3 matrix manipulation. Synopsis Example t/matrix.t #_ Matrix _____________________________________________________________ # Test 3*3 matrices #, 2004, Perl License...
63.49 KB  
Libraries  -  Alien Perl module 0.91
Alien Perl module package contains external libraries wrapped up for your viewing pleasure! SYNOPSIS perldoc Alien; Alien is a package that exists just to hold together an idea, the idea of Alien:: packages, so there is no code here, just...
10.24 KB  
Libraries  -  Meta Matrix Library 0.7.2
Meta Matrix Library is a modular designed collection of C libraries. Meta Matrix Library was developed as part of the Free Finite Element Package to provide easy and consistent access to numerical linear algebra software for sparse and dense...
460.8 KB  
Libraries  -  FFI::Library 1.02
FFI::Library is a module with Perl Access to Dynamically Loaded Libraries. SYNOPSIS use FFI::Library; $lib = FFI::Library->new("mylib"); $fn = $lib->function("fn", "signature"); $ret = $fn->(...); This module provides access from Perl to...
16.38 KB  
Libraries  -  Inline::C 0.44
Inline::C is a Perl module that can Write Perl Subroutines in C. Inline::C is a module that allows you to write Perl subroutines in C. Since version 0.30 the Inline module supports multiple programming languages and each language has its own...
92.16 KB  
Libraries  -  Digest::Perl::MD4 1.4
Digest::Perl::MD4 is a Perl implementation of Ron Rivests MD4 Algorithm. This is not C-code interface (like Digest::MD5) but a Perl-only implementation of MD4 (like Digest::Perl::MD5). Because of this, it is slow but avoids platform specific...
7.17 KB  
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 3.15.3
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