pub struct Parameters { /* private fields */ }
Expand description

ResidualBlock’s internal representation of a problem parameters.

Implementations§

Creates a new Parameters from a vector of parameters, keeping in mind that each parameter is a f64 vector itself.

Number of parameters.

Parameter sizes.

Convert to vector of parameters, each parameter is vector of floats.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.