Public Types | Public Member Functions

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

L2-norm. More...

#include <norm.hh>

Inheritance diagram for mln::fun::v2v::l2_norm< V, R >:
Inheritance graph

List of all members.

Public Types

typedef Function_v2v< void > category
typedef l2_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::l2_norm< V, R >

L2-norm.

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

See also:
mln::norm::l2.

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


Member Typedef Documentation

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

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

Definition at line 126 of file function.hh.

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

Definition at line 173 of file object.hh.

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

Definition at line 127 of file function.hh.

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

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


Member Function Documentation

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

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

References mln::norm::l2().