pub struct TermValue {
pub default: bool,
pub value0: f64,
pub value: f64,
pub value_kind: String,
pub contrib0: f64,
pub contrib: f64,
pub rays: Option<RayCount>,
}Expand description
評価関数の項の値(最適化の前と後)
Fields§
§default: bool既定の評価関数の項か
value0: f64§value: f64§value_kind: String値の意味(目標のある項は量そのもの quantity、ない項は √Σr² の rms)
contrib0: f64評価関数への寄与 [%](最適化の前・後。重みを掛けた残差の 2 乗の和の割合、OpticStudio の % Contrib)
contrib: f64§rays: Option<RayCount>瞳の光線を並べる項の、最適化の後の光線の数
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TermValue
impl<'de> Deserialize<'de> for TermValue
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for TermValue
Auto Trait Implementations§
impl Freeze for TermValue
impl RefUnwindSafe for TermValue
impl Send for TermValue
impl Sync for TermValue
impl Unpin for TermValue
impl UnsafeUnpin for TermValue
impl UnwindSafe for TermValue
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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