MinaMourice / AsuMathLabG14

2 stars 1 forks source link

support some operators #12

Closed BeshoyAnwar closed 6 years ago

BeshoyAnwar commented 6 years ago

operators prototypes and its description as following: CMatrix operator==(const CMatrix& m); / Return matrix contain condition to check if each element in this is equal to the corresponding element in m / CMatrix operator!=(const CMatrix& m); / If not equal/ CMatrix operator<(const CMatrix& m); / If less than / CMatrix operator<=(const CMatrix& m); / If less than or equal / CMatrix operator>(const CMatrix& m); / If larger than / CMatrix operator>=(const CMatrix& m); / If larger than or equal / CMatrix operator(const CMatrix& m); / Left Divide opeartor / CMatrix operator\=(const CMatrix& m); / left divide and update the value of this operator / CMatrix operator&(const CMatrix& m); / Element by element anding / CMatrix operator|(const CMatrix& m); / Element by element oring / CMatrix operator~(const CMatrix& m); / Element by element complement /