Changeset ec9db9 in git for Singular/minpoly.h


Ignore:
Timestamp:
May 24, 2011, 5:35:16 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
0415f923fdb78a69504a400113e65cd371cb2150
Parents:
db33b222f62ceda81505d77c37cc004904d921ba
Message:
attempt to fix some issues with minpoly.cc

git-svn-id: file:///usr/local/Singular/svn/trunk@14240 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/minpoly.h

    rdb33b2 rec9db9  
    6767#define MINPOLY_H
    6868
    69 #include<iostream>
     69//#include<iostream>
    7070
    7171class NewVectorMatrix;
     
    8888    // Note: there is no need to reinitalize the matrix and vectors!
    8989    void resetMatrix();
    90    
     90
    9191
    9292    // return the first nonzero entry in row (only the first n entries are checked,
     
    9999
    100100    void normalizeTmp(unsigned i);
    101            
     101
    102102    bool findLinearDependency(unsigned long* newRow, unsigned long* dep);
    103103
    104     friend std::ostream& operator<<(std::ostream& out, const LinearDependencyMatrix& mat);
     104   //friend std::ostream& operator<<(std::ostream& out, const LinearDependencyMatrix& mat);
    105105};
    106106
     
    119119    NewVectorMatrix(unsigned n, unsigned long p);
    120120    ~NewVectorMatrix();
    121    
     121
    122122    // return the first nonzero entry in row (only the first n entries are checked,
    123123    // regardless of the size, since we will also apply this for rows with
     
    137137    int findSmallestNonpivot();
    138138};
    139                
     139
    140140
    141141// compute the minimal polynomial of matrix \in \F_p^{n \times n}.
     
    174174
    175175
    176 // NOTE: since we don't know the size of result (the list can be longer than the degree of the polynomial), 
     176// NOTE: since we don't know the size of result (the list can be longer than the degree of the polynomial),
    177177// every entry has to be preinitialized to zero!
    178178void mult(unsigned long* result, unsigned long* a, unsigned long* b, unsigned long p, int dega, int degb);
Note: See TracChangeset for help on using the changeset viewer.