pub struct Mat {
pub ptr: uintptr_t,
pub should_free_on_drop: bool,
}
Expand description
Wraps isl_mat
.
Fields§
§ptr: uintptr_t
§should_free_on_drop: bool
Implementations§
Source§impl Mat
impl Mat
Sourcepub fn right_kernel(self) -> Mat
pub fn right_kernel(self) -> Mat
Wraps isl_mat_right_kernel
.
Sourcepub fn add_zero_rows(self, n: u32) -> Mat
pub fn add_zero_rows(self, n: u32) -> Mat
Wraps isl_mat_add_zero_rows
.
Sourcepub fn insert_zero_cols(self, first: u32, n: u32) -> Mat
pub fn insert_zero_cols(self, first: u32, n: u32) -> Mat
Wraps isl_mat_insert_zero_cols
.
Sourcepub fn lin_to_aff(self) -> Mat
pub fn lin_to_aff(self) -> Mat
Wraps isl_mat_lin_to_aff
.
Sourcepub fn unimodular_complete(self, row: i32) -> Mat
pub fn unimodular_complete(self, row: i32) -> Mat
Wraps isl_mat_unimodular_complete
.
Sourcepub fn insert_cols(self, col: u32, n: u32) -> Mat
pub fn insert_cols(self, col: u32, n: u32) -> Mat
Wraps isl_mat_insert_cols
.
Sourcepub fn add_zero_cols(self, n: u32) -> Mat
pub fn add_zero_cols(self, n: u32) -> Mat
Wraps isl_mat_add_zero_cols
.
Sourcepub fn vec_product(self, vec: Vec) -> Vec
pub fn vec_product(self, vec: Vec) -> Vec
Wraps isl_mat_vec_product
.
Sourcepub fn vec_inverse_product(self, vec: Vec) -> Vec
pub fn vec_inverse_product(self, vec: Vec) -> Vec
Wraps isl_mat_vec_inverse_product
.
Sourcepub fn from_row_vec(vec: Vec) -> Mat
pub fn from_row_vec(vec: Vec) -> Mat
Wraps isl_mat_from_row_vec
.
Sourcepub fn get_element_val(&self, row: i32, col: i32) -> Val
pub fn get_element_val(&self, row: i32, col: i32) -> Val
Wraps isl_mat_get_element_val
.
Sourcepub fn initial_non_zero_cols(&self) -> i32
pub fn initial_non_zero_cols(&self) -> i32
Wraps isl_mat_initial_non_zero_cols
.
Sourcepub fn insert_rows(self, row: u32, n: u32) -> Mat
pub fn insert_rows(self, row: u32, n: u32) -> Mat
Wraps isl_mat_insert_rows
.
Sourcepub fn inverse_product(self, right: Mat) -> Mat
pub fn inverse_product(self, right: Mat) -> Mat
Wraps isl_mat_inverse_product
.
Sourcepub fn row_basis_extension(self, mat2: Mat) -> Mat
pub fn row_basis_extension(self, mat2: Mat) -> Mat
Wraps isl_mat_row_basis_extension
.
Sourcepub fn vec_concat(self, bot: Vec) -> Mat
pub fn vec_concat(self, bot: Vec) -> Mat
Wraps isl_mat_vec_concat
.
Sourcepub fn aff_direct_sum(self, right: Mat) -> Mat
pub fn aff_direct_sum(self, right: Mat) -> Mat
Wraps isl_mat_aff_direct_sum
.
Sourcepub fn insert_zero_rows(self, row: u32, n: u32) -> Mat
pub fn insert_zero_rows(self, row: u32, n: u32) -> Mat
Wraps isl_mat_insert_zero_rows
.
Sourcepub fn normalize_row(self, row: i32) -> Mat
pub fn normalize_row(self, row: i32) -> Mat
Wraps isl_mat_normalize_row
.
Sourcepub fn right_inverse(self) -> Mat
pub fn right_inverse(self) -> Mat
Wraps isl_mat_right_inverse
.
Sourcepub fn has_linearly_independent_rows(&self, mat2: &Mat) -> bool
pub fn has_linearly_independent_rows(&self, mat2: &Mat) -> bool
Wraps isl_mat_has_linearly_independent_rows
.
Sourcepub fn do_not_free_on_drop(&mut self)
pub fn do_not_free_on_drop(&mut self)
Does not call isl_mat_free() on being dropped. (For internal use only.)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Mat
impl RefUnwindSafe for Mat
impl Send for Mat
impl Sync for Mat
impl Unpin for Mat
impl UnwindSafe for Mat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more