---
name: "mlpack_svd_QUIC_SVD"
section: "3"
platform: "linux"
package: "mlpack-doc"
version: "1.0.10-1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/mlpack_svd_QUIC_SVD"
---

# mlpack\_svd\_QUIC\_SVD(3)

## NAME

mlpack::svd::QUIC\_SVD -

## SYNOPSIS

### Public Member Functions

**QUIC\_SVD** (const arma::mat &**dataset**, arma::mat &u, arma::mat &v, arma::mat &sigma, const double **epsilon**=0.03, const double **delta**=0.1)\
 *Constructor which implements the QUIC-SVD algorithm.*  void **ExtractSVD** (arma::mat &u, arma::mat &v, arma::mat &sigma)\
 *This function uses the vector subspace created using a cosine tree to calculate an approximate SVD of the original matrix.*

### Private Attributes

arma::mat **basis**\
 *Subspace basis of the input dataset.*  const arma::mat & **dataset**\
 *Matrix for which cosine tree is constructed.*  double **delta**\
 *Cumulative probability for Monte Carlo error lower bound.*  double **epsilon**\
 *Error tolerance fraction for calculated subspace.*

## Detailed Description

Definition at line 31 of file quic\_svd.hpp.

## Constructor & Destructor Documentation

### mlpack::svd::QUIC\_SVD::QUIC\_SVD (const arma::mat &dataset, arma::mat &u, arma::mat &v, arma::mat &sigma, const doubleepsilon = `0.03`, const doubledelta = `0.1`)

Constructor which implements the QUIC-SVD algorithm. The function calls the CosineTree constructor to create a subspace basis, where the original matrix's projection has minimum reconstruction error. The constructor then uses the **ExtractSVD()** function to calculate the SVD of the original dataset in that subspace.

**Parameters:**

*dataset* Matrix for which SVD is calculated. \
 *u* First unitary matrix. \
 *v* Second unitary matrix. \
 *sigma* Diagonal matrix of singular values. \
 *epsilon* Error tolerance fraction for calculated subspace. \
 *delta* Cumulative probability for Monte Carlo error lower bound.

## Member Function Documentation

### void mlpack::svd::QUIC\_SVD::ExtractSVD (arma::mat &u, arma::mat &v, arma::mat &sigma)

This function uses the vector subspace created using a cosine tree to calculate an approximate SVD of the original matrix.

**Parameters:**

*u* First unitary matrix. \
 *v* Second unitary matrix. \
 *sigma* Diagonal matrix of singular values.

## Member Data Documentation

### arma::mat mlpack::svd::QUIC\_SVD::basis` [private]`

Subspace basis of the input dataset.

Definition at line 76 of file quic\_svd.hpp.

### const arma::mat& mlpack::svd::QUIC\_SVD::dataset` [private]`

Matrix for which cosine tree is constructed.

Definition at line 70 of file quic\_svd.hpp.

### double mlpack::svd::QUIC\_SVD::delta` [private]`

Cumulative probability for Monte Carlo error lower bound.

Definition at line 74 of file quic\_svd.hpp.

### double mlpack::svd::QUIC\_SVD::epsilon` [private]`

Error tolerance fraction for calculated subspace.

Definition at line 72 of file quic\_svd.hpp.

## Author

Generated automatically by Doxygen for MLPACK from the source code.
