#include <matrix_template.hpp>
|
| int | cols |
| | The number of columns. More...
|
| |
| ComplexType * | data |
| | pointer to the stored data More...
|
| |
| int | rows |
| | The number of rows. More...
|
| |
| int | stride |
| | The column stride of the array. (The array elements in one row are a_0, a_1, ... a_{cols-1}, 0, 0, 0, 0. The number of zeros is stride-cols) More...
|
| |
|
| bool | conjugated |
| | logical variable indicating whether the matrix needs to be conjugated in CBLAS operations More...
|
| |
| bool | owner |
| | logical value indicating whether the class instance is the owner of the stored data or not. (If true, the data array is released in the destructor) More...
|
| |
| std::atomic< int64_t > * | references |
| | the number of the current references of the present object More...
|
| |
| bool | transposed |
| | logical variable indicating whether the matrix needs to be transposed in CBLAS operations More...
|
| |
template<typename ComplexType>
class Matrix_T< ComplexType >
Definition at line 8 of file matrix_template.hpp.
◆ Matrix_T() [1/7]
template<typename ComplexType >
◆ Matrix_T() [2/7]
template<typename ComplexType>
◆ Matrix_T() [3/7]
template<typename ComplexType>
◆ Matrix_T() [4/7]
template<typename ComplexType>
◆ Matrix_T() [5/7]
template<typename ComplexType>
◆ Matrix_T() [6/7]
template<typename ComplexType>
◆ Matrix_T() [7/7]
template<typename ComplexType>
◆ ~Matrix_T()
template<typename ComplexType>
◆ conjugate()
Call to conjugate (or un-conjugate) the matrix for CBLAS functions.
Definition at line 252 of file matrix_base.hpp.
◆ copy()
template<typename ComplexType >
◆ copy_to()
Copy the current matrix storage into a reusable target matrix.
The target is reallocated when dimensions or stride differ; otherwise its existing allocation is reused.
- Parameters
-
| target | The matrix receiving a deep copy of the current storage. |
Definition at line 433 of file matrix_base.hpp.
◆ ensure_aligned()
◆ get_data()
| ComplexType * matrix_base< ComplexType >::get_data |
( |
| ) |
const |
|
inlineinherited |
Call to get the pointer to the stored data.
Definition at line 285 of file matrix_base.hpp.
◆ is_conjugated()
Call to get whether the matrix should be conjugated in CBLAS functions or not.
- Returns
- Returns with true if the matrix should be conjugated in CBLAS functions or false otherwise.
Definition at line 245 of file matrix_base.hpp.
◆ is_transposed()
Call to get whether the matrix should be conjugated in CBLAS functions or not.
- Returns
- Returns with true if the matrix should be conjugated in CBLAS functions or false otherwise.
Definition at line 263 of file matrix_base.hpp.
◆ isnan()
template<typename ComplexType >
◆ operator<()
◆ operator=() [1/2]
template<typename ComplexType >
◆ operator=() [2/2]
template<typename ComplexType >
◆ operator[]()
Operator [] to access elements in array style (does not check the boundaries of the stored array)
- Parameters
-
| idx | the index of the element |
- Returns
- Returns with a reference to the idx-th element.
Definition at line 382 of file matrix_base.hpp.
◆ print_matrix()
template<typename ComplexType >
| void Matrix_T< ComplexType >::print_matrix |
( |
| ) |
const |
◆ release_data()
Call to release the data stored by the matrix.
(If the class instance was not the owner of the data, then the data pointer is simply set to NULL pointer.)
Definition at line 311 of file matrix_base.hpp.
◆ replace_data()
| void matrix_base< ComplexType >::replace_data |
( |
ComplexType * |
data_in, |
|
|
bool |
owner_in |
|
) |
| |
|
inlineinherited |
Call to replace the stored data by an another data array.
If the class was the owner of the original data array, then it is released.
- Parameters
-
| data_in | The data array to be set as a new storage. |
| owner_in | Set true to set the current class instance to be the owner of the data array, or false otherwise. |
Definition at line 297 of file matrix_base.hpp.
◆ set_owner()
Call to set the current class instance to be (or not to be) the owner of the stored data array.
- Parameters
-
| owner_in | Set true to set the current class instance to be the owner of the data array, or false otherwise. |
Definition at line 337 of file matrix_base.hpp.
◆ size()
Call to get the number of the allocated elements.
- Returns
- Returns with the number of the allocated elements (rows*cols)
Definition at line 461 of file matrix_base.hpp.
◆ transpose()
Call to transpose (or un-transpose) the matrix for CBLAS functions.
Definition at line 273 of file matrix_base.hpp.
◆ base_size
template<typename ComplexType>
◆ cols
◆ conjugated
logical variable indicating whether the matrix needs to be conjugated in CBLAS operations
Definition at line 53 of file matrix_base.hpp.
◆ data
◆ owner
logical value indicating whether the class instance is the owner of the stored data or not. (If true, the data array is released in the destructor)
Definition at line 57 of file matrix_base.hpp.
◆ padding_
template<typename ComplexType>
◆ padding_size
template<typename ComplexType>
| constexpr size_t Matrix_T< ComplexType >::padding_size |
|
staticprivate |
◆ references
| std::atomic<int64_t>* matrix_base< ComplexType >::references |
|
protectedinherited |
the number of the current references of the present object
Definition at line 59 of file matrix_base.hpp.
◆ rows
◆ stride
The column stride of the array. (The array elements in one row are a_0, a_1, ... a_{cols-1}, 0, 0, 0, 0. The number of zeros is stride-cols)
Definition at line 46 of file matrix_base.hpp.
◆ transposed
logical variable indicating whether the matrix needs to be transposed in CBLAS operations
Definition at line 55 of file matrix_base.hpp.
The documentation for this class was generated from the following files: