L1-norm. More...
#include <norm.hh>
Public Types | |
typedef Function_v2v< void > | category |
typedef l1_norm< V, R > | exact_t |
typedef void | mutable_result |
typedef R | result |
Public Member Functions | |
V | f_1 (const V &v, const R &r) const |
R | operator() (const V &v) const |
L1-norm.
V
is the type of input values; R
is the result type.
typedef Function_v2v<void> mln::Function_v2v< l1_norm< V, R > >::category [inherited] |
Reimplemented from mln::Function< l1_norm< V, R > >.
typedef l1_norm< V, R > mln::Object< l1_norm< V, R > >::exact_t [inherited] |
typedef void mln::Function_v2v< l1_norm< V, R > >::mutable_result [inherited] |
typedef R mln::fun::v2w_w2v::l1_norm< V, R >::result |
V mln::fun::v2w_w2v::l1_norm< V, R >::f_1 | ( | const V & | v, | |
const R & | r | |||
) | const [inline] |
References mln::norm::l1().
R mln::fun::v2w_w2v::l1_norm< V, R >::operator() | ( | const V & | v | ) | const [inline] |
References mln::norm::l1().