GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
PDL::SV(3) User Contributed Perl Documentation PDL::SV(3)

PDL::SV - PDL subclass for keeping scalar data (like strings)

version 0.006004

    use PDL::SV ();
    
    my $p = PDL::SV->new( [ qw(foo bar) ] );

This PDL::SV class stores array of scalar values. It can be used for vectors of strings.

While this class is a subclass of PDL, its internals are quite different from other normal PDL types. So basically what's not documented are not guaranteed to work.

These methods basically have similar behavior as PDL class's methods of same names.

    slice(...)

    dice(...)

    $c = $a->glue($dim, $b, ...);

Glue two or more PDLs together along an arbitrary dimension. For now it only supports 1D PDL::SV piddles, and $dim has to be 0.

    uniq()

BAD values are not considered unique and are ignored.

uniqind()

Return the indices of all uniq elements of a piddle.

    sever()

    set(@position, $value)

    at(@position)

    unpdl()

    list()

    copy()

    inplace()

    where($mask)

These methods basically have similar behavior as PDL class's methods of same names.

    isbad()

    isgood()

    ngood()

    nbad()

    setbadif($mask)

    setbadtoval($val)

Cannot be run inplace.

These methods exist not in PDL but only in this class.

    match_regexp($pattern)

Match against a plain regular expression. Returns a piddle of the same dimension.

PDL

  • Zakariyya Mughal <zmughal@cpan.org>
  • Stephan Loyd <sloyd@cpan.org>

This software is copyright (c) 2014, 2019-2022 by Zakariyya Mughal, Stephan Loyd.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2024-12-20 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.