#include <Matrix.h>
Definition at line 4409 of file Matrix.h.
Public Member Functions | |
| Element (MTX &mtx) | |
| The only constructor binds the reference to the deep level matrix. The row and column members are set later. | |
| virtual | ~Element () |
| The destructor. | |
| const double | real () |
| Get the real part. | |
| const double | imag () |
| Get the imaginary part. | |
| const Element & | operator= (double v) |
| The operator overload for setting the matrix element from a double. | |
| const Element & | operator= (std::complex< double > v) |
| The operator overload for setting the matrix element from a std::complex. | |
| const Element & | operator= (Element v) |
| The operator overload for setting the matrix element from another the matrix element. | |
| operator const std::complex< double > () const | |
| This operator allows explict conversion to a std::complex. | |
| void | operator+= (const double scalar) |
| Add a scalar inplace. | |
| void | operator+= (const std::complex< double > &v) |
| Add a complex value inplace. | |
| void | operator+= (const Element &v) |
| Add a Element inplace. | |
| void | operator-= (const double scalar) |
| Subtract a scalar inplace. | |
| void | operator-= (const std::complex< double > &v) |
| Subtract a complex value inplace. | |
| void | operator-= (const Element &v) |
| Subtract a Element inplace. | |
| void | operator *= (const double scalar) |
| Multiply a scalar inplace. | |
| void | operator *= (const std::complex< double > &v) |
| Multiply a complex value inplace. | |
| void | operator *= (const Element &v) |
| Multiply a Element inplace. | |
| void | operator/= (const double scalar) |
| Divide a scalar inplace. | |
| void | operator/= (const std::complex< double > &v) |
| Divide a complex value inplace. | |
| void | operator/= (const Element &v) |
| Divide a Element inplace. | |
Friends | |
| class | Matrix |
| The matrix class is a friend. | |
| const std::complex< double > | operator+ (const Element &m, double scalar) |
| The operator overload for adding a double to an element. | |
| const std::complex< double > | operator+ (const Element &a, const Element &b) |
| The operator overload for adding an element to an element. | |
| const std::complex< double > | operator+ (const Element &a, const std::complex< double > &b) |
| The operator overload for adding an element to an complex. | |
| const std::complex< double > | operator+ (double scalar, const Element &m) |
| The operator overload for adding an element and a double. | |
| const std::complex< double > | operator+ (const std::complex< double > &b, const Element &a) |
| The operator overload for adding a complex and an element. | |
| const std::complex< double > | operator- (const Element &m, double scalar) |
| The operator overload for subtracting a double from an element. | |
| const std::complex< double > | operator- (const Element &a, const Element &b) |
| The operator overload for subtracting an element from an element. | |
| const std::complex< double > | operator- (const Element &a, const std::complex< double > &b) |
| The operator overload for subtracting an complex from an element. | |
| const std::complex< double > | operator- (double scalar, const Element &m) |
| The operator overload for subtracting an element from a double. | |
| const std::complex< double > | operator- (const std::complex< double > &b, const Element &a) |
| The operator overload for subtracting an element from a complex. | |
| const std::complex< double > | operator * (const Element &m, double scalar) |
| The operator overload for multiplying an element and a double. | |
| const std::complex< double > | operator * (const Element &a, const Element &b) |
| The operator overload for multiplying an element and an element. | |
| const std::complex< double > | operator * (const Element &a, const std::complex< double > &b) |
| The operator overload for multiplying an element and a complex. | |
| const std::complex< double > | operator * (double scalar, const Element &m) |
| The operator overload for multiplying a double and an element. | |
| const std::complex< double > | operator * (const std::complex< double > &b, const Element &a) |
| The operator overload for multiplying a complex and an element. | |
| const std::complex< double > | operator/ (const Element &m, double scalar) |
| The operator overload for dividing an element by a double. | |
| const std::complex< double > | operator/ (const Element &a, const Element &b) |
| The operator overload for dividing an element by an element. | |
| const std::complex< double > | operator/ (const Element &a, const std::complex< double > &b) |
| The operator overload for dividing an element by an complex. | |
| const std::complex< double > | operator/ (double scalar, const Element &m) |
| The operator overload for dividing a double by an element. | |
| const std::complex< double > | operator/ (const std::complex< double > &b, const Element &a) |
| The operator overload for dividing a complex by an element. | |
| const bool | operator== (const Element &m, double scalar) |
| The operator overload for testing equality between an element and a double. | |
| const bool | operator== (const Element &a, const Element &b) |
| The operator overload for testing equality between an element and an element. | |
| const bool | operator== (const Element &a, const std::complex< double > &b) |
| The operator overload for testing equality between an element and a complex. | |
| const bool | operator== (double scalar, const Element &m) |
| The operator overload for testing equality between a double and an element. | |
| const bool | operator== (const std::complex< double > &b, const Element &a) |
| The operator overload for testing equality between a complex and an element. | |
| Zenautics::Matrix::Element::Element | ( | MTX & | mtx | ) |
The only constructor binds the reference to the deep level matrix. The row and column members are set later.
Definition at line 4105 of file Matrix.cpp.
| Zenautics::Matrix::Element::~Element | ( | ) | [virtual] |
| const double Zenautics::Matrix::Element::real | ( | ) |
| const double Zenautics::Matrix::Element::imag | ( | ) |
| const Matrix::Element & Zenautics::Matrix::Element::operator= | ( | double | v | ) |
The operator overload for setting the matrix element from a double.
Definition at line 4139 of file Matrix.cpp.
| const Matrix::Element & Zenautics::Matrix::Element::operator= | ( | std::complex< double > | v | ) |
The operator overload for setting the matrix element from a std::complex.
Definition at line 4153 of file Matrix.cpp.
| const Matrix::Element & Zenautics::Matrix::Element::operator= | ( | Element | v | ) |
The operator overload for setting the matrix element from another the matrix element.
Definition at line 4178 of file Matrix.cpp.
| Zenautics::Matrix::Element::operator const std::complex< double > | ( | ) | const |
This operator allows explict conversion to a std::complex.
Definition at line 4212 of file Matrix.cpp.
| void Zenautics::Matrix::Element::operator+= | ( | const double | scalar | ) |
| void Zenautics::Matrix::Element::operator+= | ( | const std::complex< double > & | v | ) |
| void Zenautics::Matrix::Element::operator+= | ( | const Element & | v | ) |
| void Zenautics::Matrix::Element::operator-= | ( | const double | scalar | ) |
| void Zenautics::Matrix::Element::operator-= | ( | const std::complex< double > & | v | ) |
| void Zenautics::Matrix::Element::operator-= | ( | const Element & | v | ) |
| void Zenautics::Matrix::Element::operator *= | ( | const double | scalar | ) |
| void Zenautics::Matrix::Element::operator *= | ( | const std::complex< double > & | v | ) |
| void Zenautics::Matrix::Element::operator *= | ( | const Element & | v | ) |
| void Zenautics::Matrix::Element::operator/= | ( | const double | scalar | ) |
| void Zenautics::Matrix::Element::operator/= | ( | const std::complex< double > & | v | ) |
| void Zenautics::Matrix::Element::operator/= | ( | const Element & | v | ) |
friend class Matrix [friend] |
| const std::complex<double> operator+ | ( | const Element & | m, | |
| double | scalar | |||
| ) | [friend] |
The operator overload for adding a double to an element.
Definition at line 4441 of file Matrix.cpp.
The operator overload for adding an element to an element.
Definition at line 4450 of file Matrix.cpp.
| const std::complex<double> operator+ | ( | const Element & | a, | |
| const std::complex< double > & | b | |||
| ) | [friend] |
The operator overload for adding an element to an complex.
Definition at line 4461 of file Matrix.cpp.
| const std::complex<double> operator+ | ( | double | scalar, | |
| const Element & | m | |||
| ) | [friend] |
The operator overload for adding an element and a double.
Definition at line 4470 of file Matrix.cpp.
| const std::complex<double> operator+ | ( | const std::complex< double > & | b, | |
| const Element & | a | |||
| ) | [friend] |
The operator overload for adding a complex and an element.
Definition at line 4477 of file Matrix.cpp.
| const std::complex<double> operator- | ( | const Element & | m, | |
| double | scalar | |||
| ) | [friend] |
The operator overload for subtracting a double from an element.
Definition at line 4484 of file Matrix.cpp.
The operator overload for subtracting an element from an element.
Definition at line 4493 of file Matrix.cpp.
| const std::complex<double> operator- | ( | const Element & | a, | |
| const std::complex< double > & | b | |||
| ) | [friend] |
The operator overload for subtracting an complex from an element.
Definition at line 4504 of file Matrix.cpp.
| const std::complex<double> operator- | ( | double | scalar, | |
| const Element & | m | |||
| ) | [friend] |
The operator overload for subtracting an element from a double.
Definition at line 4513 of file Matrix.cpp.
| const std::complex<double> operator- | ( | const std::complex< double > & | b, | |
| const Element & | a | |||
| ) | [friend] |
The operator overload for subtracting an element from a complex.
Definition at line 4520 of file Matrix.cpp.
| const std::complex<double> operator * | ( | const Element & | m, | |
| double | scalar | |||
| ) | [friend] |
The operator overload for multiplying an element and a double.
Definition at line 4529 of file Matrix.cpp.
The operator overload for multiplying an element and an element.
Definition at line 4538 of file Matrix.cpp.
| const std::complex<double> operator * | ( | const Element & | a, | |
| const std::complex< double > & | b | |||
| ) | [friend] |
The operator overload for multiplying an element and a complex.
Definition at line 4549 of file Matrix.cpp.
| const std::complex<double> operator * | ( | double | scalar, | |
| const Element & | m | |||
| ) | [friend] |
The operator overload for multiplying a double and an element.
Definition at line 4558 of file Matrix.cpp.
| const std::complex<double> operator * | ( | const std::complex< double > & | b, | |
| const Element & | a | |||
| ) | [friend] |
The operator overload for multiplying a complex and an element.
Definition at line 4564 of file Matrix.cpp.
| const std::complex<double> operator/ | ( | const Element & | m, | |
| double | scalar | |||
| ) | [friend] |
The operator overload for dividing an element by a double.
Definition at line 4571 of file Matrix.cpp.
The operator overload for dividing an element by an element.
Definition at line 4580 of file Matrix.cpp.
| const std::complex<double> operator/ | ( | const Element & | a, | |
| const std::complex< double > & | b | |||
| ) | [friend] |
The operator overload for dividing an element by an complex.
Definition at line 4591 of file Matrix.cpp.
| const std::complex<double> operator/ | ( | double | scalar, | |
| const Element & | m | |||
| ) | [friend] |
The operator overload for dividing a double by an element.
Definition at line 4600 of file Matrix.cpp.
| const std::complex<double> operator/ | ( | const std::complex< double > & | b, | |
| const Element & | a | |||
| ) | [friend] |
The operator overload for dividing a complex by an element.
Definition at line 4608 of file Matrix.cpp.
| const bool operator== | ( | const Element & | m, | |
| double | scalar | |||
| ) | [friend] |
The operator overload for testing equality between an element and a double.
Definition at line 4617 of file Matrix.cpp.
The operator overload for testing equality between an element and an element.
Definition at line 4638 of file Matrix.cpp.
| const bool operator== | ( | const Element & | a, | |
| const std::complex< double > & | b | |||
| ) | [friend] |
The operator overload for testing equality between an element and a complex.
Definition at line 4682 of file Matrix.cpp.
| const bool operator== | ( | double | scalar, | |
| const Element & | m | |||
| ) | [friend] |
The operator overload for testing equality between a double and an element.
Definition at line 4703 of file Matrix.cpp.
| const bool operator== | ( | const std::complex< double > & | b, | |
| const Element & | a | |||
| ) | [friend] |
The operator overload for testing equality between a complex and an element.
Definition at line 4709 of file Matrix.cpp.
1.5.4