pub struct OrmtrArgs<'a, T> {
pub reflectors: MatrixMut<'a, T>,
pub tau: VectorMut<'a, T>,
pub matrix: MatrixMut<'a, T>,
pub workspace: &'a mut DeviceMemory<T>,
pub dev_info: &'a mut DeviceMemory<i32>,
}Expand description
Runtime buffers for Ormtr::run.
Fields§
§reflectors: MatrixMut<'a, T>§tau: VectorMut<'a, T>§matrix: MatrixMut<'a, T>§workspace: &'a mut DeviceMemory<T>§dev_info: &'a mut DeviceMemory<i32>Implementations§
Source§impl<'a, T> OrmtrArgs<'a, T>
impl<'a, T> OrmtrArgs<'a, T>
Sourcepub const fn new(
reflectors: MatrixMut<'a, T>,
tau: VectorMut<'a, T>,
matrix: MatrixMut<'a, T>,
workspace: &'a mut DeviceMemory<T>,
dev_info: &'a mut DeviceMemory<i32>,
) -> Self
pub const fn new( reflectors: MatrixMut<'a, T>, tau: VectorMut<'a, T>, matrix: MatrixMut<'a, T>, workspace: &'a mut DeviceMemory<T>, dev_info: &'a mut DeviceMemory<i32>, ) -> Self
Groups the reflector matrix, tau vector, target matrix, workspace, and info buffer.
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> !UnwindSafe for OrmtrArgs<'a, T>
impl<'a, T> Freeze for OrmtrArgs<'a, T>
impl<'a, T> RefUnwindSafe for OrmtrArgs<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for OrmtrArgs<'a, T>where
T: Send,
impl<'a, T> Sync for OrmtrArgs<'a, T>where
T: Sync,
impl<'a, T> Unpin for OrmtrArgs<'a, T>
impl<'a, T> UnsafeUnpin for OrmtrArgs<'a, T>
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