mathru 0.16.2

Fundamental algorithms for scientific computing in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
pub struct OptimResult<T> {
    arg: T,
}

impl<T> OptimResult<T> {
    pub fn new(arg: T) -> OptimResult<T> {
        OptimResult { arg }
    }

    pub fn arg(self) -> T {
        self.arg
    }
}