Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions nalgebra-sparse/src/convert/serial.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ where
coo
}

/// Converts a [`CooMatrix`] to a dense matrix.
/// Converts a [`CooMatrix`] to a dense matrix summing duplicates.
pub fn convert_coo_dense<T>(coo: &CooMatrix<T>) -> DMatrix<T>
where
T: Scalar + Zero + ClosedAddAssign,
Expand All @@ -50,7 +50,7 @@ where
output
}

/// Converts a [`CooMatrix`] to a [`CsrMatrix`].
/// Converts a [`CooMatrix`] to a [`CsrMatrix`] summing duplicates.
pub fn convert_coo_csr<T>(coo: &CooMatrix<T>) -> CsrMatrix<T>
where
T: Scalar + Zero,
Expand Down Expand Up @@ -124,7 +124,7 @@ where
.expect("Internal error: Invalid CsrMatrix format during dense-> CSR conversion")
}

/// Converts a [`CooMatrix`] to a [`CscMatrix`].
/// Converts a [`CooMatrix`] to a [`CscMatrix`] summing duplicates.
pub fn convert_coo_csc<T>(coo: &CooMatrix<T>) -> CscMatrix<T>
where
T: Scalar + Zero,
Expand Down
2 changes: 1 addition & 1 deletion nalgebra-sparse/src/coo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use crate::SparseFormatError;
/// arrays `row_indices`, `col_indices` and `values` that constitute the coordinate triplets
/// of the matrix. The indices must be in bounds, but *duplicate entries are explicitly allowed*.
/// Upon conversion to other formats, the duplicate entries may be summed together. See the
/// documentation for the respective conversion functions.
/// documentation for the respective [conversion](crate::convert) functions.
///
/// # Examples
///
Expand Down
2 changes: 1 addition & 1 deletion nalgebra-sparse/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
//!
//! ```toml
//! [dependencies]
//! nalgebra_sparse = "0.1"
//! nalgebra_sparse = "0.11"
//! ```
//!
//! # Supported matrix formats
Expand Down