vmmlib  1.7.0
 All Classes Namespaces Functions Pages
vmml::qtucker3_tensor< R1, R2, R3, I1, I2, I3, T_value, T_coeff > Class Template Reference
+ Collaboration diagram for vmml::qtucker3_tensor< R1, R2, R3, I1, I2, I3, T_value, T_coeff >:

Public Types

typedef float T_internal
 
typedef qtucker3_tensor< R1,
R2, R3, I1, I2, I3, T_value,
T_coeff > 
tucker3_type
 
typedef tensor3< I1, I2, I3,
T_value > 
t3_type
 
typedef tensor3< I1, I2, I3,
T_coeff > 
t3_coeff_type
 
typedef tensor3< R1, R2, R3,
T_coeff > 
t3_core_type
 
typedef matrix< I1, R1, T_coeff > u1_type
 
typedef matrix< I2, R2, T_coeff > u2_type
 
typedef matrix< I3, R3, T_coeff > u3_type
 
typedef tensor3< I1, I2, I3,
T_internal > 
t3_comp_type
 
typedef tensor3< R1, R2, R3,
T_internal > 
t3_core_comp_type
 
typedef matrix< I1, R1,
T_internal > 
u1_comp_type
 
typedef matrix< I2, R2,
T_internal > 
u2_comp_type
 
typedef matrix< I3, R3,
T_internal > 
u3_comp_type
 
typedef tensor3< R1, R2, R3, char > t3_core_signs_type
 

Public Member Functions

 qtucker3_tensor (t3_core_type &core)
 
 qtucker3_tensor (t3_core_type &core, u1_type &U1, u2_type &U2, u3_type &U3)
 
 qtucker3_tensor (const t3_type &data_, u1_type &U1, u2_type &U2, u3_type &U3)
 
 qtucker3_tensor (const tucker3_type &other)
 
void enable_quantify_hot ()
 
void disable_quantify_hot ()
 
void enable_quantify_linear ()
 
void disable_quantify_linear ()
 
void enable_quantify_log ()
 
void disable_quantify_log ()
 
void get_core_signs (t3_core_signs_type &signs_)
 
void set_core_signs (const t3_core_signs_type signs_)
 
T_internal get_hottest_value ()
 
void set_hottest_value (const T_internal value_)
 
void set_core (t3_core_type &core)
 
void set_u1 (u1_type &U1)
 
void set_u2 (u2_type &U2)
 
void set_u3 (u3_type &U3)
 
void get_core (t3_core_type &data_) const
 
void get_u1 (u1_type &U1) const
 
void get_u2 (u2_type &U2) const
 
void get_u3 (u3_type &U3) const
 
void set_core_comp (t3_core_comp_type &core)
 
void set_u1_comp (u1_comp_type &U1)
 
void set_u2_comp (u2_comp_type &U2)
 
void set_u3_comp (u3_comp_type &U3)
 
void get_core_comp (t3_core_comp_type &data_) const
 
void get_u1_comp (u1_comp_type &U1) const
 
void get_u2_comp (u2_comp_type &U2) const
 
void get_u3_comp (u3_comp_type &U3) const
 
size_t nnz () const
 
size_t nnz (const T_value &threshold) const
 
size_t nnz_core () const
 
size_t size_core () const
 
size_t size () const
 
void threshold_core (const size_t &nnz_core_, size_t &nnz_core_is_)
 
void threshold_core (const T_coeff &threshold_value_, size_t &nnz_core_)
 
void reconstruct (t3_type &data_, const T_internal &u_min_, const T_internal &u_max_, const T_internal &core_min_, const T_internal &core_max_)
 
void reconstruct (t3_type &data_, const T_internal &u1_min_, const T_internal &u1_max_, const T_internal &u2_min_, const T_internal &u2_max_, const T_internal &u3_min_, const T_internal &u3_max_, const T_internal &core_min_, const T_internal &core_max_)
 
template<typename T_init >
void decompose (const t3_type &data_, T_internal &u1_min_, T_internal &u1_max_, T_internal &u2_min_, T_internal &u2_max_, T_internal &u3_min_, T_internal &u3_max_, T_internal &core_min_, T_internal &core_max_, T_init init)
 
template<typename T_init >
void decompose (const t3_type &data_, T_internal &u_min_, T_internal &u_max_, T_internal &core_min_, T_internal &core_max_, T_init init)
 
template<typename T_init >
void tucker_als (const t3_type &data_, T_init init)
 
void cast_members ()
 
void cast_comp_members ()
 
void quantize_basis_matrices (T_internal &u_min_, T_internal &u_max_)
 
void quantize_basis_matrices (T_internal &u1_min_, T_internal &u1_max_, T_internal &u2_min_, T_internal &u2_max_, T_internal &u3_min_, T_internal &u3_max_)
 
void quantize_core (T_internal &core_min_, T_internal &core_max_)
 
void dequantize_basis_matrices (const T_internal &u1_min_, const T_internal &u1_max_, const T_internal &u2_min_, const T_internal &u2_max_, const T_internal &u3_min_, const T_internal &u3_max_)
 
void dequantize_core (const T_internal &core_min_, const T_internal &core_max_)
 

Static Public Attributes

static const size_t SIZE = R1*R2*R3 + I1*R1 + I2*R2 + I3*R3
 

Protected Member Functions

tucker3_type operator= (const tucker3_type &)
 
template<typename T_init >
void decompose (const t3_type &data_, T_init init)
 
void reconstruct (t3_type &data_)
 

Friends

std::ostream & operator<< (std::ostream &os, const tucker3_type &t3)
 

Detailed Description

template<size_t R1, size_t R2, size_t R3, size_t I1, size_t I2, size_t I3, typename T_value = float, typename T_coeff = double>
class vmml::qtucker3_tensor< R1, R2, R3, I1, I2, I3, T_value, T_coeff >

Definition at line 59 of file qtucker3_tensor.hpp.


The documentation for this class was generated from the following file: