TaPAS  0.2
saff.h
Go to the documentation of this file.
1 /*
2  * saff.h -- Semi-affine spaces
3  *
4  * This file is a part of the Talence Linear Algebra Library.
5  *
6  * Copyright (C) 2010 CNRS UMR 5800 & Université Bordeaux I (see AUTHORS file).
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21  * 02110-1301 USA
22  */
23 
29 #ifndef __SAFF_H__
30 # define __SAFF_H__
31 
32 # include <talalib/vsp.h>
33 
34 BEGIN_C_DECLS
35 
36 typedef struct tla_saff_st {
37  int m;
38  int size;
39  tla_vsp_t *V;
40 } tla_saff_t[1];
41 
42 extern void
43 tla_saff_init(tla_saff_t saff, int m);
44 extern void
45 tla_saff_clear(tla_saff_t saff);
46 extern void
47 tla_saff_set(tla_saff_t res, const tla_saff_t other);
48 extern void
49 tla_saff_add_vsp(tla_saff_t res, const tla_saff_t saff, const tla_vsp_t V);
50 extern void
51 tla_saff_union (tla_saff_t res, const tla_saff_t saff, const tla_saff_t other);
52 
53 END_C_DECLS
54 
55 #endif /* ! __SAFF_H__ */