Changeset d2da42 in git for libpolys/polys/matpol.h


Ignore:
Timestamp:
Dec 6, 2018, 3:31:44 PM (5 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '38077648e7239f98078663eb941c3c979511150a')
Children:
757eac36df59510348bf034d6ebdc03389e843f8
Parents:
7d0c5307af92569d0d63f695cef1d0431f7d1b9f
Message:
add: mp_DetMu: determinant via mu algorithm
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/matpol.h

    r7d0c530 rd2da42  
    2626  #define MATROWS(i) ((i)->nrows)
    2727  #define MATCOLS(i) ((i)->ncols)
     28  /// 1-based access to matrix
    2829  #define MATELEM(mat,i,j) ((mat)->m)[MATCOLS((mat)) * ((i)-1) + (j)-1]
     30  /// 0-based access to matrix
     31  #define MATELEM0(mat,i,j) ((mat)->m)[MATCOLS((mat)) * (i) + (j)]
    2932};
    3033
     
    5760
    5861poly mp_DetBareiss (matrix a, const ring r);
     62poly mp_DetMu(matrix A, const ring R);
     63
    5964
    6065//matrix mp_Homogen(matrix a, int v, const ring r);
Note: See TracChangeset for help on using the changeset viewer.