pub struct MultilargeLinearWorkspace { /* private fields */ }
Available on crate feature v2_1 only.

Implementations§

source§

impl MultilargeLinearWorkspace

source

pub fn new(t: MultilargeLinearType, p: usize) -> Option<Self>

source

pub fn name(&self) -> Option<String>

source

pub fn reset(&mut self) -> Result<(), Value>

source

pub fn accumulate( &mut self, x: &mut MatrixF64, y: &mut VectorF64 ) -> Result<(), Value>

source

pub fn solve( &mut self, lambda: f64, c: &mut VectorF64 ) -> Result<(f64, f64), Value>

Returns (rnorm, snorm).

source

pub fn rcond(&mut self) -> Result<f64, Value>

Returns rcond.

source

pub fn lcurve( &mut self, reg_param: &mut VectorF64, rho: &mut VectorF64, eta: &mut VectorF64 ) -> Result<(), Value>

Available on crate feature v2_2 only.
source

pub fn wstdform1( &mut self, L: &VectorF64, X: &MatrixF64, w: &VectorF64, y: &VectorF64, Xs: &mut MatrixF64, ys: &mut VectorF64 ) -> Result<(), Value>

source

pub fn stdform1( &mut self, L: &VectorF64, X: &MatrixF64, y: &VectorF64, Xs: &mut MatrixF64, ys: &mut VectorF64 ) -> Result<(), Value>

source

pub fn wstdform2( &mut self, LQR: &MatrixF64, Ltau: &VectorF64, X: &MatrixF64, w: &VectorF64, y: &VectorF64, Xs: &mut MatrixF64, ys: &mut VectorF64 ) -> Result<(), Value>

source

pub fn stdform2( &mut self, LQR: &MatrixF64, Ltau: &VectorF64, X: &MatrixF64, y: &VectorF64, Xs: &mut MatrixF64, ys: &mut VectorF64 ) -> Result<(), Value>

source

pub fn genform1( &mut self, L: &VectorF64, cs: &VectorF64, c: &mut VectorF64 ) -> Result<(), Value>

source

pub fn genform2( &mut self, LQR: &MatrixF64, Ltau: &VectorF64, cs: &VectorF64, c: &mut VectorF64 ) -> Result<(), Value>

source

pub fn matrix<F: FnOnce(&MatrixF64)>(&self, f: F)

Available on crate feature v2_7 only.
source

pub fn rhs<F: FnOnce(&VectorF64)>(&self, f: F)

Available on crate feature v2_7 only.

Trait Implementations§

source§

impl Drop for MultilargeLinearWorkspace

source§

fn drop(&mut self)

Executes the destructor for this type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere 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 Twhere U: Into<T>,

§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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.