PDL::Lvalue man page on aLinux

Man page or keyword search:  
man Server   7435 pages
apropos Keyword Search (all sections)
Output format
aLinux logo
[printable version]

Lvalue(3)	      User Contributed Perl Documentation	     Lvalue(3)

NAME
       PDL::Lvalue - declare PDL lvalue subs

DESCRIPTION
       Declares a subset of PDL functions so that they can be used as lvalue
       subs. In particular, this allows simpler constructs such as

	 $a->slice(',(0)') .= 1;

       instead of the clumsy

	 (my $tmp = $a->slice(',(0)')) .= 1;

       This will only work if your perl supports lvalue subroutines (i.e.
       versions

SYNOPSIS
	use PDL::Lvalue; # automatically done with all PDL loaders

FUNCTIONS
       subs

       test if routine is a known PDL lvalue sub

	 print "slice is an lvalue sub" if PDL::Lvalue->subs('slice');

       returns the list of PDL lvalue subs if no routine name is given, e.g.

	 @lvfuncs = PDL::Lvalue->subs;

       It can be used in scalar context to find out if your PDL has lvalue
       subs:

	 print 'has lvalue subs' if PDL::Lvalue->subs;

AUTHOR
       Copyright (C) 2001 Christian Soeller (c.soeller@auckland.ac.nz). All
       rights reserved. There is no warranty. You are allowed to redistribute
       this software / documentation under certain conditions. For details,
       see the file COPYING in the PDL distribution. If this file is separated
       from the PDL distribution, the copyright notice should be included in
       the file.

perl v5.10.0			  2003-12-12			     Lvalue(3)
[top]

List of man pages available for aLinux

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net