pub struct RayProblem {
pub unknown: Unknown,
pub residual: Residual,
pub object: ObjSpec,
pub pupil: [f64; 2],
pub wave: usize,
pub tol: f64,
pub max_iter: usize,
}Expand description
解く問題
Fields§
§unknown: Unknown§residual: Residual§object: ObjSpec物点 [mm](有限物体)か、無限遠物体の方向(物体空間の単位ベクトル)。未知数が物点なら初期値
pupil: [f64; 2]瞳座標。未知数が瞳座標なら初期値
wave: usize波長の番号
tol: f64残差の許容(位置は mm、方向余弦はそのまま)
max_iter: usizeImplementations§
Source§impl RayProblem
impl RayProblem
Trait Implementations§
Source§impl Clone for RayProblem
impl Clone for RayProblem
impl Copy for RayProblem
Source§impl Debug for RayProblem
impl Debug for RayProblem
Source§impl PartialEq for RayProblem
impl PartialEq for RayProblem
impl StructuralPartialEq for RayProblem
Auto Trait Implementations§
impl Freeze for RayProblem
impl RefUnwindSafe for RayProblem
impl Send for RayProblem
impl Sync for RayProblem
impl Unpin for RayProblem
impl UnsafeUnpin for RayProblem
impl UnwindSafe for RayProblem
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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