TinyRobotics
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Matrix< R, C > Struct Template Reference

Simple static matrix for linear algebra operations. More...

#include <KalmanFilter.h>

Public Member Functions

float & operator() (size_t r, size_t c)
 
const float & operator() (size_t r, size_t c) const
 

Static Public Member Functions

static Matrix< R, C > identity ()
 

Public Attributes

std::array< float, R *C > data {}
 

Detailed Description

template<size_t R, size_t C>
struct tinyrobotics::Matrix< R, C >

Simple static matrix for linear algebra operations.

This templated struct represents a fixed-size matrix of floats, supporting basic operations such as element access, identity matrix creation, and arithmetic. Used throughout the Kalman filter and control modules for efficient matrix computations in embedded robotics applications.

Template Parameters
RNumber of rows
CNumber of columns

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