Skip to main content

TrfTrial

Struct TrfTrial 

Source
pub struct TrfTrial {
Show 32 fields pub iteration: usize, pub x: Vec<f64>, pub f: Vec<f64>, pub j: Vec<f64>, pub g: Vec<f64>, pub d: Vec<f64>, pub j_h: Vec<f64>, pub diag_h: Vec<f64>, pub g_h: Vec<f64>, pub theta: f64, pub right_vectors: Vec<f64>, pub g_norm: f64, pub v: Vec<f64>, pub dv: Vec<f64>, pub delta: f64, pub s: Vec<f64>, pub uf: Vec<f64>, pub alpha_in: f64, pub alpha_out: f64, pub n_iter: usize, pub full_rank: bool, pub p_h: Vec<f64>, pub select: SelectTrace, pub step: Vec<f64>, pub step_h: Vec<f64>, pub x_new: Vec<f64>, pub actual_reduction: f64, pub predicted_reduction: f64, pub ratio: f64, pub delta_new: f64, pub accepted: bool, pub jacobian_recomputed: bool,
}

Fields§

§iteration: usize§x: Vec<f64>§f: Vec<f64>§j: Vec<f64>

Row-major unscaled Jacobian at this trial’s base point.

§g: Vec<f64>§d: Vec<f64>§j_h: Vec<f64>§diag_h: Vec<f64>§g_h: Vec<f64>§theta: f64§right_vectors: Vec<f64>

Row-major right singular vectors; column signs match uf.

§g_norm: f64§v: Vec<f64>§dv: Vec<f64>§delta: f64§s: Vec<f64>§uf: Vec<f64>§alpha_in: f64§alpha_out: f64§n_iter: usize§full_rank: bool§p_h: Vec<f64>§select: SelectTrace§step: Vec<f64>§step_h: Vec<f64>§x_new: Vec<f64>§actual_reduction: f64§predicted_reduction: f64§ratio: f64§delta_new: f64§accepted: bool§jacobian_recomputed: bool

Trait Implementations§

Source§

impl Debug for TrfTrial

Source§

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

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

impl Default for TrfTrial

Source§

fn default() -> Self

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

impl Serialize for TrfTrial

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

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> ByRef<T> for T

Source§

fn by_ref(&self) -> &T

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Imply<T> for U
where T: ?Sized, U: ?Sized,

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, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

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

fn try_from(value: U) -> Result<T, !>

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.