Skip to content

Commit

Permalink
Update rotate documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasChollet committed Oct 10, 2021
1 parent f560c74 commit d0fca30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/cotila/matrix/utility.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ constexpr matrix<T, N, M> fill(T value) {
/** @brief shifts matrix elements
* @param m an \f$ M \times M \f$ matrix of type T
* @param n the amount to shift each element
* @return an N-vector of type T \f$ \textbf{v} \gg n \f$ such that
* \f$ \left(\textbf{v} \gg n\right)_i = \textbf{v}_{(i + n)\ \textrm{mod}\ N} \f$
* @return an \f$ N \times M \f$ matrix of type T such that
* \f$ \left(\textbf{m} \gg n\right)_{ij} = \textbf{v}_{kj} with k = (i + n)\ \textrm{mod}\ N \f$
*
* Rotates a matrix by shifting its elements vertically.
*/
Expand Down

0 comments on commit d0fca30

Please sign in to comment.