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 29.890.459 Times

Math::MatrixReal::Aug 0.02

  Date Added: April 17, 2010  |  Visits: 711

Math::MatrixReal::Aug

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
USER REVIEWS
More Reviews or Write Review


MATH::MATRIXREAL::AUG RELATED
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  -  cbear 1.0.0.172
The 'cbear' framework is a set of libraries and common utilities for different programming languages and platforms.
675.81 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 # philiprbrenan@yahoo.com, 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  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.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...
2.73 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