This is the latest (main) BeagleBoard documentation. If you are looking for stable releases, use the drop-down menu on the bottom-left and select the desired version.

Function rc_matrix_symmetrize

Function Documentation

int rc_matrix_symmetrize(rc_matrix_t *P)

Symmetrizes a square matrix.

P_sym = (P+P^T)/2

Parameters

P – pointer to matrix to symmetrize

Returns

0 on success, -1 on failure