.TH "/var/www/mlpack.ratml.org/mlpack.org/_src/mlpack-3.3.0/src/mlpack/core/math/lin_alg.hpp" 3 "Mon Aug 31 2020" "Version 3.1.1" "mlpack" \" -*- nroff -*-
.ad l
.nh
.SH NAME
/var/www/mlpack.ratml.org/mlpack.org/_src/mlpack-3.3.0/src/mlpack/core/math/lin_alg.hpp
.SH SYNOPSIS
.br
.PP
.SS "Namespaces"

.in +1c
.ti -1c
.RI " \fBmlpack\fP"
.br
.RI "strip_type\&.hpp "
.ti -1c
.RI " \fBmlpack::math\fP"
.br
.RI "Miscellaneous math routines\&. "
.in -1c
.SS "Functions"

.in +1c
.ti -1c
.RI "void \fBCenter\fP (const arma::mat &x, arma::mat &xCentered)"
.br
.RI "Creates a centered matrix, where centering is done by subtracting the sum over the columns (a column vector) from each column of the matrix\&. "
.ti -1c
.RI "void \fBOrthogonalize\fP (const arma::mat &x, arma::mat &W)"
.br
.RI "Orthogonalize x and return the result in W, using eigendecomposition\&. "
.ti -1c
.RI "void \fBOrthogonalize\fP (arma::mat &x)"
.br
.RI "Orthogonalize x in-place\&. "
.ti -1c
.RI "void \fBRandVector\fP (arma::vec &v)"
.br
.RI "Overwrites a dimension-N vector to a random vector on the unit sphere in R^N\&. "
.ti -1c
.RI "void \fBRemoveRows\fP (const arma::mat &input, const std::vector< size_t > &rowsToRemove, arma::mat &output)"
.br
.RI "Remove a certain set of rows in a matrix while copying to a second matrix\&. "
.ti -1c
.RI "template<typename T > T \fBSign\fP (const T x)"
.br
.RI "Signum function\&. "
.ti -1c
.RI "void \fBSmat\fP (const arma::vec &input, arma::mat &output)"
.br
.RI "The inverse of Svec\&. "
.ti -1c
.RI "void \fBSvec\fP (const arma::mat &input, arma::vec &output)"
.br
.RI "Upper triangular representation of a symmetric matrix, scaled such that, dot(Svec(A), Svec(B)) == dot(A, B) for symmetric A, B\&. "
.ti -1c
.RI "void \fBSvec\fP (const arma::sp_mat &input, arma::sp_vec &output)"
.br
.ti -1c
.RI "size_t \fBSvecIndex\fP (size_t i, size_t j, size_t n)"
.br
.RI "Return the index such that A[i,j] == factr(i, j) * svec(A)[pos(i, j)], where factr(i, j) = sqrt(2) if i != j and 1 otherwise\&. "
.ti -1c
.RI "void \fBSymKronId\fP (const arma::mat &A, arma::mat &op)"
.br
.RI "If A is a symmetric matrix, then SymKronId returns an operator Op such that\&. "
.ti -1c
.RI "void \fBVectorPower\fP (arma::vec &vec, const double power)"
.br
.RI "Auxiliary function to raise vector elements to a specific power\&. "
.ti -1c
.RI "void \fBWhitenUsingSVD\fP (const arma::mat &x, arma::mat &xWhitened, arma::mat &whiteningMatrix)"
.br
.RI "Whitens a matrix using the singular value decomposition of the covariance matrix\&. "
.in -1c
.SH "Detailed Description"
.PP 

.PP
\fBAuthor:\fP
.RS 4
Nishant Mehta
.RE
.PP
Linear algebra utilities\&.
.PP
mlpack is free software; you may redistribute it and/or modify it under the terms of the 3-clause BSD license\&. You should have received a copy of the 3-clause BSD license along with mlpack\&. If not, see http://www.opensource.org/licenses/BSD-3-Clause for more information\&. 
.PP
Definition in file \fBlin_alg\&.hpp\fP\&.
.SH "Author"
.PP 
Generated automatically by Doxygen for mlpack from the source code\&.
