AI-LibNeural

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

(http://ieee.uow.edu.au/~daniel/software/libneural/ or search for libneural on
freshmeat.net.) libneural is a simple, but useful, backpropagation neural
network. It isn't packed with features or a speed demon, but it works and it's
easy to learn how to use.

INSTALLATION

> perl Makefile.PL
or 
> perl Makefile.PL PREFIX=/some/non/system/place
(then setting PERL5LIB as appropriate based on ^ is a good ideal)
ignore the warnings about CC and LD being unknown parameters, then
> make all test install

Provided that everything goes well this should build the module, test it out,
and install it. If you encounter problems try e-mailing the author with as
much detail as possible. System type, os version, perl version, libneural
version, cpp compiler, script of the failing Makefile creation and compile
process.

USE

typemap  view on Meta::CPAN

#

TYPEMAP
float		T_NV
float *		T_PV
nnwork *	O_OBJECT

OUTPUT

O_OBJECT
	sv_setref_pv( $arg, CLASS, (void*)$var );

INPUT

O_OBJECT
	if( sv_isobject($arg) && (SvTYPE(SvRV($arg)) == SVt_PVMG) )
		$var = ($type)SvIV((SV*)SvRV( $arg ));
	else{
		warn( \"${Package}::$func_name() -- $var is not a blessed SV reference\" );
		XSRETURN_UNDEF;
	}



( run in 0.586 second using v1.01-cache-2.11-cpan-49f99fa48dc )