[−][src]Struct ida::nonlinear::newton::Newton
Trait Implementations
impl<M> NLSolver<M> for Newton<M> where
M: ModelSpec,
M::Scalar: Float + NumRef + NumAssignRef + Debug + LowerExp,
[src]
M: ModelSpec,
M::Scalar: Float + NumRef + NumAssignRef + Debug + LowerExp,
fn new(size: usize, maxiters: usize) -> Self
[src]
fn solve<NLP, S1, S2, S3>(
&mut self,
problem: &mut NLP,
y0: ArrayBase<S1, Ix1>,
y: ArrayBase<S2, Ix1>,
w: ArrayBase<S3, Ix1>,
tol: M::Scalar,
call_lsetup: bool
) -> Result<(), Error> where
NLP: NLProblem<M>,
S1: Data<Elem = M::Scalar>,
S2: DataMut<Elem = M::Scalar>,
S3: Data<Elem = M::Scalar>,
[src]
&mut self,
problem: &mut NLP,
y0: ArrayBase<S1, Ix1>,
y: ArrayBase<S2, Ix1>,
w: ArrayBase<S3, Ix1>,
tol: M::Scalar,
call_lsetup: bool
) -> Result<(), Error> where
NLP: NLProblem<M>,
S1: Data<Elem = M::Scalar>,
S2: DataMut<Elem = M::Scalar>,
S3: Data<Elem = M::Scalar>,
fn get_num_iters(&self) -> usize
[src]
fn get_cur_iter(&self) -> usize
[src]
fn get_num_conv_fails(&self) -> usize
[src]
fn setup<S1>(&self, _y: &mut ArrayBase<S1, Ix1>) -> Result<(), Error> where
S1: DataMut<Elem = M::Scalar>,
[src]
S1: DataMut<Elem = M::Scalar>,
Description The optional function SUNNonlinSolSetup performs any solver setup needed for a nonlinear solve. Read more
impl<M: Clone + ModelSpec> Clone for Newton<M> where
M::Scalar: Clone,
[src]
M::Scalar: Clone,
fn clone(&self) -> Newton<M>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<M: Debug + ModelSpec> Debug for Newton<M> where
M::Scalar: Debug,
[src]
M::Scalar: Debug,
Auto Trait Implementations
impl<M> Send for Newton<M> where
<M as ModelSpec>::Scalar: Send,
<M as ModelSpec>::Scalar: Send,
impl<M> Sync for Newton<M> where
<M as ModelSpec>::Scalar: Sync,
<M as ModelSpec>::Scalar: Sync,
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,