Struct mosek::Domaintype

source ·
#[non_exhaustive]
pub struct Domaintype;
Expand description

Cone types

Implementations§

source§

impl Domaintype

source

pub const R: i32 = 0i32

R.

source

pub const RZERO: i32 = 1i32

The zero vector.

source

pub const RPLUS: i32 = 2i32

The positive orthant.

source

pub const RMINUS: i32 = 3i32

The negative orthant.

source

pub const QUADRATIC_CONE: i32 = 4i32

The quadratic cone.

source

pub const RQUADRATIC_CONE: i32 = 5i32

The rotated quadratic cone.

source

pub const PRIMAL_EXP_CONE: i32 = 6i32

The primal exponential cone.

source

pub const DUAL_EXP_CONE: i32 = 7i32

The dual exponential cone.

source

pub const PRIMAL_POWER_CONE: i32 = 8i32

The primal power cone.

source

pub const DUAL_POWER_CONE: i32 = 9i32

The dual power cone.

source

pub const PRIMAL_GEO_MEAN_CONE: i32 = 10i32

The primal geometric mean cone.

source

pub const DUAL_GEO_MEAN_CONE: i32 = 11i32

The dual geometric mean cone.

source

pub const SVEC_PSD_CONE: i32 = 12i32

The vectorized positive semidefinite cone.

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where 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 T
where 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 T
where 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 T
where 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.