Heray-Was-Here
Server : Apache
System : Linux vps103298.mylogin.co 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User : calvet ( 273824)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /lib64/perl5/vendor_perl/PDL/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib64/perl5/vendor_perl/PDL/LiteF.pm
=head1 NAME

PDL::LiteF - minimum PDL module function loader

=head1 DESCRIPTION

Loads the smallest possible set of modules for
PDL to work, making the functions available in
the current namespace. If you want something even
smaller see the L<PDL::Lite> module.

=head1 SYNOPSIS

 use PDL::LiteF; # Is equivalent to the following:

   use PDL::Core;
   use PDL::Ops;
   use PDL::Primitive;
   use PDL::Ufunc;
   use PDL::Basic;
   use PDL::Slices;
   use PDL::Bad;
   use PDL::Version;
   use PDL::Lvalue;

=cut

# get the version: 
use PDL::Version;

package PDL::LiteF;
$VERSION = $PDL::Version::VERSION;


# Load the fundamental PDL packages, with imports

sub PDL::LiteF::import {

my $pkg = (caller())[0];
eval <<EOD;

package $pkg;

use PDL::Core;
use PDL::Ops;
use PDL::Primitive;
use PDL::Ufunc;
use PDL::Basic;
use PDL::Slices;
use PDL::Bad;
use PDL::Lvalue;

EOD

die $@ if $@;

}

;# Exit with OK status

1;

Hry