Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
ConversionMatrix.cpp File Reference
#include "ConversionMatrix.h"
#include <stdexcept>
#include <string>

Functions

template<uint8_t Order>
float CalculateDeterminant (const std::array< std::array< float, Order >, Order > &src)
 
template<uint8_t Order>
std::array< std::array< float, Order - 1 >, Order - 1 > GetSubmatrix (const std::array< std::array< float, Order >, Order > &src, uint8_t row, uint8_t col)
 
template<uint8_t Order>
float CalculateMinor (const std::array< std::array< float, Order >, Order > &src, uint8_t row, uint8_t col)
 
template<>
float CalculateDeterminant< 2 > (const std::array< std::array< float, 2 >, 2 > &src)
 

Function Documentation

◆ CalculateDeterminant()

template<uint8_t Order>
float CalculateDeterminant ( const std::array< std::array< float, Order >, Order > & src)

◆ CalculateDeterminant< 2 >()

template<>
float CalculateDeterminant< 2 > ( const std::array< std::array< float, 2 >, 2 > & src)

◆ CalculateMinor()

template<uint8_t Order>
float CalculateMinor ( const std::array< std::array< float, Order >, Order > & src,
uint8_t row,
uint8_t col )

◆ GetSubmatrix()

template<uint8_t Order>
std::array< std::array< float, Order - 1 >, Order - 1 > GetSubmatrix ( const std::array< std::array< float, Order >, Order > & src,
uint8_t row,
uint8_t col )