LMMSE

Struct LMMSE 

Source
#[repr(C)]
pub struct LMMSE {
Show 35 fields pub d__idx: *mut c_int, pub PS_E_N_PX: c_int, pub N_guide_star: c_int, pub N_mmse_star: c_int, pub offset: c_int, pub N_SIDE_LENSLET_: c_int, pub NP: c_int, pub NS: c_int, pub osf: c_int, pub d__ce: *mut f32, pub d__phase_est: *mut f32, pub d__phase_est_c: *mut f32, pub d__phase_est_i: *mut f32, pub d__x: *mut f32, pub d__zp_x: *mut f32, pub aa: aaStats, pub aaCov: BTBT, pub pa: paStats, pub paCov: GBTBT, pub iSolve: iterativeSolvers, pub tid: stopwatch, pub nnz: c_int, pub NI: c_int, pub csrValH: *mut f32, pub csrColIndH: *mut c_int, pub csrRowPtrH: *mut c_int, pub alpha: f32, pub beta: f32, pub elapsed_time: f32, pub cudaStat: cudaError_t, pub status: cusparseStatus_t, pub handle: cusparseHandle_t, pub descr: cusparseMatDescr_t, pub start: cudaEvent_t, pub stop: cudaEvent_t,
}

Fields§

§d__idx: *mut c_int§PS_E_N_PX: c_int§N_guide_star: c_int§N_mmse_star: c_int§offset: c_int§N_SIDE_LENSLET_: c_int§NP: c_int§NS: c_int§osf: c_int§d__ce: *mut f32§d__phase_est: *mut f32§d__phase_est_c: *mut f32§d__phase_est_i: *mut f32§d__x: *mut f32§d__zp_x: *mut f32§aa: aaStats§aaCov: BTBT§pa: paStats§paCov: GBTBT§iSolve: iterativeSolvers§tid: stopwatch§nnz: c_int§NI: c_int§csrValH: *mut f32§csrColIndH: *mut c_int§csrRowPtrH: *mut c_int§alpha: f32§beta: f32§elapsed_time: f32§cudaStat: cudaError_t§status: cusparseStatus_t§handle: cusparseHandle_t§descr: cusparseMatDescr_t§start: cudaEvent_t§stop: cudaEvent_t

Implementations§

Source§

impl LMMSE

Source

pub unsafe fn setup( &mut self, atm: *mut atmosphere, guide_star: *mut source, mmse_star: *mut source, sampling: f32, N: c_int, solver_id: *mut c_char, )

Source

pub unsafe fn setup1( &mut self, atm: *mut atmosphere, guide_star: *mut source, mmse_star: *mut source, sampling: f32, N: c_int, pupil: *mut mask, solver_id: *mut c_char, )

Source

pub unsafe fn setup2( &mut self, atm: *mut atmosphere, guide_star: *mut source, mmse_star: *mut source, sampling: f32, N: c_int, pupil: *mut mask, solver_id: *mut c_char, wavefront_osf: c_int, )

Source

pub unsafe fn setup3( &mut self, atm: *mut atmosphere, guide_star: *mut source, sampling: f32, _N_SIDE_LENSLET_: c_int, pupil: *mut mask, solver_id: *mut c_char, wavefront_osf: c_int, z_radius: f32, )

Source

pub unsafe fn setup4( &mut self, atm: *mut atmosphere, guide_star: *mut source, mmse_star: *mut source, wfs: *mut shackHartmann, solver_id: *mut c_char, )

Source

pub unsafe fn setup5( &mut self, atm: *mut atmosphere, guide_star: *mut source, mmse_star: *mut source, wfs: *mut shackHartmann, solver_id: *mut c_char, osf_: c_int, pupil_: *mut mask, )

Source

pub unsafe fn cleanup(&mut self)

Source

pub unsafe fn estimation_old( &mut self, d__c: *mut f32, nMaxIteration: c_int, d__x0: *mut f32, )

Source

pub unsafe fn estimation_old1(&mut self, d__c: *mut f32, nMaxIteration: c_int)

Source

pub unsafe fn estimation(&mut self, cog: *const centroiding)

Source

pub unsafe fn estimation1(&mut self, wfs: *mut shackHartmann)

Source

pub unsafe fn reset(&mut self)

Source

pub unsafe fn set_phase_est_ptr(&mut self, data_ptr: *mut f32)

Source

pub unsafe fn toFile(&mut self, filename: *const c_char)

Trait Implementations§

Source§

impl Clone for LMMSE

Source§

fn clone(&self) -> LMMSE

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for LMMSE

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for LMMSE

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for LMMSE

Source§

impl Send for LMMSE

Auto Trait Implementations§

§

impl Freeze for LMMSE

§

impl RefUnwindSafe for LMMSE

§

impl !Sync for LMMSE

§

impl Unpin for LMMSE

§

impl UnwindSafe for LMMSE

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.