Public Member Functions | Public Attributes | List of all members
ML::manifold_sparse_inputs_t< value_idx, T > Struct Template Reference

#include <common.hpp>

Inheritance diagram for ML::manifold_sparse_inputs_t< value_idx, T >:
Inheritance graph
Collaboration diagram for ML::manifold_sparse_inputs_t< value_idx, T >:
Collaboration graph

Public Member Functions

 manifold_sparse_inputs_t (value_idx *indptr_, value_idx *indices_, T *data_, T *y_, size_t nnz_, int n_, int d_)
 
bool alloc_knn_graph () const
 
- Public Member Functions inherited from ML::manifold_inputs_t< T >
 manifold_inputs_t (T *y_, int n_, int d_)
 

Public Attributes

value_idx * indptr
 
value_idx * indices
 
T * data
 
size_t nnz
 
- Public Attributes inherited from ML::manifold_inputs_t< T >
T * y
 
int n
 
int d
 

Detailed Description

template<typename value_idx, typename T>
struct ML::manifold_sparse_inputs_t< value_idx, T >

Sparse CSR input to manifold learning algorithms

Template Parameters
value_idx
T

Constructor & Destructor Documentation

◆ manifold_sparse_inputs_t()

template<typename value_idx , typename T >
ML::manifold_sparse_inputs_t< value_idx, T >::manifold_sparse_inputs_t ( value_idx *  indptr_,
value_idx *  indices_,
T *  data_,
T *  y_,
size_t  nnz_,
int  n_,
int  d_ 
)
inline

Member Function Documentation

◆ alloc_knn_graph()

template<typename value_idx , typename T >
bool ML::manifold_sparse_inputs_t< value_idx, T >::alloc_knn_graph ( ) const
inlinevirtual

Member Data Documentation

◆ data

template<typename value_idx , typename T >
T* ML::manifold_sparse_inputs_t< value_idx, T >::data

◆ indices

template<typename value_idx , typename T >
value_idx* ML::manifold_sparse_inputs_t< value_idx, T >::indices

◆ indptr

template<typename value_idx , typename T >
value_idx* ML::manifold_sparse_inputs_t< value_idx, T >::indptr

◆ nnz

template<typename value_idx , typename T >
size_t ML::manifold_sparse_inputs_t< value_idx, T >::nnz

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