nalgebra-sparse: reexport CooMatrix, CscMatrix, and CsrMatrix at the root of the crate.

This commit is contained in:
Crozet Sébastien 2021-02-25 11:03:27 +01:00
parent 4e4eeb2641
commit 98ae4f3818

View File

@ -155,6 +155,10 @@ use num_traits::Zero;
use std::error::Error; use std::error::Error;
use std::fmt; use std::fmt;
pub use self::coo::CooMatrix;
pub use self::csc::CscMatrix;
pub use self::csr::CsrMatrix;
/// Errors produced by functions that expect well-formed sparse format data. /// Errors produced by functions that expect well-formed sparse format data.
#[derive(Debug)] #[derive(Debug)]
pub struct SparseFormatError { pub struct SparseFormatError {