Query: pdl::lvalue
OS: redhat
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Lvalue(3) User Contributed Perl Documentation Lvalue(3)NAMEPDL::Lvalue - declare PDL lvalue subsDESCRIPTIONDeclares 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 >= v5.6.0). Note that lvalue subroutines are currently regarded experimental.SYNOPSISuse PDL::Lvalue; # automatically done with all PDL loadersFUNCTIONSsubs 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;AUTHORCopyright (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 sepa- rated from the PDL distribution, the copyright notice should be included in the file. perl v5.8.0 2002-05-07 Lvalue(3)
Related Man Pages |
---|
pdl::exporter(3) - redhat |
pdl::pptemplate(1) - redhat |
pdl(3) - suse |
pdl::dbg(3) - suse |
pdl::graphics::trid::vrml(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
How to capture ^x,^y via bash script? |
CentOS7 restoring file capabilities |
Docker learning Phase-I |
Package |