RsBundle  Diff

Differences From Artifact [31ba5840b6]:

  • File src/lib.rs — part of check-in [bda0e2d65c] at 2019-07-30 08:11:07 on branch restructure — Move data structures like `DVector` and `Minorant` to `data` submodule (user: fifr size: 1182) [more...]

To Artifact [d09fe24ac0]:

  • File src/lib.rs — part of check-in [095240b3e2] at 2020-07-19 20:47:40 on branch minorant-trait — Make `Minorant` a trait (user: fifr size: 1192)

20
21
22
23
24
25
26
27

28
29
30
31
32
33
34
20
21
22
23
24
25
26

27
28
29
30
31
32
33
34







-
+







macro_rules! dvec {
    ( $ elem : expr ; $ n : expr ) => { DVector(vec![$elem; $n]) };
    ( $ ( $ x : expr ) , * ) => { DVector(vec![$($x),*]) };
    ( $ ( $ x : expr , ) * ) => { DVector(vec![$($x,)*]) };
}

mod data;
pub use data::{Aggregatable, DVector, Minorant, Real, Vector};
pub use data::{minorant::Minorant, Aggregatable, DVector, Real, Vector};

pub mod problem;

pub mod solver;

pub mod weighter;