gen(7);
11 |
12 | for (int i=0; i < atoi(argv[1]);i++){
13 | integer p = *gen;
14 | std::cout<
5 | *
6 | * ========LICENCE========
7 | * This file is part of the library LinBox.
8 | *
9 | * LinBox is free software: you can redistribute it and/or modify
10 | * it under the terms of the GNU Lesser General Public
11 | * License as published by the Free Software Foundation; either
12 | * version 2.1 of the License, or (at your option) any later version.
13 | du -h tes *
14 | * This library is distributed in the hope that it will be useful,
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 | * Lesser General Public License for more details.
18 | *
19 | * You should have received a copy of the GNU Lesser General Public
20 | * License along with this library; if not, write to the Free Software
21 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22 | * ========LICENCE========
23 | */
24 |
25 | #ifndef __LINBOX_lb_blackbox_abstract_H
26 | #define __LINBOX_lb_blackbox_abstract_H
27 |
28 | #include
29 | #include
30 |
31 |
32 | /********************************
33 | * Abstract object for Blackbox *
34 | ********************************/
35 | class BlackboxAbstract : public LinBoxBaseVisitable{
36 | public:
37 | virtual ~BlackboxAbstract(){};
38 | virtual BlackboxAbstract* clone() const =0;
39 | virtual void* getPtr() const =0;
40 | virtual const DomainKey& getDomainKey() const =0;
41 | virtual const char* info() const =0;
42 | virtual void rebind(const DomainKey&) =0;
43 | LINBOX_VISITABLE();
44 | };
45 |
46 |
47 |
48 |
49 | #endif
50 |
51 | // Local Variables:
52 | // mode: C++
53 | // tab-width: 4
54 | // indent-tabs-mode: nil
55 | // c-basic-offset: 4
56 | // End:
57 | // vim:sts=4:sw=4:ts=4:et:sr:cino=>s,f0,{0,g0,(0,\:0,t0,+0,=s
58 |
--------------------------------------------------------------------------------
/interfaces/driver/lb-blackbox-collection.h:
--------------------------------------------------------------------------------
1 | /* lb-blackbox-collection.h
2 | * Copyright (C) 2005 Pascal Giorgi
3 | *
4 | * Written by Pascal Giorgi
5 | *
6 | * ========LICENCE========
7 | * This file is part of the library LinBox.
8 | *
9 | * LinBox is free software: you can redistribute it and/or modify
10 | * it under the terms of the GNU Lesser General Public
11 | * License as published by the Free Software Foundation; either
12 | * version 2.1 of the License, or (at your option) any later version.
13 | du -h tes *
14 | * This library is distributed in the hope that it will be useful,
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 | * Lesser General Public License for more details.
18 | *
19 | * You should have received a copy of the GNU Lesser General Public
20 | * License along with this library; if not, write to the Free Software
21 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22 | * ========LICENCE========
23 | */
24 |
25 | #ifndef __LINBOX_lb_blackbox_collection_H
26 | #define __LINBOX_lb_blackbox_collection_H
27 |
28 | #include