Hi Ingo-

See the part in PDL::PP on GenericTypes:

        voidmyfunc(int  n,float*v1,long*v2);

        pp_def('myfunc',
                Pars=>  'float a(n); long [o]b(n);',
                GenericTypes=>  ['F'],
                Code=>  'myfunc($SIZE(n),$P(a),$P(b));'
        ); Cheers, Chris



On 11/9/2015 06:10, Ingo Schmid wrote:
Hi,

how can I limit generation of functions using PP to, let's say, float or double?

Ingo


------------------------------------------------------------------------------
Presto, an open source distributed SQL query engine for big data, initially
developed by Facebook, enables you to easily query your data on Hadoop in a
more interactive manner. Teradata is also now providing full enterprise
support for Presto. Download a free open source copy now.
http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140


_______________________________________________
pdl-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdl-general

------------------------------------------------------------------------------
Presto, an open source distributed SQL query engine for big data, initially
developed by Facebook, enables you to easily query your data on Hadoop in a 
more interactive manner. Teradata is also now providing full enterprise
support for Presto. Download a free open source copy now.
http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140
_______________________________________________
pdl-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdl-general

Reply via email to