Template Function otyca::mat_to_mat(const arma::Row<T>&, const arma::Col<T>&, const arma::Mat<T>&, arma::Mat<T>&)

Function Documentation

template<typename T>
void otyca::mat_to_mat(const arma::Row<T> &row, const arma::Col<T> &col, const arma::Mat<T> &input, arma::Mat<T> &output_data)

Converts row, column, and data matrices into a 3-column Armadillo matrix.

Template Parameters:

T – Type of elements in the matrix.

Parameters:
  • row – Input row vector.

  • col – Input column vector.

  • input – Input data matrix.

  • output_data – Output 3-column matrix.