@@ -933,9 +933,9 @@ igraph_error_t igraph_sparsemat_multiply(const igraph_sparsemat_t *A,
933933 *
934934 * \param A The first input matrix, in column-compressed format.
935935 * \param B The second input matrix, in column-compressed format.
936- * \param alpha Real scalar , \p A is multiplied by \p alpha before the
936+ * \param alpha Real value , \p A is multiplied by \p alpha before the
937937 * addition.
938- * \param beta Real scalar , \p B is multiplied by \p beta before the
938+ * \param beta Real value , \p B is multiplied by \p beta before the
939939 * addition.
940940 * \param res Pointer to an uninitialized sparse matrix, the result
941941 * is stored here.
@@ -1291,8 +1291,7 @@ static igraph_error_t igraph_i_sparsemat_triplet(igraph_t *graph, const igraph_s
12911291 * \param graph Pointer to an uninitialized igraph_t object, the
12921292 * graphs is stored here.
12931293 * \param A The input matrix, in triplet or column-compressed format.
1294- * \param directed Boolean scalar, whether to create a directed
1295- * graph.
1294+ * \param directed Whether to create a directed graph.
12961295 * \return Error code.
12971296 *
12981297 * Time complexity: TODO.
@@ -2104,9 +2103,9 @@ void igraph_sparsemat_numeric_destroy(igraph_sparsemat_numeric_t *din) {
21042103 * \param res An uninitialized sparse matrix, the result is stored
21052104 * here.
21062105 * \param mat The dense input matrix.
2107- * \param tol Real scalar, the tolerance . Values closer than \p tol to
2108- * zero are considered as zero, and will not be included in the
2109- * sparse matrix.
2106+ * \param tol The tolerance for zero comparisons . Values closer than
2107+ * \p tol to zero are considered as zero, and will not be included
2108+ * in the sparse matrix.
21102109 * \return Error code.
21112110 *
21122111 * \sa \ref igraph_sparsemat_as_matrix() for the reverse conversion.
@@ -2358,10 +2357,10 @@ igraph_integer_t igraph_sparsemat_count_nonzero(igraph_sparsemat_t *A) {
23582357 * \function igraph_sparsemat_count_nonzerotol
23592358 * \brief Counts nonzero elements of a sparse matrix, ignoring elements close to zero.
23602359 *
2361- * Count the number of matrix entries that are closer to zero than \p
2362- * tol.
2360+ * Count the number of matrix entries that are closer to zero than \p tol.
2361+ *
23632362 * \param The input matrix, column-compressed.
2364- * \param Real scalar, the tolerance .
2363+ * \param The tolerance for zero comparisons .
23652364 * \return Error code.
23662365 *
23672366 * Time complexity: TODO.
@@ -2850,7 +2849,8 @@ igraph_error_t igraph_sparsemat_colsums(const igraph_sparsemat_t *A,
28502849 * \function igraph_sparsemat_scale
28512850 * \brief Scales a sparse matrix.
28522851 *
2853- * Multiplies all elements of a sparse matrix, by the given scalar.
2852+ * Multiplies all elements of a sparse matrix, by the given factor.
2853+ *
28542854 * \param A The input matrix.
28552855 * \param by The scaling factor.
28562856 * \return Error code.
0 commit comments