Basic Applied Topology Subprograms
latest
Contents:
Installation
Quick Start Guide
Tutorials
Examples
Library API
About BATS
Basic Applied Topology Subprograms
»
Library API
»
Template Struct AbstractMetric
Edit on GitHub
Template Struct AbstractMetric
¶
Defined in
File metric.hpp
Struct Documentation
¶
template
<
class
D
>
struct
AbstractMetric
¶
Public Functions
template
<
typename
T
>
inline
T
dist
(
const
VectorView
<
T
>
&
x
,
const
VectorView
<
T
>
&
y
)
const
¶
template
<
typename
T
>
inline
T
operator
()
(
const
VectorView
<
T
>
&
x
,
const
VectorView
<
T
>
&
y
)
const
¶
template
<
typename
T
>
inline
std
::
vector
<
T
>
operator
()
(
const
VectorView
<
T
>
&
x
,
const
DataSet
<
T
>
&
X
)
const
¶
template
<
typename
T
>
inline
Matrix
<
T
>
operator
()
(
const
DataSet
<
T
>
&
X
,
const
DataSet
<
T
>
&
Y
)
const
¶
template
<
typename
T
>
inline
Matrix
<
T
>
operator
()
(
const
DataSet
<
T
>
&
X
)
const
¶
Read the Docs
v: latest
Versions
latest
stable
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds