1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
use superlu_sys::SuperMatrix; use types::*; #[derive(Clone, Copy)] #[repr(C)] pub struct FloorplanMatrix_t { pub ColumnPointers: *mut CellIndex_t, pub RowIndices: *mut CellIndex_t, pub Values: *mut Source_t, pub NRows: CellIndex_t, pub NColumns: CellIndex_t, pub NNz: CellIndex_t, pub SLUMatrix: SuperMatrix, } extern "C" { pub fn floorplan_matrix_multiply(flpmatrix: *mut FloorplanMatrix_t, x: *mut Source_t, b: *mut Source_t); }