File: [local] / OpenXM / src / ox_ntl / ntl.h (download)
Revision 1.2, Sat Nov 8 12:34:00 2003 UTC (20 years, 6 months ago) by iwane
Branch: MAIN
Changes since 1.1: +14 -1
lines
added signal handler - SIGUSR1
move stack functions oxserv.c ==> oxstack.c
oxserv.h ==> oxstack.h
move convert functions ntl.cpp ==> ntlconv.cpp
|
/* $OpenXM: OpenXM/src/ox_ntl/ntl.h,v 1.2 2003/11/08 12:34:00 iwane Exp $ */
#ifndef __NTL_H__
#define __NTL_H__
#include <NTL/ZZXFactoring.h>
#include "ox_toolkit.h"
#define NTL_FAILURE (-1)
#define NTL_SUCCESS ( 0)
/*===========================================================================*
* CONVERT
*===========================================================================*/
cmo_zz *ZZ_to_cmo_zz (const ZZ &);
int cmo_to_ZZ (ZZ &, cmo *);
int cmo_to_ZZX (ZZX &, cmo *, cmo_indeterminate *&);
cmo_recursive_polynomial *ZZX_to_cmo (ZZX &, cmo_indeterminate *);
cmo_list *ZZX_int_to_cmo (ZZX &, int d, cmo_indeterminate *);
cmo_list *vec_pair_ZZX_long_to_cmo (vec_pair_ZZX_long &, cmo_indeterminate *);
/*===========================================================================*
* NTL
*===========================================================================*/
cmo *ntl_fctr (cmo **, int);
#endif /* !__NTL_H__*/