pub struct MKLPardisoSolver { /* private fields */ }Implementations§
Source§impl MKLPardisoSolver
impl MKLPardisoSolver
pub fn set_num_threads(&mut self, num_threads: i32) -> Result<i32, PardisoError>
pub fn mkl_set_num_threads(num_threads: i32) -> Result<i32, MKLPardisoError>
pub fn mkl_set_num_threads_local( num_threads: i32, ) -> Result<i32, MKLPardisoError>
pub fn mkl_set_num_threads_pardiso( num_threads: i32, ) -> Result<i32, MKLPardisoError>
pub fn mkl_get_max_threads() -> Result<i32, MKLPardisoError>
pub fn mkl_get_max_threads_pardiso() -> Result<i32, MKLPardisoError>
pub fn mkl_set_dynamic(dynamic: i32) -> Result<(), MKLPardisoError>
Trait Implementations§
Source§impl Drop for MKLPardisoSolver
impl Drop for MKLPardisoSolver
Source§impl PardisoInterface for MKLPardisoSolver
impl PardisoInterface for MKLPardisoSolver
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 MKLPardisoSolver
impl RefUnwindSafe for MKLPardisoSolver
impl Send for MKLPardisoSolver
impl Sync for MKLPardisoSolver
impl Unpin for MKLPardisoSolver
impl UnwindSafe for MKLPardisoSolver
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