Ignore:
Timestamp:
Apr 12, 2013, 3:33:42 PM (11 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
b79b580d0846a3639786db7a3baa5fe8d310d405
Parents:
b893eca84785476ae5b07f46b47978cbfb2d1b24
git-author:
Martin Lee <martinlee84@web.de>2013-04-12 15:33:42+02:00
git-committer:
Martin Lee <martinlee84@web.de>2013-05-02 11:42:36+02:00
Message:
chg: added more functions to templates
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/templates/ftmpl_afactor.cc

    rb893ec r102a88e  
    1313    }
    1414    return *this;
     15}
     16
     17template <class T>
     18int operator== ( const AFactor<T> &f1, const AFactor<T> &f2 )
     19{
     20    return (f1.exp() == f2.exp()) && (f1.factor() == f2.factor()) && (f1.minpoly() == f2.minpoly()); //minpoly comparision may not be enough but checking the fields they define are equal
    1521}
    1622
Note: See TracChangeset for help on using the changeset viewer.