MayaFlux
0.2.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
◆
complex_to_matrix()
template<typename T >
Eigen::MatrixXd MayaFlux::Kakshya::EigenAccess::complex_to_matrix
(
const std::vector< std::complex< T > > &
vec
)
const
inline
private
Definition at line
197
of file
EigenAccess.hpp
.
198
{
199
Eigen::MatrixXd result(2, vec.size());
200
for
(Eigen::Index i = 0; i < vec.size(); ++i) {
201
result(0, i) =
static_cast<
double
>
(vec[i].real());
202
result(1, i) =
static_cast<
double
>
(vec[i].imag());
203
}
204
return
result;
205
}
Referenced by
to_matrix()
.
Here is the caller graph for this function:
MayaFlux
Kakshya
EigenAccess
Generated by
1.9.8