MinaMourice / AsuMathLabG14

2 stars 1 forks source link

support dot,trigonometric and logarithmic operations on matrices #11

Closed BeshoyAnwar closed 6 years ago

BeshoyAnwar commented 6 years ago

The functions prototypes and its description as following: void dotMul(Const CMatrix& m); / (this) . m is multiple element by element as general result(i,j)=(this)(i,j)m(i,j) / void dotDiv(CMatrix& m); / is a dot divide operation as divide element by element / void dotPow(double d); / is a pow of each element to power of d / void lDiv(const CMatrix& m); / multiply of inverse(A)B and is called left div / void dotLDiv(const CMatrix& m); / Element by element multiply of inverse of this and m / friend CMatrix sin(const CMatrix& m); / Get sin for each element / friend CMatrix cos(const CMatrix& m); / Get cos for each element / friend CMatrix tan(const CMatrix& m); / Get tan for each element / friend CMatrix asin(const CMatrix& m); / Get sin-1 for each element / friend CMatrix acos(const CMatrix& m); / Get cos-1 for each element/ friend CMatrix atan(const CMatrix& m); / Get tan-1 for each element / friend CMatrix exp(const CMatrix& m); / Get expontial of each element / friend CMatrix log(const CMatrix& m); / Get the ln of each element / friend CMatrix log10(const CMatrix& m); / Get the log to base 10 of each element /