Skip to content

Commit

Permalink
Remove typos from doxygen's comments
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasChollet committed Oct 10, 2021
1 parent bfa5f0d commit f560c74
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/cotila/matrix/operators.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ constexpr matrix<T, N, M> operator+(T a, const matrix<T, N, M> &m) {
* @param b an \f$ N \times M \f$ matrix of type T
* @return \f$ \textbf{a} + \textbf{b} \f$ such that \f$ \left(\textbf{a} + \textbf{b}\right)_{ij} = \textbf{a}_{ij} + \textbf{b}_{ij} \f$
*
* Computes the vector sum.
* Computes the matrix sum.
*/
template <typename T, std::size_t N, std::size_t M>
constexpr matrix<T, N, M> operator+(const matrix<T, N, M> &a,
Expand All @@ -83,7 +83,7 @@ constexpr matrix<T, N, M> operator+(const matrix<T, N, M> &a,
* @param a a scalar of type T
* @return \f$ \textbf{m}a \f$ such that \f$ \left(\textbf{m} a\right)_{ij} = \textbf{m}_{ij} a \f$
*
* Computes the sum of a matrix and a scalar.
* Computes the product of a matrix and a scalar.
*/
template <typename T, std::size_t N, std::size_t M>
constexpr matrix<T, N, M> operator*(const matrix<T, N, M> &m, T a) {
Expand All @@ -95,7 +95,7 @@ constexpr matrix<T, N, M> operator*(const matrix<T, N, M> &m, T a) {
* @param m an \f$ N \times M \f$ matrix of type T
* @return \f$ a\textbf{m} \f$ such that \f$ \left(a\textbf{m}\right)_{ij} = a\textbf{m}_{ij} \f$
*
* Computes the sum of a matrix and a scalar.
* Computes the product of a matrix and a scalar.
*/
template <typename T, std::size_t N, std::size_t M>
constexpr matrix<T, N, M> operator*(T a, const matrix<T, N, M> &m) {
Expand All @@ -107,7 +107,7 @@ constexpr matrix<T, N, M> operator*(T a, const matrix<T, N, M> &m) {
* @param b an \f$ N \times M \f$ matrix of type T
* @return \f$ \textbf{a} \circ \textbf{b} \f$ such that \f$ \left(\textbf{a} \circ \textbf{b}\right)_{ij} = \textbf{a}_{ij} \textbf{b}_{ij} \f$
*
* Computes the Hadamard, or elementwise, product of two vectors.
* Computes the Hadamard, or elementwise, product of two matrices.
*/
template <typename T, std::size_t N, std::size_t M>
constexpr matrix<T, N, M> operator*(const matrix<T, N, M> &a,
Expand Down

0 comments on commit f560c74

Please sign in to comment.