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.253.058 Times

Grid::Transform 0.02

  Date Added: September 16, 2010  |  Visits: 1.278

Grid::Transform

Report Broken Link
Printer Friendly Version


Product Homepage
Download (104 downloads)



Grid::Transform is a Perl module with fast grid transformations. SYNOPSIS use Grid::Transform; $g = Grid::Transform->new([a..o], rows=>5); $g->rotate_270->flip_vertical; print join( , $g->grid), "n"; The Grid::Transform module provides fast methods to transform a grid of arbitrary data types. METHODS $g = Grid::Transform->new( @grid, rows=>num, columns=>num ) Creates a new Grid::Transform object. The first argument is a reference to a 1-dimensional array representing a 2-dimensional "row major" (row by row) grid. (A column major grid is simply the counter transpose of a row major one.) The grid may be composed of arbitrary data types. The original array is never modified- all transformations operate on a copy. At least one dimension must be specified. If the grid and dimensions do not produce a rectangular grid extra empty elements ("") will be added to the grid. $g2 = $g->copy Returns a copy of the original Grid::Transform object. These methods get or set the grid attributes: @grid = $g->grid $grid = $g->grid @grid = $g->grid( @grid ) In list context, returns an array representing the current grid. In scalar context, returns a reference to the array. Accepts an array reference representing a new grid. The new grid will be resized if the dimensions of the previous grid do not match. $g->rows $g->rows( $num ) Returns the current number of rows. $g->columns $g->cols $g->columns( $num ) Returns the current number of columns. All transform methods return the Grid::Transform object, so transforms can be chained. $g->rotate_90 $g->rotate90 Rotates the grid 90 degrees clock-wise. a b c d e f g h i j k l a b c d i e a | e f g h -> j f b i e a j f b k g c l h d i j k l k g c l h d $g->rotate_180 $g->rotate180 Rotates the grid 180 degrees clock-wise. a b c d e f g h i j k l a b c d l k j i | e f g h -> h g f e l k j i h g f e d c b a i j k l d c b a $g->rotate_270 $g->rotate270 Rotates the grid 270 degrees clock-wise. a b c d e f g h i j k l a b c d d h l | e f g h -> c g k d h l c g k b f j a e i i j k l b f j a e i $g->flip_horizontal $g->mirror_horizontal Flips the grid across the horizontal axis. a b c d e f g h i j k l a b c d i j k l | e f g h -> e f g h i j k l e f g h a b c d i j k l a b c d $g->flip_vertical $g->mirror_vertical Flips the grid across the vertical axis. a b c d e f g h i j k l a b c d d c b a | e f g h -> h g f e d c b a h g f e l k j i i j k l l k j i $g->transpose Flips the grid across the vertical axis and then rotates it 90 degress clock-wise. a b c d e f g h i j k l a b c d l h d | e f g h -> k g c l h d k g c j f b i e a i j k l j f b i e a $g->counter_transpose $g->countertranspose Flips the grid across the horizontal axis and then rotates it 90 degrees clock-wise. a b c d e f g h i j k l a b c d a e i | e f g h -> b f j a e i b f j c g k d h l i j k l c g k d h l $g->fold_right Folds the columns to the right. a b c d e f g h i j k l a b c d b c d a | e f g h -> f g e h b c a d f g e h j k i l i j k l j k i l $g->fold_left Folds the columns to the left. a b c d e f g h i j k l a b c d d a c b | e f g h -> h e g f d a c b h e g f l i k j i j k l l i k j.

Requirements: No special requirements
Platforms: Linux
Keyword: B C C D C D E G H G H I Gridtransform H I K L K L A L A L A B L H D
Users rating: 0/10

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


GRID::TRANSFORM RELATED
Musical Instrument Tools  -  K.R.A.C. 1.0
Rip your CD Audio tracks to MP3 or Wav directly on your hard disk. Convert Wav to MP3, Convert MP3 to wav, Send CDDB request to get Artist, album, tracks titles information. Simple, fast and effective, K.R.A.C is a freeware with no Adware, no...
800 KB  
Video Editors  -  dudu DivX Converter 1.30
dudu DivX Converter is a easyt-to-use video converter software. It can convert many video formats, e.g. DivX, XviD, MOV, MPEG-4,MPEG, WMV, H.263,H.264,AVI,WMV and ASF to DivX Video format and Vice Versa. And you can also extract audio from...
1.68 MB  
Video Editors  -  dudu iPhone Video Converter 1.30
Dudu iPhone Video Converter is a easyt-to-use video converter software. It can convert many video formats, e.g. DivX, XviD, MOV, MPEG-4,MPEG, WMV, H.263,H.264,AVI,WMV,ASF to AVI video format and Vice Versa.And you can also extract audio from video...
1.68 MB  
Video Editors  -  dudu MKV Converter 1.30
duduMKV Converter is a easyt-to-use video converter software. It can convert many video formats, e.g. DivX, XviD, MOV, MPEG-4,MPEG, WMV, H.263,H.264,AVI,WMV and ASF to MKV Video format and Vice Versa. And you can also extract audio from video...
5.54 MB  
Video Editors  -  dudu MOV Converter 1.30
dudu MOV Converter is a easyt-to-use video converter software. It can convert many video formats, e.g. DivX, XviD, MOV, MPEG-4,MPEG, WMV, H.263,H.264,AVI,WMV and ASF to MOV Video format and Vice Versa. And you can also extract audio from video...
1.68 MB  
Audio Editors  -  dudushare AVI Converter 1.80
dudushare AVI Converter is a easyt-to-use video converter software. It can convert many video formats, e.g. DivX, XviD, MOV, MPEG-4,MPEG, WMV, H.263,AVI,WMV,ASF to AVI video format and Vice Versa.And you can also extract audio from video and...
1.68 MB  
Audio Editors  -  dudushare Apple TV Video Converter 1.80
dudushare Apple TV Video Converter is a easyt-to-use video converter software. It can convert many video formats, e.g. DivX, XviD, MOV, MPEG-4,MPEG, WMV, H.263,H.264,AVI,WMV,ASF to Apple TV video format and Vice Versa. And you can also extract...
1.68 MB  
Audio Editors  -  dudushare DivX Converter 1.80
dudushare DivX Converter is a easyt-to-use video converter software. It can convert many video formats, e.g. DivX, XviD, MOV, MPEG-4,MPEG, WMV, H.263,H.264,AVI,WMV and ASF to DivX Video format and Vice Versa. And you can also extract audio...
1.68 MB  
Audio Editors  -  dudushare Flv Video Converter 1.80
dudushare FLV Video Converter is a easyt-to-use video converter software. It can convert many video formats, e.g. DivX, XviD, MOV, MPEG-4,MPEG, WMV, H.263,AVI,WMV,ASF to FLV Movie Video format.
1.68 MB  
Audio Editors  -  dudushare iPhone Video Converter 1.80
dudushare iPhone Video Converter is a easyt-to-use video converter software. It can convert many video formats, e.g. DivX, XviD, MOV, MPEG-4,MPEG, WMV, H.263,H.264,AVI,WMV,ASF to AVI video format and Vice Versa.And you can also extract audio from...
1.68 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