Vowpal Wabbit
Public Types | Public Member Functions | List of all members
sparse_parameters Class Reference

#include <array_parameters.h>

Public Types

typedef sparse_iterator< weightiterator
 
typedef sparse_iterator< const weightconst_iterator
 

Public Member Functions

 sparse_parameters (size_t length, uint32_t stride_shift=0)
 
 sparse_parameters ()
 
bool not_null ()
 
 sparse_parameters (const sparse_parameters &other)=delete
 
sparse_parametersoperator= (const sparse_parameters &other)=delete
 
sparse_parametersoperator= (sparse_parameters &&) noexcept=delete
 
 sparse_parameters (sparse_parameters &&) noexcept=delete
 
weightfirst ()
 
iterator begin ()
 
iterator end ()
 
const_iterator cbegin ()
 
const_iterator cend ()
 
weightoperator[] (size_t i)
 
const weightoperator[] (size_t i) const
 
weightstrided_index (size_t index)
 
void shallow_copy (const sparse_parameters &input)
 
template<typename Lambda >
void set_default (Lambda &&default_func)
 
void set_zero (size_t offset)
 
uint64_t mask () const
 
uint64_t seeded () const
 
uint32_t stride () const
 
uint32_t stride_shift () const
 
void stride_shift (uint32_t stride_shift)
 
void share (size_t)
 
 ~sparse_parameters ()
 

Member Typedef Documentation

Constructor & Destructor Documentation

sparse_parameters::sparse_parameters ( size_t  length,
uint32_t  stride_shift = 0 
)
inline
sparse_parameters::sparse_parameters ( )
inline
sparse_parameters::sparse_parameters ( const sparse_parameters other)
delete
sparse_parameters::sparse_parameters ( sparse_parameters &&  )
deletenoexcept
sparse_parameters::~sparse_parameters ( )
inline

Member Function Documentation

iterator sparse_parameters::begin ( )
inline
const_iterator sparse_parameters::cbegin ( )
inline
const_iterator sparse_parameters::cend ( )
inline
iterator sparse_parameters::end ( )
inline
weight* sparse_parameters::first ( )
inline
uint64_t sparse_parameters::mask ( ) const
inline
bool sparse_parameters::not_null ( )
inline
sparse_parameters& sparse_parameters::operator= ( const sparse_parameters other)
delete
sparse_parameters& sparse_parameters::operator= ( sparse_parameters &&  )
deletenoexcept
weight& sparse_parameters::operator[] ( size_t  i)
inline
const weight& sparse_parameters::operator[] ( size_t  i) const
inline
uint64_t sparse_parameters::seeded ( ) const
inline
template<typename Lambda >
void sparse_parameters::set_default ( Lambda &&  default_func)
inline
void sparse_parameters::set_zero ( size_t  offset)
inline
void sparse_parameters::shallow_copy ( const sparse_parameters input)
inline
void sparse_parameters::share ( size_t  )
inline
uint32_t sparse_parameters::stride ( ) const
inline
uint32_t sparse_parameters::stride_shift ( ) const
inline
void sparse_parameters::stride_shift ( uint32_t  stride_shift)
inline
weight& sparse_parameters::strided_index ( size_t  index)
inline

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