Public Types | Public Member Functions

mln::fun::v2w_w2v::l1_norm< V, R > Struct Template Reference

L1-norm. More...

#include <norm.hh>

Inheritance diagram for mln::fun::v2w_w2v::l1_norm< V, R >:
Inheritance graph

List of all members.

Public Types

typedef Function_v2v< void > category
typedef l1_norm< V, R > exact_t
typedef void mutable_result
typedef R result

Public Member Functions

f_1 (const V &v, const R &r) const
operator() (const V &v) const

Detailed Description

template<typename V, typename R>
struct mln::fun::v2w_w2v::l1_norm< V, R >

L1-norm.

V is the type of input values; R is the result type.

See also:
mln::norm::l1.

Member Typedef Documentation

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]
template<typename V , typename R >
typedef R mln::fun::v2w_w2v::l1_norm< V, R >::result

Member Function Documentation

template<typename V , typename R >
V mln::fun::v2w_w2v::l1_norm< V, R >::f_1 ( const V &  v,
const R &  r 
) const [inline]

References mln::norm::l1().

template<typename V , typename R >
R mln::fun::v2w_w2v::l1_norm< V, R >::operator() ( const V &  v  )  const [inline]

References mln::norm::l1().