Dense complex matrix class This class defines a matrix object with its methods, operators and operations.
More...
Public Member Functions |
| | matrix () |
| | Create an empty matrix.
|
| | matrix (int) |
| | Creates a square matrix.
|
| | matrix (int, int) |
| | matrix (const matrix &) |
| const matrix & | operator= (const matrix &) |
| | Assignment operator.
|
| | ~matrix () |
| nr_complex_t | get (int, int) |
| | Returns the matrix element at the given row and column.
|
| void | set (int, int, nr_complex_t) |
| | Sets the matrix element at the given row and column.
|
| int | getCols (void) |
| int | getRows (void) |
| nr_complex_t * | getData (void) |
| void | print (void) |
| void | exchangeRows (int, int) |
| | The function swaps the given rows with each other.
|
| void | exchangeCols (int, int) |
| | The function swaps the given column with each other.
|
| matrix | operator- () |
| | Unary minus.
|
| matrix | operator+= (matrix) |
| | Intrinsic matrix addition.
|
| matrix | operator-= (matrix) |
| | Intrinsic matrix subtraction.
|
| nr_complex_t | operator() (int r, int c) const |
| | Read access operator.
|
| nr_complex_t & | operator() (int r, int c) |
| | Write access operator.
|
Private Attributes |
| int | cols |
| int | rows |
| nr_complex_t * | data |
Friends |
| matrix | operator+ (matrix, matrix) |
| matrix | operator+ (nr_complex_t, matrix) |
| matrix | operator+ (matrix, nr_complex_t) |
| matrix | operator+ (nr_double_t, matrix) |
| matrix | operator+ (matrix, nr_double_t) |
| matrix | operator- (matrix, matrix) |
| matrix | operator- (nr_complex_t, matrix) |
| matrix | operator- (matrix, nr_complex_t) |
| matrix | operator- (nr_double_t, matrix) |
| matrix | operator- (matrix, nr_double_t) |
| matrix | operator/ (matrix, nr_complex_t) |
| matrix | operator/ (matrix, nr_double_t) |
| matrix | operator* (nr_complex_t, matrix) |
| matrix | operator* (matrix, nr_complex_t) |
| matrix | operator* (nr_double_t, matrix) |
| matrix | operator* (matrix, nr_double_t) |
| matrix | operator* (matrix, matrix) |
| matrix | transpose (matrix) |
| matrix | conj (matrix) |
| matrix | abs (matrix) |
| matrix | dB (matrix) |
| matrix | arg (matrix) |
| matrix | adjoint (matrix) |
| matrix | real (matrix) |
| matrix | imag (matrix) |
| matrix | sqr (matrix) |
| matrix | eye (int, int) |
| | Create identity matrix with specified number of rows and columns.
|
| matrix | diagonal (qucs::vector) |
| | Create a diagonal matrix from a vector.
|
| matrix | pow (matrix, int) |
| nr_complex_t | cofactor (matrix, int, int) |
| nr_complex_t | detLaplace (matrix) |
| nr_complex_t | detGauss (matrix) |
| nr_complex_t | det (matrix) |
| matrix | inverseLaplace (matrix) |
| matrix | inverseGaussJordan (matrix) |
| matrix | inverse (matrix) |
| matrix | stos (matrix, nr_complex_t, nr_complex_t) |
| matrix | stos (matrix, nr_double_t, nr_double_t) |
| matrix | stos (matrix, qucs::vector, nr_complex_t) |
| matrix | stos (matrix, nr_complex_t, qucs::vector) |
| matrix | stos (matrix, qucs::vector, qucs::vector) |
| matrix | stoz (matrix, nr_complex_t) |
| matrix | stoz (matrix, qucs::vector) |
| matrix | ztos (matrix, nr_complex_t) |
| matrix | ztos (matrix, qucs::vector) |
| matrix | ztoy (matrix) |
| matrix | stoy (matrix, nr_complex_t) |
| matrix | stoy (matrix, qucs::vector) |
| matrix | ytos (matrix, nr_complex_t) |
| matrix | ytos (matrix, qucs::vector) |
| matrix | ytoz (matrix) |
| matrix | stoa (matrix, nr_complex_t, nr_complex_t) |
| matrix | atos (matrix, nr_complex_t, nr_complex_t) |
| matrix | stoh (matrix, nr_complex_t, nr_complex_t) |
| matrix | htos (matrix, nr_complex_t, nr_complex_t) |
| matrix | stog (matrix, nr_complex_t, nr_complex_t) |
| matrix | gtos (matrix, nr_complex_t, nr_complex_t) |
| matrix | cytocs (matrix, matrix) |
| matrix | cztocs (matrix, matrix) |
| matrix | cztocy (matrix, matrix) |
| matrix | cstocy (matrix, matrix) |
| matrix | cytocz (matrix, matrix) |
| matrix | cstocz (matrix, matrix) |
| matrix | twoport (matrix, char, char) |
| nr_double_t | rollet (matrix) |
| nr_double_t | b1 (matrix) |
| matrix | rad2deg (matrix) |
| matrix | deg2rad (matrix) |
Dense complex matrix class This class defines a matrix object with its methods, operators and operations.
Definition at line 95 of file matrix.h.