Infer data structure from ComputeData type.
- Template Parameters
-
- Parameters
-
- Returns
- Pair of (dimensions, modality)
Definition at line 802 of file OperationHelper.hpp.
803 {
805 return {};
806 }
807
810
811 for (
const auto& col :
columns) {
812 if (col.size() !=
rows) {
814 }
815 }
816
817 Eigen::MatrixXd matrix(
rows, cols);
818 for (int col = 0; col < cols; ++col) {
819 for (
int row = 0; row <
rows; ++row) {
820 matrix(row, col) =
static_cast<double>(
columns[col][row]);
821 }
822 }
823 return matrix;
824 }
@ Runtime
General runtime operations (default fallback)
@ Yantra
DSP algorithms, computational units, matrix operations, Grammar.
References columns, and rows.
Referenced by recreate_eigen_matrix(), and recreate_eigen_matrix().