ifactor.h
3.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
// -*- mode:C++ -*-
/*
* Copyright (C) 2000,2014 B. Parisse, Institut Fourier, 38402 St Martin d'Heres
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _GIAC_IFACTOR_H_
#define _GIAC_IFACTOR_H_
#include "first.h"
#include "global.h"
#include "gen.h"
#include "unary.h"
#include "symbolic.h"
#include "identificateur.h"
#ifndef NO_NAMESPACE_GIAC
namespace giac {
#endif // ndef NO_NAMESPACE_GIAC
extern const short int giac_primes[];
gen _ithprime(const gen & args,GIAC_CONTEXT);
gen _ifactors(const gen & args,GIAC_CONTEXT);
gen _maple_ifactors(const gen & args,GIAC_CONTEXT);
symbolic symb_ifactor(const gen & args);
vecteur ifactors(const gen & n0,GIAC_CONTEXT);
gen ifactors(const gen & args,int maplemode,GIAC_CONTEXT);
extern const unary_function_ptr * const at_ifactors;
extern const unary_function_ptr * const at_maple_ifactors;
extern const unary_function_ptr * const at_nprimes;
vecteur factors(const gen & g,const gen & x,GIAC_CONTEXT);
extern const unary_function_ptr * const at_factors;
gen _factors(const gen & args,GIAC_CONTEXT);
gen _divis(const gen & args,GIAC_CONTEXT);
extern const unary_function_ptr * const at_divis ;
gen idivis(const gen & n,GIAC_CONTEXT);
gen _idivis(const gen & args,GIAC_CONTEXT);
extern const unary_function_ptr * const at_idivis ;
int modulo(const mpz_t & a,unsigned b);
vecteur pfacprem(gen & n,bool addlast,GIAC_CONTEXT);
gen ifactor(const gen & n,GIAC_CONTEXT);
gen _ifactor(const gen & args,GIAC_CONTEXT);
extern const unary_function_ptr * const at_ifactor ;
gen euler(const gen & e,GIAC_CONTEXT);
gen _euler(const gen & args,GIAC_CONTEXT);
extern const unary_function_ptr * const at_euler;
gen pa2b2(const gen & p,GIAC_CONTEXT);
gen _pa2b2(const gen & args,GIAC_CONTEXT);
extern const unary_function_ptr * const at_pa2b2 ;
gen _propfrac(const gen & args,GIAC_CONTEXT);
extern const unary_function_ptr * const at_propfrac ;
gen iabcuv(const gen & a,const gen & b,const gen & c,GIAC_CONTEXT0);
gen _iabcuv(const gen & args,GIAC_CONTEXT);
extern const unary_function_ptr * const at_iabcuv ;
void step_egcd(int a,int b,GIAC_CONTEXT);
gen abcuv(const gen & a,const gen & b,const gen & c,const gen & x,GIAC_CONTEXT);
gen _abcuv(const gen & args,GIAC_CONTEXT);
extern const unary_function_ptr * const at_abcuv ;
gen simp2(const gen & a,const gen & b,GIAC_CONTEXT);
gen _simp2(const gen & args,GIAC_CONTEXT);
extern const unary_function_ptr * const at_simp2 ;
gen fxnd(const gen & a);
gen _fxnd(const gen & args,GIAC_CONTEXT);
extern const unary_function_ptr * const at_fxnd ;
extern const unary_function_ptr * const at_ithprime ;
#ifndef NO_NAMESPACE_GIAC
} // namespace giac
#endif // NO_NAMESPACE_GIAC
#endif // _GIAC_IFACTOR_H