Public Member Functions | Public Attributes

matrix_distance Struct Reference

Adaptor for passing a matrix by reference to template functions that take a callable distance function. More...

#include <dissimilarity.h>

List of all members.

Public Member Functions

 matrix_distance (const dissimilarity_matrix &m)
double operator() (size_t i, size_t j)

Public Attributes

const dissimilarity_matrixmat

Detailed Description

Adaptor for passing a matrix by reference to template functions that take a callable distance function.

Avoids copying distance matrix.

Definition at line 99 of file dissimilarity.h.


Constructor & Destructor Documentation

matrix_distance ( const dissimilarity_matrix m ) [inline]

Definition at line 101 of file dissimilarity.h.


Member Function Documentation

double operator() ( size_t  i,
size_t  j 
) [inline]

Definition at line 102 of file dissimilarity.h.


Member Data Documentation

Definition at line 100 of file dissimilarity.h.


The documentation for this struct was generated from the following file:
Muster. Copyright © 2010, Lawrence Livermore National Laboratory, LLNL-CODE-433662.
Distribution of Muster and its documentation is subject to terms of the Muster LICENSE.
Generated on Mon Dec 20 2010 using Doxygen 1.7.2