Skip to content

Commit

Permalink
clarify doc
Browse files Browse the repository at this point in the history
  • Loading branch information
pratikvn committed Jan 22, 2024
1 parent f882f02 commit d18de70
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions include/ginkgo/core/matrix/batch_csr.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,8 @@ class Csr final
* @param beta the scalar to multiply this matrix
*
* @note Performs the operation in-place for this batch matrix
* @note This operation fails in case this matrix does not have all its
* diagonal entries.
*/
void add_scaled_identity(ptr_param<const MultiVector<value_type>> alpha,
ptr_param<const MultiVector<value_type>> beta);
Expand Down
4 changes: 3 additions & 1 deletion include/ginkgo/core/matrix/batch_ell.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,9 @@ class Ell final
* @param alpha the scalar for identity
* @param beta the scalar to multiply this matrix
*
* @note Performs the operation in-place for this batch matrix
* @note Performs the operation in-place for this batch matrix.
* @note This operation fails in case this matrix does not have all its
* diagonal entries.
*/
void add_scaled_identity(ptr_param<const MultiVector<value_type>> alpha,
ptr_param<const MultiVector<value_type>> beta);
Expand Down

0 comments on commit d18de70

Please sign in to comment.