pub struct PanuaPardisoSolver { /* private fields */ }Implementations§
Source§impl PanuaPardisoSolver
impl PanuaPardisoSolver
pub fn pardiso_chkmatrix( &self, mtype: MatrixType, n: i32, a: &[f64], ia: &[i32], ja: &[i32], ) -> Result<(), PanuaPardisoError>
pub fn pardiso_chkvec( &self, n: i32, nrhs: i32, b: &[f64], ) -> Result<(), PanuaPardisoError>
pub fn pardiso_printstats( &self, mtype: MatrixType, n: i32, a: &[f64], ia: &[i32], ja: &[i32], nrhs: i32, b: &[f64], ) -> Result<(), PanuaPardisoError>
Trait Implementations§
Source§impl Drop for PanuaPardisoSolver
impl Drop for PanuaPardisoSolver
Source§impl PardisoInterface for PanuaPardisoSolver
impl PardisoInterface for PanuaPardisoSolver
fn new() -> Result<Self, PardisoError>
fn pardisoinit(&mut self) -> Result<(), PardisoError>
fn pardiso( &mut self, a: &[f64], ia: &[i32], ja: &[i32], b: &mut [f64], x: &mut [f64], n: i32, nrhs: i32, ) -> Result<(), PardisoError>
fn name(&self) -> &'static str
fn is_licensed() -> bool
fn is_loaded() -> bool
fn get_num_threads(&self) -> Result<i32, PardisoError>
fn get_matrix_type(&self) -> MatrixType
fn set_matrix_type(&mut self, mtype: MatrixType)
fn get_solver(&self) -> SolverType
fn set_solver(&mut self, solver: SolverType)
fn get_phase(&self) -> Phase
fn set_phase(&mut self, phase: Phase)
fn get_message_level(&self) -> MessageLevel
fn set_message_level(&mut self, msglvl: MessageLevel)
fn get_maxfct(&self) -> i32
fn set_maxfct(&mut self, maxfct: i32)
fn get_mnum(&self) -> i32
fn set_mnum(&mut self, mnum: i32)
fn get_perm(&self) -> &[i32]
fn set_perm(&mut self, perm: &[i32])
fn get_iparm(&self, i: usize) -> i32
fn get_iparms(&self) -> &[i32; 64]
fn set_iparm(&mut self, i: usize, value: i32)
fn get_num_positive_eigenvalues(&self) -> i32
fn get_num_negative_eigenvalues(&self) -> i32
fn release(&mut self)
fn is_available() -> boolwhere
Self: Sized,
Auto Trait Implementations§
impl Freeze for PanuaPardisoSolver
impl RefUnwindSafe for PanuaPardisoSolver
impl Send for PanuaPardisoSolver
impl Sync for PanuaPardisoSolver
impl Unpin for PanuaPardisoSolver
impl UnsafeUnpin for PanuaPardisoSolver
impl UnwindSafe for PanuaPardisoSolver
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more