src/seminorms.rs

branch
dev
changeset 32
56c8adc32b09
parent 0
eb3c7813b67a
child 35
b087e3eab191
equal deleted inserted replaced
30:bd13c2ae3450 32:56c8adc32b09
366 } 366 }
367 } 367 }
368 368
369 make_convolutionsupportgenerator_unaryop!(Neg, neg); 369 make_convolutionsupportgenerator_unaryop!(Neg, neg);
370 370
371 /// Trait for indicating that `Self` is Lipschitz with respect to the seminorm `D`.
372 pub trait Lipschitz<D> {
373 /// The type of floats
374 type FloatType : Float;
375
376 /// Returns the Lipschitz factor of `self` with respect to the seminorm `D`.
377 fn lipschitz_factor(&self, seminorm : &D) -> Option<Self::FloatType>;
378 }

mercurial