Functions
dai::matrix Namespace Reference

Functions

static void adjoint (std::vector< std::vector< float >> &A, std::vector< std::vector< float >> &adj)
 
static float determinant (std::vector< std::vector< float >> &A, size_t n)
 
static void getCofactor (std::vector< std::vector< float >> &A, std::vector< std::vector< float >> &temp, size_t p, size_t q, size_t n)
 
bool matInv (std::vector< std::vector< float >> &A, std::vector< std::vector< float >> &inverse)
 
std::vector< std::vector< float > > matMul (std::vector< std::vector< float >> &firstMatrix, std::vector< std::vector< float >> &secondMatrix)
 Matrix multiplication between two matrixs of shape (m x n) and (n x p) of type float. -> firstMatrix * secondMatrix. More...
 

Function Documentation

◆ adjoint()

static void dai::matrix::adjoint ( std::vector< std::vector< float >> &  A,
std::vector< std::vector< float >> &  adj 
)
static

Definition at line 93 of file matrixOps.hpp.

◆ determinant()

static float dai::matrix::determinant ( std::vector< std::vector< float >> &  A,
size_t  n 
)
static

Definition at line 70 of file matrixOps.hpp.

◆ getCofactor()

static void dai::matrix::getCofactor ( std::vector< std::vector< float >> &  A,
std::vector< std::vector< float >> &  temp,
size_t  p,
size_t  q,
size_t  n 
)
static

Definition at line 46 of file matrixOps.hpp.

◆ matInv()

bool dai::matrix::matInv ( std::vector< std::vector< float >> &  A,
std::vector< std::vector< float >> &  inverse 
)

Definition at line 121 of file matrixOps.hpp.

◆ matMul()

std::vector<std::vector<float> > dai::matrix::matMul ( std::vector< std::vector< float >> &  firstMatrix,
std::vector< std::vector< float >> &  secondMatrix 
)

Matrix multiplication between two matrixs of shape (m x n) and (n x p) of type float. -> firstMatrix * secondMatrix.

Parameters
firstMatrix- vector of vector of float of shape (m x n)
secondMatrix- vector of vector of float of shape (n x p)
Returns
std::vector<std::vector<float>> - product of firstMatrix * secondMatrix, a vector of vector of float of shape (m x p)

Definition at line 15 of file matrixOps.hpp.



depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:20