![]() |
Object-oriented Scientific Computing Library: Version 0.910
|
A matrix view of double-precision numbers.
#include <omatrix_cx_tlate.h>
Definition at line 48 of file omatrix_cx_tlate.h.
Public Member Functions | |
Copy constructors | |
omatrix_cx_view_tlate (const omatrix_cx_view_tlate &v) | |
Shallow copy constructor - create a new view of the same matrix. | |
omatrix_cx_view_tlate & | operator= (const omatrix_cx_view_tlate &v) |
Shallow copy constructor - create a new view of the same matrix. | |
Get and set methods | |
complex_t * | operator[] (size_t i) |
Array-like indexing. | |
const complex_t * | operator[] (size_t i) const |
Array-like indexing. | |
complex_t & | operator() (size_t i, size_t j) |
Array-like indexing. | |
const complex_t & | operator() (size_t i, size_t j) const |
Array-like indexing. | |
complex_t | get (size_t i, size_t j) const |
Get (with optional range-checking) | |
std::complex< data_t > | get_stl (size_t i, size_t j) const |
Get STL-like complex number (with optional range-checking) | |
data_t | real (size_t i, size_t j) const |
Get real part (with optional range-checking) | |
data_t | imag (size_t i, size_t j) const |
Get imaginary part(with optional range-checking) | |
complex_t * | get_ptr (size_t i, size_t j) |
Get pointer (with optional range-checking) | |
const complex_t * | get_const_ptr (size_t i, size_t j) const |
Get pointer (with optional range-checking) | |
int | set (size_t i, size_t j, complex_t &val) |
Set (with optional range-checking) | |
int | set (size_t i, size_t j, data_t vr, data_t vi) |
Set (with optional range-checking) | |
int | set_real (size_t i, size_t j, data_t vr) |
Set (with optional range-checking) | |
int | set_imag (size_t i, size_t j, data_t vi) |
Set (with optional range-checking) | |
int | set_all (complex_t &val) |
Set all. | |
size_t | rows () const |
Method to return number of rows. | |
size_t | cols () const |
Method to return number of columns. | |
size_t | tda () const |
Method to return matrix tda. | |
Other methods | |
bool | is_owner () const |
Return true if this object owns the data it refers to. |
size_t omatrix_cx_view_tlate< data_t, parent_t, block_t, complex_t >::rows | ( | ) | const [inline] |
If no memory has been allocated, this will quietly return zero.
Definition at line 340 of file omatrix_cx_tlate.h.
size_t omatrix_cx_view_tlate< data_t, parent_t, block_t, complex_t >::cols | ( | ) | const [inline] |
If no memory has been allocated, this will quietly return zero.
Definition at line 349 of file omatrix_cx_tlate.h.
size_t omatrix_cx_view_tlate< data_t, parent_t, block_t, complex_t >::tda | ( | ) | const [inline] |
If no memory has been allocated, this will quietly return zero.
Definition at line 358 of file omatrix_cx_tlate.h.
Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).