43 int rows()
const {
return is_float64() ? m64_->rows : m32_->rows; }
44 int cols()
const {
return is_float64() ? m64_->cols : m32_->cols; }
45 int stride()
const {
return is_float64() ? m64_->stride : m32_->stride; }
46 int size()
const {
return is_float64() ? m64_->size() : m32_->size(); }
50 throw std::string(
"Matrix_any::as_float64 called on float32 matrix");
57 throw std::string(
"Matrix_any::as_float32 called on float64 matrix");
Header file of single-precision complex array storage with automatic and thread safe reference counti...
Matrix_any(Matrix_float &m)
Non-owning carrier that references either Matrix (complex128) or Matrix_float (complex64) without dat...
matrix_precision precision_
Matrix_float & as_float32()
Header file of complex array storage array with automatic and thread safe reference counting...
Double-precision complex matrix (float64).
Single-precision complex matrix (float32).
matrix_precision precision() const