Files GPLv3 headers removed
[polylib.git] / include / polylib / Matop.h
blobbed779e96d5c4c54ade1905a93c4016152ae72fb
1 #ifndef _Matop_h_
2 #define _Matop_h_
4 #if defined(__cplusplus)
5 extern "C" {
6 #endif
8 /* computes c = lcm(a,b) using Gcd(a,b,&c) */
9 extern void Lcm3(Value a, Value b, Value *c);
10 extern Matrix *AddANullColumn ( Matrix *M );
11 extern Matrix *AddANullRow ( Matrix *M );
12 extern void ExchangeColumns ( Matrix *M, int Column1, int Column2 );
13 extern void ExchangeRows ( Matrix *M, int Row1, int Row2 );
14 extern int findHermiteBasis ( Matrix *M, Matrix **Result );
15 extern Matrix *Identity ( unsigned size );
16 extern Bool isinHnf ( Matrix *A );
17 extern Bool isIntegral ( Matrix *A );
18 extern Value *Lcm (Value i, Value j);
19 extern Matrix *Matrix_Copy(Matrix const *Src);
20 extern void PutColumnFirst ( Matrix *X, int Columnnumber );
21 extern void PutColumnLast ( Matrix *X, int Columnnumber );
22 extern void PutRowFirst ( Matrix *X, int Rownumber );
23 extern void PutRowLast ( Matrix *X, int Rownumber );
24 extern Matrix *RemoveNColumns ( Matrix *M, int FirstColumnnumber, int NumColumns );
25 extern Matrix *RemoveColumn ( Matrix *M, int Columnnumber );
26 extern Matrix *RemoveRow ( Matrix *M, int Rownumber );
27 extern Matrix *Transpose ( Matrix *A );
29 #if defined(__cplusplus)
31 #endif
33 #endif /* _Matop_h_ */