[[concept]]A metric or distance is a function that satisfies
This is part of the definition of a metric space.
functional analysis
Metric
If is a set then is a metric if
- (identifiability)
- (symmetry)
- (triangle inequality)
Reference
see also
Mentions
Mentions
const modules = await cJS() const COLUMNS = [ { id: "Name", value: page => page.$link }, { id: "Last Modified", value: page => modules.dateTime.getLastMod(page) }, ]; return function View() { const current = dc.useCurrentFile(); // Selecting `#game` pages, for example. let queryString = `@page and linksto(${current.$link})`; let pages = dc.useQuery(queryString); // check types pages = pages.filter( (p) => !modules.typeCheck.checkAll(p, current) ).sort() return <dc.Table columns={COLUMNS} rows={pages} paging={20}/>; }
const { dateTime } = await cJS()
return function View() {
const file = dc.useCurrentFile();
return <p class="dv-modified">Created {dateTime.getCreated(file)} ֍ Last Modified {dateTime.getLastMod(file)}</p>
}