[−][src]Struct argmin::prelude::NoOperator
Methods
impl<T, U, H> NoOperator<T, U, H> where
H: Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
T: Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
U: Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
[src]
H: Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
T: Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
U: Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
pub fn new() -> NoOperator<T, U, H>
[src]
Trait Implementations
impl<T, U, H> Clone for NoOperator<T, U, H> where
H: Clone + Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
T: Clone + Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
U: Clone + Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
[src]
H: Clone + Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
T: Clone + Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
U: Clone + Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
fn clone(&self) -> NoOperator<T, U, H>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T, U, H> ArgminOp for NoOperator<T, U, H> where
H: Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
T: Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
U: Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
[src]
H: Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
T: Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
U: Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
type Param = T
Type of the parameter vector
type Output = U
Output of the operator. Most solvers expect f64
.
type Hessian = H
Type of Hessian
fn apply(
&self,
_p: &<NoOperator<T, U, H> as ArgminOp>::Param
) -> Result<<NoOperator<T, U, H> as ArgminOp>::Output, Error>
[src]
&self,
_p: &<NoOperator<T, U, H> as ArgminOp>::Param
) -> Result<<NoOperator<T, U, H> as ArgminOp>::Output, Error>
fn gradient(
&self,
_p: &<NoOperator<T, U, H> as ArgminOp>::Param
) -> Result<<NoOperator<T, U, H> as ArgminOp>::Param, Error>
[src]
&self,
_p: &<NoOperator<T, U, H> as ArgminOp>::Param
) -> Result<<NoOperator<T, U, H> as ArgminOp>::Param, Error>
fn hessian(
&self,
_p: &<NoOperator<T, U, H> as ArgminOp>::Param
) -> Result<<NoOperator<T, U, H> as ArgminOp>::Hessian, Error>
[src]
&self,
_p: &<NoOperator<T, U, H> as ArgminOp>::Param
) -> Result<<NoOperator<T, U, H> as ArgminOp>::Hessian, Error>
fn modify(
&self,
_p: &<NoOperator<T, U, H> as ArgminOp>::Param,
_t: f64
) -> Result<<NoOperator<T, U, H> as ArgminOp>::Param, Error>
[src]
&self,
_p: &<NoOperator<T, U, H> as ArgminOp>::Param,
_t: f64
) -> Result<<NoOperator<T, U, H> as ArgminOp>::Param, Error>
impl<T, U, H> Default for NoOperator<T, U, H> where
H: Default + Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
T: Default + Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
U: Default + Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
[src]
H: Default + Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
T: Default + Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
U: Default + Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
fn default() -> NoOperator<T, U, H>
[src]
impl<T, U, H> Debug for NoOperator<T, U, H> where
H: Debug + Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
T: Debug + Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
U: Debug + Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
[src]
H: Debug + Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
T: Debug + Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
U: Debug + Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
impl<'de, T, U, H> Deserialize<'de> for NoOperator<T, U, H> where
H: Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
T: Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
U: Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
[src]
H: Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
T: Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
U: Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
fn deserialize<__D>(
__deserializer: __D
) -> Result<NoOperator<T, U, H>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<NoOperator<T, U, H>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl<T, U, H> Serialize for NoOperator<T, U, H> where
H: Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
T: Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
U: Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
[src]
H: Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
T: Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
U: Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Auto Trait Implementations
impl<T, U, H> Send for NoOperator<T, U, H>
impl<T, U, H> Sync for NoOperator<T, U, H>
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
T: Send + Sync + UnwindSafe + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,