[][src]Struct osqp_sys::OSQPData

#[repr(C)]pub struct OSQPData {
    pub n: osqp_int,
    pub m: osqp_int,
    pub P: *mut csc,
    pub A: *mut csc,
    pub q: *mut osqp_float,
    pub l: *mut osqp_float,
    pub u: *mut osqp_float,
}

Data structure

Fields

n: osqp_int

< number of variables n

m: osqp_int

< number of constraints m

P: *mut csc

< the upper triangular part of the quadratic cost matrix P in csc format (size n x n).

A: *mut csc

< linear constraints matrix A in csc format (size m x n)

q: *mut osqp_float

< dense array for linear part of cost function (size n)

l: *mut osqp_float

< dense array for lower bound (size m)

u: *mut osqp_float

< dense array for upper bound (size m)

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.