iCub-main
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
strain::dsp::q15::matrix Struct Reference

#include <strain.h>

Public Member Functions

void load (std::uint8_t r, std::uint8_t c, Q15 *d)
 
 matrix ()
 
 matrix (std::uint8_t r, std::uint8_t c, Q15 *d)
 
Q15 get (std::uint8_t r, std::uint8_t c)
 
void set (std::uint8_t r, std::uint8_t c, Q15 v)
 
void clear ()
 
void diagonal (Q15 v)
 
void fill (Q15 v)
 

Public Attributes

std::uint8_t nrows
 
std::uint8_t ncols
 
Q15data
 

Detailed Description

Definition at line 93 of file strain.h.

Constructor & Destructor Documentation

◆ matrix() [1/2]

strain::dsp::q15::matrix::matrix ( )
inline

Definition at line 100 of file strain.h.

◆ matrix() [2/2]

strain::dsp::q15::matrix::matrix ( std::uint8_t  r,
std::uint8_t  c,
Q15 d 
)
inline

Definition at line 101 of file strain.h.

Member Function Documentation

◆ clear()

void strain::dsp::q15::matrix::clear ( )
inline

Definition at line 104 of file strain.h.

◆ diagonal()

void strain::dsp::q15::matrix::diagonal ( Q15  v)
inline

Definition at line 105 of file strain.h.

◆ fill()

void strain::dsp::q15::matrix::fill ( Q15  v)
inline

Definition at line 106 of file strain.h.

◆ get()

Q15 strain::dsp::q15::matrix::get ( std::uint8_t  r,
std::uint8_t  c 
)
inline

Definition at line 102 of file strain.h.

◆ load()

void strain::dsp::q15::matrix::load ( std::uint8_t  r,
std::uint8_t  c,
Q15 d 
)
inline

Definition at line 99 of file strain.h.

◆ set()

void strain::dsp::q15::matrix::set ( std::uint8_t  r,
std::uint8_t  c,
Q15  v 
)
inline

Definition at line 103 of file strain.h.

Member Data Documentation

◆ data

Q15* strain::dsp::q15::matrix::data

Definition at line 97 of file strain.h.

◆ ncols

std::uint8_t strain::dsp::q15::matrix::ncols

Definition at line 96 of file strain.h.

◆ nrows

std::uint8_t strain::dsp::q15::matrix::nrows

Definition at line 95 of file strain.h.


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