|
libena 0.4.18-dev.9021
QE C++ library
|
Rotation routines for Epistemic Network Analysis (ENA): SVD, deflation, orthogonal-SVD, complete (generalized), and means rotation. All routines are designed to match the numerical output of the reference R implementation in rENA. More...
#include <libqe/linalg_fallback.hpp>#include <armadillo>#include <stdexcept>#include <string>#include <utility>#include <vector>Go to the source code of this file.
Classes | |
| struct | qe::RotationResult |
| Aggregated result returned by every rotation routine. More... | |
| struct | qe::GroupPair |
| A pair of 0-based row-index vectors identifying two groups within a points matrix. More... | |
Namespaces | |
| namespace | qe |
Functions | |
SVD rotation | |
| RotationResult | qe::ena_svd (const arma::mat &points) |
| Compute a full SVD rotation of a (pre-centered) points matrix. | |
Deflation | |
| arma::mat | qe::deflate (const arma::mat &data, const arma::vec &axis) |
| Project a data matrix onto the hyperplane orthogonal to a given axis. | |
Orthogonal SVD rotation | |
| RotationResult | qe::orthogonal_svd (const arma::mat &data, const arma::mat &weights, const std::vector< std::string > &named_labels) |
| Orthonormalize named axes via QR, then complete the rotation with an SVD of the data projected onto the orthogonal complement. | |
Complete (generalized) rotation | |
| RotationResult | qe::complete_rotation (const arma::mat &data, const arma::mat &named_axes, const std::vector< std::string > &named_labels) |
| Keep named axes verbatim and fill remaining axes from an SVD of the data after parallel deflation by all named axes. | |
Means rotation | |
| RotationResult | qe::means_rotation (const arma::mat &points, const std::vector< GroupPair > &pairs) |
| Compute a means rotation from one or more group pairs. | |
Rotation routines for Epistemic Network Analysis (ENA): SVD, deflation, orthogonal-SVD, complete (generalized), and means rotation. All routines are designed to match the numerical output of the reference R implementation in rENA.