Changeset cfaf16 in git for Singular/svd
- Timestamp:
- Nov 3, 2017, 4:16:00 PM (7 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
- Children:
- c6e446fa33d72d4eb037ca712dfdec6a28c5914d
- Parents:
- dbb26818e03a9b85b6dd00922db4fdd7c008f44b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/svd/libs/ap.cpp
rdbb268 rcfaf16 8 8 // ap::complex operations 9 9 // 10 constbool ap::operator==(const ap::complex& lhs, const ap::complex& rhs)10 bool ap::operator==(const ap::complex& lhs, const ap::complex& rhs) 11 11 { return lhs.x==rhs.x && lhs.y==rhs.y; } 12 12 13 constbool ap::operator!=(const ap::complex& lhs, const ap::complex& rhs)13 bool ap::operator!=(const ap::complex& lhs, const ap::complex& rhs) 14 14 { return lhs.x!=rhs.x || lhs.y!=rhs.y; } 15 15 … … 94 94 { return ap::complex(lhs.x/rhs, lhs.y/rhs); } 95 95 96 constdouble ap::abscomplex(const ap::complex &z)96 double ap::abscomplex(const ap::complex &z) 97 97 { 98 98 double w;
Note: See TracChangeset
for help on using the changeset viewer.