Re: mirror image of a square matrix
- To: mathgroup at smc.vnet.net
- Subject: [mg66339] Re: mirror image of a square matrix
- From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
- Date: Wed, 10 May 2006 06:33:36 -0400 (EDT)
- Organization: Uni Leipzig
- References: <e3pean$ief$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi, Reverse /@ mat Regards Jens "ravi" <rv15i at yahoo.se> schrieb im Newsbeitrag news:e3pean$ief$1 at smc.vnet.net... | Let me define the mirror image of a matrix as the operation of flipping | the columns such that the last column becomes the first, the second | last becomes the second and so on. I would like to know if this can be | done simpler than as follows: | | mat=Table[Random[],{n},{n}] | matR=Transpose[Reverse[Transpose[mat]]] | Are there any built in functions for operations like these? | /ravi |