Public Types | Public Member Functions

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

L1-norm. More...

#include <norm.hh>

Inheritance diagram for mln::fun::v2v::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

operator() (const V &v) const

Detailed Description

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

L1-norm.

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

See also:
mln::norm::l1.

Definition at line 57 of file v2v/norm.hh.


Member Typedef Documentation

typedef Function_v2v<void> mln::Function_v2v< l1_norm< V, R > >::category [inherited]

Reimplemented from mln::Function< l1_norm< V, R > >.

Definition at line 126 of file function.hh.

typedef l1_norm< V, R > mln::Object< l1_norm< V, R > >::exact_t [inherited]

Definition at line 173 of file object.hh.

typedef void mln::Function_v2v< l1_norm< V, R > >::mutable_result [inherited]

Definition at line 127 of file function.hh.

template<typename V, typename R>
typedef R mln::fun::v2v::l1_norm< V, R >::result

Definition at line 59 of file v2v/norm.hh.


Member Function Documentation

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

Definition at line 93 of file v2v/norm.hh.

References mln::norm::l1().