57 for (
int i = 0;
i < m.
rows();
i++) {
58 for (
int j = 0;
j < m.
cols();
j++) {
68 for (
int i = 0;
i < m.
rows();
i++) {
69 for (
int j = 0;
j < m.
cols();
j++) {
int length() const
Returns the number of data elements in the array object.
Complex fixed-point data type.
fixrep get_im() const
Get data representation for imaginary part (mainly for internal use since it reveals the representati...
fixrep get_re() const
Get data representation for real part (mainly for internal use since it reveals the representation ty...
int get_shift() const
Get shift.
fixrep get_re() const
Get data representation (mainly for internal use since it reveals the representation type)
int rows() const
The number of rows.
int cols() const
The number of columns.
Definitions of a set of functions for Fix, Fixed, CFix and CFixed classes.
int64_t fixrep
Representation for fixed-point data types.
vec imag(const cvec &data)
Imaginary part of complex values.
vec real(const cvec &data)
Real part of complex values.
cvec conj(const cvec &x)
Conjugate of complex value.
cvec to_cvec(const Vec< T > &v)
Converts a Vec<T> to cvec.
cmat to_cmat(const Mat< T > &m)
Converts a Mat<T> to cmat.
vec to_vec(const Vec< T > &v)
Converts a Vec<T> to vec.
mat to_mat(const Mat< T > &m)
Converts a Mat<T> to mat.
bin abs(const bin &inbin)
absolute value of bin