We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Taking sub-matrix views will likely be less fast than iterating over the relevant columns/rows.
Consider implementing this function for data class:
arma::vec submat_mult_lincomb(arma::mat& x, arma::uvec& x_rows, arma::uvec& x_cols, arma::vec& beta){ arma::vec out (x_rows.size()); arma::uword i = 0; arma::uword j = 0; for(auto row : x_rows){ j=0; for(auto col : x_cols){ out[i] += x.at(row, col) * beta[j]; j++; } i++; } return(out); }
The text was updated successfully, but these errors were encountered:
Fixed with #20
Sorry, something went wrong.
No branches or pull requests
Taking sub-matrix views will likely be less fast than iterating over the relevant columns/rows.
Consider implementing this function for data class:
The text was updated successfully, but these errors were encountered: