![]() |
My Project
|
#include "coeffs/coeffs.h"
Go to the source code of this file.
Data Structures | |
class | bigintmat |
Matrices of numbers. More... | |
Macros | |
#define | BIMATELEM(M, I, J) |
Functions | |
bool | operator== (const bigintmat &lhr, const bigintmat &rhr) |
bool | operator!= (const bigintmat &lhr, const bigintmat &rhr) |
bigintmat * | bimAdd (bigintmat *a, bigintmat *b) |
Matrix-Add/-Sub/-Mult so oder mit operator+/-/* ? @Note: NULL as a result means an error (non-compatible matrices?) | |
bigintmat * | bimAdd (bigintmat *a, long b) |
bigintmat * | bimSub (bigintmat *a, bigintmat *b) |
bigintmat * | bimSub (bigintmat *a, long b) |
bigintmat * | bimMult (bigintmat *a, bigintmat *b) |
bigintmat * | bimMult (bigintmat *a, long b) |
bigintmat * | bimMult (bigintmat *a, number b, const coeffs cf) |
bigintmat * | bimCopy (const bigintmat *b) |
same as copy constructor - apart from it being able to accept NULL as input | |
intvec * | bim2iv (bigintmat *b) |
bigintmat * | iv2bim (intvec *b, const coeffs C) |
bigintmat * | bimChangeCoeff (bigintmat *a, coeffs cnew) |
Liefert Kopier von Matrix a zurück, mit coeffs cnew statt den ursprünglichen. | |
void | bimMult (bigintmat *a, bigintmat *b, bigintmat *c) |
Multipliziert Matrix a und b und speichert Ergebnis in c. | |
number | solveAx (bigintmat *A, bigintmat *b, bigintmat *x) |
solve Ax=b*d. x needs to be pre-allocated to the same number of columns as b. the minimal denominator d is returned. Currently available for Z, Q and Z/nZ (and possibly for all fields: d=1 there) Beware that the internal functions can find the kernel as well - but the interface is lacking. | |
int | kernbase (bigintmat *a, bigintmat *c, number p, coeffs q) |
a basis for the nullspace of a mod p: only used internally in Round2. Don't use it. | |
bool | nCoeffs_are_equal (coeffs r, coeffs s) |
void | diagonalForm (bigintmat *a, bigintmat **b, bigintmat **c) |
#define BIMATELEM | ( | M, | |
I, | |||
J ) |
Definition at line 133 of file bigintmat.h.
Definition at line 339 of file bigintmat.cc.
Matrix-Add/-Sub/-Mult so oder mit operator+/-/* ? @Note: NULL as a result means an error (non-compatible matrices?)
Definition at line 180 of file bigintmat.cc.
Definition at line 197 of file bigintmat.cc.
Liefert Kopier von Matrix a zurück, mit coeffs cnew statt den ursprünglichen.
Definition at line 1797 of file bigintmat.cc.
Definition at line 253 of file bigintmat.cc.
Multipliziert Matrix a und b und speichert Ergebnis in c.
Definition at line 1922 of file bigintmat.cc.
Definition at line 299 of file bigintmat.cc.
Definition at line 318 of file bigintmat.cc.
Definition at line 216 of file bigintmat.cc.
Definition at line 234 of file bigintmat.cc.
Definition at line 2461 of file bigintmat.cc.
a basis for the nullspace of a mod p: only used internally in Round2. Don't use it.
Definition at line 2585 of file bigintmat.cc.
Definition at line 2629 of file bigintmat.cc.
Definition at line 174 of file bigintmat.cc.
Definition at line 157 of file bigintmat.cc.
solve Ax=b*d. x needs to be pre-allocated to the same number of columns as b. the minimal denominator d is returned. Currently available for Z, Q and Z/nZ (and possibly for all fields: d=1 there) Beware that the internal functions can find the kernel as well - but the interface is lacking.
Definition at line 2418 of file bigintmat.cc.