New upstream version 1.23.17
Bas Couwenberg
2 years ago
11 | 11 | use PDL::CCS::Ops; |
12 | 12 | use strict; |
13 | 13 | |
14 | our $VERSION = '1.23.16'; ##-- update with perl-reversion from Perl::Version module | |
14 | our $VERSION = '1.23.17'; ##-- update with perl-reversion from Perl::Version module | |
15 | 15 | our @ISA = ('PDL::Exporter'); |
16 | 16 | our @ccs_binops = (qw(plus minus mult divide modulo power), |
17 | 17 | qw(gt ge lt le eq ne spaceship), |
1009 | 1009 | |
1010 | 1010 | =head2 Copyright Policy |
1011 | 1011 | |
1012 | Copyright (C) 2005-2018, Bryan Jurish. All rights reserved. | |
1012 | Copyright (C) 2005-2022, Bryan Jurish. All rights reserved. | |
1013 | 1013 | |
1014 | 1014 | This package is free software, and entirely without warranty. |
1015 | 1015 | You may redistribute it and/or modify it under the same terms |
31 | 31 | 'PDL_IND', |
32 | 32 | 'PDL_LL' |
33 | 33 | ], |
34 | 'INT_TYPE_MAX_IONAME' => 'longlong', | |
35 | 'USE_PDL_INDX' => 1 | |
34 | 'INT_TYPE_MAX_IONAME' => 'ccs_indx' | |
36 | 35 | ); |
37 | 36 | |
38 | 37 | *PDL::ccs_indx = *ccs_indx = \&PDL::indx; ##-- typecasting for CCS indices |
8 | 8 | use PDL; |
9 | 9 | use strict; |
10 | 10 | |
11 | our $VERSION = '1.23.16'; ##-- update with perl-reversion from Perl::Version module | |
11 | our $VERSION = '1.23.17'; ##-- update with perl-reversion from Perl::Version module | |
12 | 12 | our @ISA = ('PDL::Exporter'); |
13 | 13 | our @EXPORT_OK = |
14 | 14 | ( |
380 | 380 | |
381 | 381 | =head2 Copyright Policy |
382 | 382 | |
383 | Copyright (C) 2007-2018, Bryan Jurish. All rights reserved. | |
383 | Copyright (C) 2007-2022, Bryan Jurish. All rights reserved. | |
384 | 384 | |
385 | 385 | This package is free software, and entirely without warranty. |
386 | 386 | You may redistribute it and/or modify it under the same terms |
8 | 8 | use Carp qw(confess); |
9 | 9 | use strict; |
10 | 10 | |
11 | our $VERSION = '1.23.16'; | |
11 | our $VERSION = '1.23.17'; | |
12 | 12 | our @ISA = ('PDL::Exporter'); |
13 | 13 | our @EXPORT_OK = |
14 | 14 | ( |
174 | 174 | |
175 | 175 | =head2 Copyright Policy |
176 | 176 | |
177 | Copyright (C) 2015-2018, Bryan Jurish. All rights reserved. | |
177 | Copyright (C) 2015-2022, Bryan Jurish. All rights reserved. | |
178 | 178 | |
179 | 179 | This package is free software, and entirely without warranty. |
180 | 180 | You may redistribute it and/or modify it under the same terms |
9 | 9 | use Carp qw(confess); |
10 | 10 | use strict; |
11 | 11 | |
12 | our $VERSION = '1.23.16'; | |
12 | our $VERSION = '1.23.17'; | |
13 | 13 | our @ISA = ('PDL::Exporter'); |
14 | 14 | our @EXPORT_OK = |
15 | 15 | ( |
174 | 174 | |
175 | 175 | =head2 Copyright Policy |
176 | 176 | |
177 | Copyright (C) 2015-2018, Bryan Jurish. All rights reserved. | |
177 | Copyright (C) 2015-2022, Bryan Jurish. All rights reserved. | |
178 | 178 | |
179 | 179 | This package is free software, and entirely without warranty. |
180 | 180 | You may redistribute it and/or modify it under the same terms |
11 | 11 | use Carp qw(confess); |
12 | 12 | use strict; |
13 | 13 | |
14 | our $VERSION = '1.23.16'; | |
14 | our $VERSION = '1.23.17'; | |
15 | 15 | our @ISA = ('PDL::Exporter'); |
16 | 16 | our @EXPORT_OK = qw(ccs_writefraw ccs_readfraw ccs_mapfraw); |
17 | 17 | our %EXPORT_TAGS = |
254 | 254 | |
255 | 255 | =head2 Copyright Policy |
256 | 256 | |
257 | Copyright (C) 2015-2018, Bryan Jurish. All rights reserved. | |
257 | Copyright (C) 2015-2022, Bryan Jurish. All rights reserved. | |
258 | 258 | |
259 | 259 | This package is free software, and entirely without warranty. |
260 | 260 | You may redistribute it and/or modify it under the same terms |
12 | 12 | use Carp qw(confess); |
13 | 13 | use strict; |
14 | 14 | |
15 | our $VERSION = '1.23.16'; | |
15 | our $VERSION = '1.23.17'; | |
16 | 16 | our @ISA = ('PDL::Exporter'); |
17 | 17 | our @EXPORT_OK = |
18 | 18 | ( |
269 | 269 | |
270 | 270 | =head2 Copyright Policy |
271 | 271 | |
272 | Copyright (C) 2015-2018, Bryan Jurish. All rights reserved. | |
272 | Copyright (C) 2015-2022, Bryan Jurish. All rights reserved. | |
273 | 273 | |
274 | 274 | This package is free software, and entirely without warranty. |
275 | 275 | You may redistribute it and/or modify it under the same terms |
12 | 12 | use Carp qw(confess); |
13 | 13 | use strict; |
14 | 14 | |
15 | our $VERSION = '1.23.16'; | |
15 | our $VERSION = '1.23.17'; | |
16 | 16 | our @ISA = ('PDL::Exporter'); |
17 | 17 | our @EXPORT_OK = |
18 | 18 | ( |
361 | 361 | |
362 | 362 | =head2 Copyright Policy |
363 | 363 | |
364 | Copyright (C) 2015-2018, Bryan Jurish. All rights reserved. | |
364 | Copyright (C) 2015-2022, Bryan Jurish. All rights reserved. | |
365 | 365 | |
366 | 366 | This package is free software, and entirely without warranty. |
367 | 367 | You may redistribute it and/or modify it under the same terms |
11 | 11 | use Carp qw(confess); |
12 | 12 | use strict; |
13 | 13 | |
14 | our $VERSION = '1.23.16'; | |
14 | our $VERSION = '1.23.17'; | |
15 | 15 | our @ISA = ('PDL::Exporter'); |
16 | 16 | our @EXPORT_OK = |
17 | 17 | ( |
279 | 279 | |
280 | 280 | =head2 Copyright Policy |
281 | 281 | |
282 | Copyright (C) 2015-2018, Bryan Jurish. All rights reserved. | |
282 | Copyright (C) 2015-2022, Bryan Jurish. All rights reserved. | |
283 | 283 | |
284 | 284 | This package is free software, and entirely without warranty. |
285 | 285 | You may redistribute it and/or modify it under the same terms |
3 | 3 | # |
4 | 4 | package PDL::CCS::MatrixOps; |
5 | 5 | |
6 | our @EXPORT_OK = qw(PDL::PP ccs_matmult2d_sdd PDL::PP ccs_matmult2d_zdd PDL::PP ccs_vnorm ccs_vcos_zdd PDL::PP _ccs_vcos_zdd PDL::PP ccs_vcos_pzd ); | |
7 | our %EXPORT_TAGS = (Func=>[@EXPORT_OK]); | |
6 | @EXPORT_OK = qw( PDL::PP ccs_matmult2d_sdd PDL::PP ccs_matmult2d_zdd PDL::PP ccs_vnorm ccs_vcos_zdd PDL::PP _ccs_vcos_zdd PDL::PP ccs_vcos_pzd ); | |
7 | %EXPORT_TAGS = (Func=>[@EXPORT_OK]); | |
8 | 8 | |
9 | 9 | use PDL::Core; |
10 | 10 | use PDL::Exporter; |
12 | 12 | |
13 | 13 | |
14 | 14 | |
15 | our $VERSION = '1.23.16'; | |
16 | our @ISA = ( 'PDL::Exporter','DynaLoader' ); | |
15 | $PDL::CCS::MatrixOps::VERSION = 1.23.17; | |
16 | @ISA = ( 'PDL::Exporter','DynaLoader' ); | |
17 | 17 | push @PDL::Core::PP, __PACKAGE__; |
18 | 18 | bootstrap PDL::CCS::MatrixOps $VERSION; |
19 | 19 | |
366 | 366 | |
367 | 367 | =head2 Copyright Policy |
368 | 368 | |
369 | All other parts Copyright (C) 2009-2015, Bryan Jurish. All rights reserved. | |
369 | All other parts Copyright (C) 2009-2022, Bryan Jurish. All rights reserved. | |
370 | 370 | |
371 | 371 | This package is free software, and entirely without warranty. |
372 | 372 | You may redistribute it and/or modify it under the same terms |
4 | 4 | ##====================================================================== |
5 | 5 | |
6 | 6 | use PDL::VectorValued::Dev; |
7 | my $VERSION = '1.23.16'; ##-- update with perl-reversion from Perl::Version module | |
7 | my $VERSION = '1.23.17'; ##-- update with perl-reversion from Perl::Version module | |
8 | 8 | pp_setversion($VERSION); |
9 | 9 | |
10 | 10 | ##-- for integer-type keys |
510 | 510 | |
511 | 511 | =head2 Copyright Policy |
512 | 512 | |
513 | All other parts Copyright (C) 2009-2015, Bryan Jurish. All rights reserved. | |
513 | All other parts Copyright (C) 2009-2022, Bryan Jurish. All rights reserved. | |
514 | 514 | |
515 | 515 | This package is free software, and entirely without warranty. |
516 | 516 | You may redistribute it and/or modify it under the same terms |
18 | 18 | *can = \&UNIVERSAL::can; |
19 | 19 | } |
20 | 20 | |
21 | our $VERSION = '1.23.16'; ##-- update with perl-reversion from Perl::Version module | |
21 | our $VERSION = '1.23.17'; ##-- update with perl-reversion from Perl::Version module | |
22 | 22 | our @ISA = qw(); |
23 | 23 | our %EXPORT_TAGS = |
24 | 24 | ( |
3326 | 3326 | |
3327 | 3327 | =head2 Copyright Policy |
3328 | 3328 | |
3329 | Copyright (C) 2007-2018, Bryan Jurish. All rights reserved. | |
3329 | Copyright (C) 2007-2022, Bryan Jurish. All rights reserved. | |
3330 | 3330 | |
3331 | 3331 | This package is free software, and entirely without warranty. |
3332 | 3332 | You may redistribute it and/or modify it under the same terms |
3 | 3 | # |
4 | 4 | package PDL::CCS::Ops; |
5 | 5 | |
6 | our @EXPORT_OK = qw(PDL::PP ccs_binop_align_block_mia ); | |
7 | our %EXPORT_TAGS = (Func=>[@EXPORT_OK]); | |
6 | @EXPORT_OK = qw( PDL::PP ccs_binop_align_block_mia ); | |
7 | %EXPORT_TAGS = (Func=>[@EXPORT_OK]); | |
8 | 8 | |
9 | 9 | use PDL::Core; |
10 | 10 | use PDL::Exporter; |
12 | 12 | |
13 | 13 | |
14 | 14 | |
15 | our $VERSION = '1.23.16'; | |
16 | our @ISA = ( 'PDL::Exporter','DynaLoader' ); | |
15 | $PDL::CCS::Ops::VERSION = 1.23.17; | |
16 | @ISA = ( 'PDL::Exporter','DynaLoader' ); | |
17 | 17 | push @PDL::Core::PP, __PACKAGE__; |
18 | 18 | bootstrap PDL::CCS::Ops $VERSION; |
19 | 19 | |
168 | 168 | |
169 | 169 | =head2 Copyright Policy |
170 | 170 | |
171 | All other parts Copyright (C) 2007-2013, Bryan Jurish. All rights reserved. | |
171 | All other parts Copyright (C) 2007-2022, Bryan Jurish. All rights reserved. | |
172 | 172 | |
173 | 173 | This package is free software, and entirely without warranty. |
174 | 174 | You may redistribute it and/or modify it under the same terms |
4 | 4 | ##====================================================================== |
5 | 5 | |
6 | 6 | use PDL::VectorValued::Dev; |
7 | my $VERSION = '1.23.16'; ##-- update with perl-reversion from Perl::Version module | |
7 | my $VERSION = '1.23.17'; ##-- update with perl-reversion from Perl::Version module | |
8 | 8 | pp_setversion($VERSION); |
9 | 9 | |
10 | 10 | ##------------------------------------------------------ |
248 | 248 | |
249 | 249 | =head2 Copyright Policy |
250 | 250 | |
251 | All other parts Copyright (C) 2007-2013, Bryan Jurish. All rights reserved. | |
251 | All other parts Copyright (C) 2007-2022, Bryan Jurish. All rights reserved. | |
252 | 252 | |
253 | 253 | This package is free software, and entirely without warranty. |
254 | 254 | You may redistribute it and/or modify it under the same terms |
3 | 3 | # |
4 | 4 | package PDL::CCS::Ufunc; |
5 | 5 | |
6 | our @EXPORT_OK = qw(PDL::PP ccs_accum_prod PDL::PP ccs_accum_dprod PDL::PP ccs_accum_sum PDL::PP ccs_accum_dsum PDL::PP ccs_accum_or PDL::PP ccs_accum_and PDL::PP ccs_accum_bor PDL::PP ccs_accum_band PDL::PP ccs_accum_maximum PDL::PP ccs_accum_minimum PDL::PP ccs_accum_maximum_nz_ind PDL::PP ccs_accum_minimum_nz_ind PDL::PP ccs_accum_nbad PDL::PP ccs_accum_ngood PDL::PP ccs_accum_nnz PDL::PP ccs_accum_average ); | |
7 | our %EXPORT_TAGS = (Func=>[@EXPORT_OK]); | |
6 | @EXPORT_OK = qw( PDL::PP ccs_accum_prod PDL::PP ccs_accum_dprod PDL::PP ccs_accum_sum PDL::PP ccs_accum_dsum PDL::PP ccs_accum_or PDL::PP ccs_accum_and PDL::PP ccs_accum_bor PDL::PP ccs_accum_band PDL::PP ccs_accum_maximum PDL::PP ccs_accum_minimum PDL::PP ccs_accum_maximum_nz_ind PDL::PP ccs_accum_minimum_nz_ind PDL::PP ccs_accum_nbad PDL::PP ccs_accum_ngood PDL::PP ccs_accum_nnz PDL::PP ccs_accum_average ); | |
7 | %EXPORT_TAGS = (Func=>[@EXPORT_OK]); | |
8 | 8 | |
9 | 9 | use PDL::Core; |
10 | 10 | use PDL::Exporter; |
12 | 12 | |
13 | 13 | |
14 | 14 | |
15 | our $VERSION = '1.23.16'; | |
16 | our @ISA = ( 'PDL::Exporter','DynaLoader' ); | |
15 | $PDL::CCS::Ufunc::VERSION = 1.23.17; | |
16 | @ISA = ( 'PDL::Exporter','DynaLoader' ); | |
17 | 17 | push @PDL::Core::PP, __PACKAGE__; |
18 | 18 | bootstrap PDL::CCS::Ufunc $VERSION; |
19 | 19 | |
632 | 632 | shift(@nnzOut); |
633 | 633 | } |
634 | 634 | |
635 | $nzvalsIn = longlong($nzvalsIn) if ($nzvalsIn->type > longlong()); ##-- max_type_perl=longlong | |
635 | $nzvalsIn = ccs_indx($nzvalsIn) if ($nzvalsIn->type > ccs_indx()); ##-- max_type_perl=ccs_indx | |
636 | 636 | @nnzOut = $nzvalsOut->dims if (!@nnzOut && defined($nzvalsOut) && !$nzvalsOut->isempty); |
637 | 637 | @nnzOut = @nnzIn if (!@nnzOut); |
638 | 638 | $ixOut = PDL->zeroes(ccs_indx(), $ndims,@nnzOut) |
717 | 717 | shift(@nnzOut); |
718 | 718 | } |
719 | 719 | |
720 | $nzvalsIn = longlong($nzvalsIn) if ($nzvalsIn->type > longlong()); ##-- max_type_perl=longlong | |
720 | $nzvalsIn = ccs_indx($nzvalsIn) if ($nzvalsIn->type > ccs_indx()); ##-- max_type_perl=ccs_indx | |
721 | 721 | @nnzOut = $nzvalsOut->dims if (!@nnzOut && defined($nzvalsOut) && !$nzvalsOut->isempty); |
722 | 722 | @nnzOut = @nnzIn if (!@nnzOut); |
723 | 723 | $ixOut = PDL->zeroes(ccs_indx(), $ndims,@nnzOut) |
1300 | 1300 | shift(@nnzOut); |
1301 | 1301 | } |
1302 | 1302 | |
1303 | $nzvalsIn = longlong($nzvalsIn) if ($nzvalsIn->type > longlong()); ##-- max_type_perl=longlong | |
1303 | $nzvalsIn = ccs_indx($nzvalsIn) if ($nzvalsIn->type > ccs_indx()); ##-- max_type_perl=ccs_indx | |
1304 | 1304 | @nnzOut = $nzvalsOut->dims if (!@nnzOut && defined($nzvalsOut) && !$nzvalsOut->isempty); |
1305 | 1305 | @nnzOut = @nnzIn if (!@nnzOut); |
1306 | 1306 | $ixOut = PDL->zeroes(ccs_indx(), $ndims,@nnzOut) |
1474 | 1474 | |
1475 | 1475 | =head2 Copyright Policy |
1476 | 1476 | |
1477 | Copyright (C) 2007-2013, Bryan Jurish. All rights reserved. | |
1477 | Copyright (C) 2007-2022, Bryan Jurish. All rights reserved. | |
1478 | 1478 | |
1479 | 1479 | This package is free software, and entirely without warranty. |
1480 | 1480 | You may redistribute it and/or modify it under the same terms |
4 | 4 | ##====================================================================== |
5 | 5 | |
6 | 6 | use PDL::VectorValued::Dev; |
7 | my $VERSION = '1.23.16'; ##-- update with perl-reversion from Perl::Version module | |
7 | my $VERSION = '1.23.17'; ##-- update with perl-reversion from Perl::Version module | |
8 | 8 | pp_setversion($VERSION); |
9 | 9 | |
10 | 10 | ##------------------------------------------------------ |
653 | 653 | |
654 | 654 | =head2 Copyright Policy |
655 | 655 | |
656 | Copyright (C) 2007-2013, Bryan Jurish. All rights reserved. | |
656 | Copyright (C) 2007-2022, Bryan Jurish. All rights reserved. | |
657 | 657 | |
658 | 658 | This package is free software, and entirely without warranty. |
659 | 659 | You may redistribute it and/or modify it under the same terms |
3 | 3 | # |
4 | 4 | package PDL::CCS::Utils; |
5 | 5 | |
6 | our @EXPORT_OK = qw(PDL::PP nnz PDL::PP nnza PDL::PP ccs_encode_pointers PDL::PP ccs_decode_pointer PDL::PP ccs_pointerlen PDL::PP ccs_xindex1d PDL::PP ccs_xindex2d PDL::PP ccs_dump_which ); | |
7 | our %EXPORT_TAGS = (Func=>[@EXPORT_OK]); | |
6 | @EXPORT_OK = qw( PDL::PP nnz PDL::PP nnza PDL::PP ccs_encode_pointers PDL::PP ccs_decode_pointer PDL::PP ccs_pointerlen PDL::PP ccs_xindex1d PDL::PP ccs_xindex2d PDL::PP ccs_dump_which ); | |
7 | %EXPORT_TAGS = (Func=>[@EXPORT_OK]); | |
8 | 8 | |
9 | 9 | use PDL::Core; |
10 | 10 | use PDL::Exporter; |
12 | 12 | |
13 | 13 | |
14 | 14 | |
15 | our $VERSION = '1.23.16'; | |
16 | our @ISA = ( 'PDL::Exporter','DynaLoader' ); | |
15 | $PDL::CCS::Utils::VERSION = 1.23.17; | |
16 | @ISA = ( 'PDL::Exporter','DynaLoader' ); | |
17 | 17 | push @PDL::Core::PP, __PACKAGE__; |
18 | 18 | bootstrap PDL::CCS::Utils $VERSION; |
19 | 19 | |
491 | 491 | |
492 | 492 | =head2 Copyright Policy |
493 | 493 | |
494 | Copyright (C) 2007-2013, Bryan Jurish. All rights reserved. | |
494 | Copyright (C) 2007-2022, Bryan Jurish. All rights reserved. | |
495 | 495 | |
496 | 496 | This package is free software, and entirely without warranty. |
497 | 497 | You may redistribute it and/or modify it under the same terms |
4 | 4 | ##====================================================================== |
5 | 5 | |
6 | 6 | use PDL::VectorValued::Dev; |
7 | my $VERSION = '1.23.16'; ##-- update with perl-reversion from Perl::Version module | |
7 | my $VERSION = '1.23.17'; ##-- update with perl-reversion from Perl::Version module | |
8 | 8 | pp_setversion($VERSION); |
9 | 9 | |
10 | 10 | ##------------------------------------------------------ |
611 | 611 | |
612 | 612 | =head2 Copyright Policy |
613 | 613 | |
614 | Copyright (C) 2007-2013, Bryan Jurish. All rights reserved. | |
614 | Copyright (C) 2007-2022, Bryan Jurish. All rights reserved. | |
615 | 615 | |
616 | 616 | This package is free software, and entirely without warranty. |
617 | 617 | You may redistribute it and/or modify it under the same terms |
2 | 2 | ## Description: set version for PDL::CCS |
3 | 3 | |
4 | 4 | package PDL::CCS::Version; |
5 | our $VERSION = '1.23.16'; ##-- update with perl-reversion from Perl::Version module | |
5 | our $VERSION = '1.23.17'; ##-- update with perl-reversion from Perl::Version module | |
6 | 6 | |
7 | 7 | 1; ##-- make perl happy |
14 | 14 | use PDL::CCS::IO::FastRaw; |
15 | 15 | use strict; |
16 | 16 | |
17 | our $VERSION = '1.23.16'; ##-- update with perl-reversion from Perl::Version module | |
17 | our $VERSION = '1.23.17'; ##-- update with perl-reversion from Perl::Version module | |
18 | 18 | our @ISA = ('PDL::Exporter'); |
19 | 19 | our @EXPORT_OK = |
20 | 20 | ( |
184 | 184 | |
185 | 185 | =head2 Copyright Policy |
186 | 186 | |
187 | Copyright (C) 2005-2018 by Bryan Jurish. All rights reserved. | |
187 | Copyright (C) 2005-2022 by Bryan Jurish. All rights reserved. | |
188 | 188 | |
189 | 189 | This package is free software, and entirely without warranty. |
190 | 190 | You may redistribute it and/or modify it under the same terms |
0 | v1.23.17 Tue, 18 Jan 2022 21:26:32 +0100 moocow | |
1 | + merged changes for PDL 2.066+ from mohawk2 | |
2 | - opt in to PDL 2.058 multi-C, dep on PDL v2.019 | |
3 | - simplify for 2.014+ types, compat with PDL 2.066+ | |
4 | + updated copyright notices in PODs | |
5 | ||
0 | 6 | v1.23.16 Thu, 29 Apr 2021 08:06:04 +0200 moocow |
1 | 7 | + fixed $PDL::VERSION checks in Config.PL to reflect reality |
2 | 8 | - integer-type downcasting behavior actually changed in PDL-2.037 with commit #f892aeb4ae on PDL/Basic/Ufunc/ufunc.pd |
22 | 22 | return $cconfig{$key} = ($answer eq '' ? $default : $answer); |
23 | 23 | } |
24 | 24 | |
25 | ## $USE_PDL_INDX : whether to use built-in PDL_Indx type (PDL >= v2.007) | |
26 | 25 | require PDL::Core; |
27 | if (defined(&PDL::indx)) { | |
28 | cprompt('USE_PDL_INDX', "use 64-bit indices via PDL_Indx if available (PDL >= v2.007)", "y"); | |
29 | $cconfig{USE_PDL_INDX} = ($cconfig{USE_PDL_INDX} && $cconfig{USE_PDL_INDX} !~ /^[n0]/i); | |
30 | } else { | |
31 | print STDERR "Info: 64-bit indices via PDL_Indx disabled for PDL < v2.007\n"; | |
32 | $cconfig{USE_PDL_INDX} = ''; | |
33 | } | |
34 | 26 | |
35 | if ($cconfig{USE_PDL_INDX}) { | |
36 | $cconfig{INDX_CTYPE} = "PDL_Indx"; | |
37 | $cconfig{INDX_SIG} = "indx"; | |
38 | $cconfig{INDX_FUNC} = "indx"; | |
39 | } else { | |
40 | $cconfig{INDX_CTYPE} = "PDL_Long"; | |
41 | $cconfig{INDX_SIG} = "int"; | |
42 | $cconfig{INDX_FUNC} = "long"; | |
43 | } | |
27 | $cconfig{INDX_CTYPE} = "PDL_Indx"; | |
28 | $cconfig{INDX_SIG} = "indx"; | |
29 | $cconfig{INDX_FUNC} = "indx"; | |
44 | 30 | $cconfig{INDX_TYPEDEF} = "typedef $cconfig{INDX_CTYPE} CCS_Indx; /**< typedef for CCS indices */\n"; |
45 | 31 | $cconfig{INDX_FUNCDEF} = "*ccs_indx = \\&PDL::$cconfig{INDX_FUNC}; ##-- typecasting for CCS indices\n"; |
46 | 32 |
29 | 29 | "Data::Dumper" : "0", |
30 | 30 | "ExtUtils::MakeMaker" : "0", |
31 | 31 | "File::Basename" : "0", |
32 | "PDL" : "0", | |
32 | "PDL" : "2.019", | |
33 | 33 | "PDL::VectorValued" : "v1.0.4", |
34 | 34 | "Test::More" : "0" |
35 | 35 | } |
37 | 37 | "runtime" : { |
38 | 38 | "requires" : { |
39 | 39 | "File::Basename" : "0", |
40 | "PDL" : "0", | |
40 | "PDL" : "2.019", | |
41 | 41 | "PDL::VectorValued" : "v1.0.4", |
42 | 42 | "Test::More" : "0" |
43 | 43 | } |
51 | 51 | "web" : "https://github.com/moocow-the-bovine/PDL-CCS" |
52 | 52 | } |
53 | 53 | }, |
54 | "version" : "v1.23.16", | |
54 | "version" : "v1.23.17", | |
55 | 55 | "x_serialization_backend" : "JSON::PP version 4.02" |
56 | 56 | } |
7 | 7 | Data::Dumper: '0' |
8 | 8 | ExtUtils::MakeMaker: '0' |
9 | 9 | File::Basename: '0' |
10 | PDL: '0' | |
10 | PDL: '2.019' | |
11 | 11 | PDL::VectorValued: v1.0.4 |
12 | 12 | Test::More: '0' |
13 | 13 | dynamic_config: 1 |
23 | 23 | - inc |
24 | 24 | requires: |
25 | 25 | File::Basename: '0' |
26 | PDL: '0' | |
26 | PDL: '2.019' | |
27 | 27 | PDL::VectorValued: v1.0.4 |
28 | 28 | Test::More: '0' |
29 | 29 | resources: |
30 | 30 | repository: git://github.com/moocow-the-bovine/PDL-CCS.git |
31 | version: v1.23.16 | |
31 | version: v1.23.17 | |
32 | 32 | x_serialization_backend: 'CPAN::Meta::YAML version 0.018' |
3 | 3 | |
4 | 4 | ##-- preqrequistes (for PREREQ_PM) |
5 | 5 | my %prereq = ( |
6 | 'PDL' => 0, #'2.4.2', | |
6 | 'PDL' => '2.019', | |
7 | 7 | 'PDL::VectorValued' => '1.0.4', |
8 | 8 | 'Test::More' => 0, |
9 | 9 | 'File::Basename' => 0, |
46 | 46 | |
47 | 47 | =head1 COPYRIGHT |
48 | 48 | |
49 | Copyright (c) 2005-2021 by Bryan Jurish. All rights reserved. | |
49 | Copyright (c) 2005-2022 by Bryan Jurish. All rights reserved. | |
50 | 50 | |
51 | 51 | This package is free software, and entirely without warranty. |
52 | 52 | You may redistribute it and/or modify it under the same terms |
36 | 36 | Bryan Jurish <moocow@cpan.org> |
37 | 37 | |
38 | 38 | COPYRIGHT |
39 | Copyright (c) 2005-2021 by Bryan Jurish. All rights reserved. | |
39 | Copyright (c) 2005-2022 by Bryan Jurish. All rights reserved. | |
40 | 40 | |
41 | 41 | This package is free software, and entirely without warranty. You may |
42 | 42 | redistribute it and/or modify it under the same terms as Perl itself. |
30 | 30 | use ExtUtils::Manifest qw(); |
31 | 31 | use Cwd qw(cwd abs_path); |
32 | 32 | use File::Basename qw(dirname basename); |
33 | use PDL::Core::Dev; | |
33 | 34 | use strict; |
34 | 35 | |
35 | 36 | ##---------------------------------------------------------------------- |
152 | 153 | *MY::special_targets = $special_targets; |
153 | 154 | |
154 | 155 | ##---------------------------- |
156 | ## PDL v2.058 package parameters $callpack,$multi_c | |
157 | $package = [@$package, undef, 1] | |
158 | if (@{$package||[]} == 3 && version->parse($PDL::VERSION) >= version->parse('2.058')); | |
159 | ||
160 | ##---------------------------- | |
155 | 161 | ## postamble() |
156 | 162 | ## + add pdlpp postamble if available |
157 | 163 | my $postamble0 = MY->can('postamble') || sub {''}; |