Type Alias CscMatrix

Source
pub type CscMatrix = NumCscMatrix<f64>;
Expand description

Defines an alias to NumCscMatrix with f64

Aliased Type§

struct CscMatrix { /* private fields */ }

Implementations§

Source§

impl CscMatrix

Source

pub fn write_matrix_market<P>( &self, full_path: &P, vismatrix: bool, ) -> Result<(), StrError>
where P: AsRef<OsStr> + ?Sized,

Writes a MatrixMarket file

§Input
  • full_path – may be a String, &str, or Path
  • vismatrix – generate a SMAT file for Vismatrix instead of a MatrixMarket
§Notes
  1. The vismatrix format is is similar to the MatrixMarket format without the header, and the indices start at zero.
  2. If the matrix is symmetric, then:
    • Only the lower triangle + diagonal will be written (standard MatrixMarket format)
    • For vismatrix, the full matrix will be written
§References