![]() |
SOPT
Sparse OPTimisation
|
An operator that samples a set of measurements. More...
#include <sampling.h>
Public Member Functions | |
Sampling (t_uint size, std::vector< t_uint > const &indices) | |
Constructs from a vector. More... | |
template<typename RNG > | |
Sampling (t_uint size, t_uint samples, RNG &&rng) | |
Constructs from the size and the number of samples to pick. More... | |
Sampling (t_uint size, t_uint samples) | |
Constructs from the size and the number of samples to pick. More... | |
template<typename T0 , typename T1 > | |
void | operator() (Eigen::DenseBase< T0 > &out, Eigen::DenseBase< T1 > const &x) const |
template<typename T0 , typename T1 > | |
void | operator() (Eigen::DenseBase< T0 > &&out, Eigen::DenseBase< T1 > const &x) const |
template<typename T0 , typename T1 > | |
void | adjoint (Eigen::DenseBase< T0 > &out, Eigen::DenseBase< T1 > const &x) const |
template<typename T0 , typename T1 > | |
void | adjoint (Eigen::DenseBase< T0 > &&out, Eigen::DenseBase< T1 > const &x) const |
t_uint | cols () const |
Size of the vector returned by the adjoint operation. More... | |
t_uint | rows () const |
Number of measurements. More... | |
std::vector< t_uint > const & | indices () const |
Indices of sampled points. More... | |
An operator that samples a set of measurements.
Picks some elements from a vector
Definition at line 17 of file sampling.h.
Constructs from a vector.
Definition at line 20 of file sampling.h.
Constructs from the size and the number of samples to pick.
Definition at line 91 of file sampling.h.
Constructs from the size and the number of samples to pick.
Definition at line 25 of file sampling.h.
|
inline |
Definition at line 41 of file sampling.h.
References adjoint().
void sopt::Sampling::adjoint | ( | Eigen::DenseBase< T0 > & | out, |
Eigen::DenseBase< T1 > const & | x | ||
) | const |
|
inline |
Size of the vector returned by the adjoint operation.
Definition at line 46 of file sampling.h.
Referenced by sopt::linear_transform().
|
inline |
|
inline |
Definition at line 33 of file sampling.h.
References operator()().
void sopt::Sampling::operator() | ( | Eigen::DenseBase< T0 > & | out, |
Eigen::DenseBase< T1 > const & | x | ||
) | const |
|
inline |
Number of measurements.
Definition at line 48 of file sampling.h.
Referenced by sopt::linear_transform().