src/euclidean.rs

branch
dev
changeset 146
3f9a03f95457
parent 132
89371dc4d637
child 150
c4e394a9c84c
equal deleted inserted replaced
145:0b9aecd7bb76 146:3f9a03f95457
5 use crate::instance::Instance; 5 use crate::instance::Instance;
6 use crate::linops::AXPY; 6 use crate::linops::AXPY;
7 use crate::norms::{HasDual, Reflexive}; 7 use crate::norms::{HasDual, Reflexive};
8 use crate::types::*; 8 use crate::types::*;
9 use std::ops::{Add, AddAssign, Sub, SubAssign}; 9 use std::ops::{Add, AddAssign, Sub, SubAssign};
10
11 pub mod wrap;
10 12
11 /// Space (type) with Euclidean and vector space structure 13 /// Space (type) with Euclidean and vector space structure
12 /// 14 ///
13 /// The type should implement vector space operations (addition, subtraction, scalar 15 /// The type should implement vector space operations (addition, subtraction, scalar
14 /// multiplication and scalar division) along with their assignment versions, as well 16 /// multiplication and scalar division) along with their assignment versions, as well

mercurial