GY-63_MS5611/libraries/DistanceTable
2018-01-09 00:11:37 +01:00
..
examples/distanceTable update example -> examples 2016-12-18 11:39:20 +01:00
DistanceTable.cpp Fix issue #33 2017-07-27 16:24:22 +02:00
DistanceTable.h Fix issue #33 2017-07-27 16:24:22 +02:00
keywords.txt Fix issue #33 2017-07-27 16:24:22 +02:00
library.json fix library.json keywords format 2018-01-09 00:11:37 +01:00
library.properties fix URL path in library.properties 2017-08-20 17:16:48 +02:00
readme.md Fix issue #33 2017-07-27 16:24:22 +02:00

DistanceTable Library

Description

The DistanceTable library is a class that stores a distance table which is typically x * x entries in less memory space. It uses x * (x-1)/2 ("in a triangle") as an eucledian distance table is symmetrical around its main diagonal. Furthermore the main diagonal are all zero.

An ATMEL328 (Arduino) can store a 30x30 matrix = 900 floats in 1740 bytes. Normally this amount would approx hold a 21x21 matrix (1764 bytes).

Operational

Trivial, see examples.