MCPcopy Create free account
hub / github.com/TheAlgorithms/C-Plus-Plus / power

Function power

others/matrix_exponentiation.cpp:76–85  ·  view source on GitHub ↗

computing integer power of a matrix using recursive multiplication. * @note A must be a square matrix for this algorithm. * \param [in] A base matrix * \param [in] p exponent * \return matrix of same dimension as A */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

ansFunction · 0.70

Calls 1

multiplyFunction · 0.70

Tested by

no test coverage detected