RTC Toolkit 4.0.2
Loading...
Searching...
No Matches
Classes | Typedefs | Functions
rtctk::exampleDataTask Namespace Reference

Classes

class  BusinessLogic
 
class  Computation
 

Typedefs

using LifeCycle = Runnable< RtcComponent >
 
using TopicType = rtctk::exampleTopic::ScaoLoopTopic
 
using BufferType = std::vector< decltype(decltype(TopicType::wfs)::slopes)>
 

Functions

void ComputeMean (BufferType const &buffer, std::vector< float > &result)
 
float MyDotProduct (const float *x, const float *y, uint32_t n)
 
void MySgemv (const float *mat, const float *in_vec, float *out_vec, uint32_t rows, uint32_t cols)
 
void ComputeAverageSlopes (BufferType const &buffer, std::vector< float > &avg_slopes)
 
void ComputeAverageModes (MatrixBuffer< float > const &s2m_matrix, std::vector< float > const &avg_slopes, std::vector< float > &avg_modes)
 

Typedef Documentation

◆ BufferType

typedef std::vector< decltype(decltype(TopicType::wfs)::slopes)> rtctk::exampleDataTask::BufferType

◆ LifeCycle

◆ TopicType

Function Documentation

◆ ComputeAverageModes()

void rtctk::exampleDataTask::ComputeAverageModes ( MatrixBuffer< float > const &  s2m_matrix,
std::vector< float > const &  avg_slopes,
std::vector< float > &  avg_modes 
)

◆ ComputeAverageSlopes()

void rtctk::exampleDataTask::ComputeAverageSlopes ( BufferType const &  buffer,
std::vector< float > &  avg_slopes 
)

◆ ComputeMean()

void rtctk::exampleDataTask::ComputeMean ( BufferType const &  buffer,
std::vector< float > &  result 
)

◆ MyDotProduct()

float rtctk::exampleDataTask::MyDotProduct ( const float *  x,
const float *  y,
uint32_t  n 
)

◆ MySgemv()

void rtctk::exampleDataTask::MySgemv ( const float *  mat,
const float *  in_vec,
float *  out_vec,
uint32_t  rows,
uint32_t  cols 
)