mptensor v0.6.0
Parallel Library for Tensor Network Methods
Loading...
Searching...
No Matches
rsvd.hpp File Reference

Randomized algorithm for singular value decomposition. More...

Include dependency graph for rsvd.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  mptensor
 

Functions

template<typename MatrixType >
int mptensor::rsvd (const Tensor< MatrixType > &a, const Axes &axes_row, const Axes &axes_col, Tensor< MatrixType > &u, std::vector< double > &s, Tensor< MatrixType > &vt, const size_t target_rank, const size_t oversamp)
 Singular value decomposition by randomized algorithm.
 
template<typename MatrixType >
int mptensor::rsvd (const Tensor< MatrixType > &a, const Axes &axes_row, const Axes &axes_col, Tensor< MatrixType > &u, std::vector< double > &s, Tensor< MatrixType > &vt, const size_t target_rank)
 RSVD with oversamp = target_rank.
 
template<typename MatrixType , typename Func1 , typename Func2 >
int mptensor::rsvd (Func1 &multiply_row, Func2 &multiply_col, const Shape &shape_row, const Shape &shape_col, Tensor< MatrixType > &u, std::vector< double > &s, Tensor< MatrixType > &vt, const size_t target_rank, const size_t oversamp)
 Singular value decomposition by randomized algorithm.
 
template<typename MatrixType , typename Func1 , typename Func2 >
int mptensor::rsvd (Func1 &multiply_row, Func2 &multiply_col, const Shape &shape_row, const Shape &shape_col, Tensor< MatrixType > &u, std::vector< double > &s, Tensor< MatrixType > &vt, const size_t target_rank)
 RSVD with oversamp = target_rank.
 
void mptensor::set_seed (unsigned int seed)
 Set seed for random number generator.
 

Detailed Description

Randomized algorithm for singular value decomposition.

Author
Satoshi Morita
Date
Feb 3 2016