Brunobkr/llama.cpp_AlgMor24_github
ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.
03.1k
1export default function(polygon) {2 var i = -1,3 n = polygon.length,4 b = polygon[n - 1],5 xa,6 ya,7 xb = b[0],8 yb = b[1],9 perimeter = 0;10 11 while (++i < n) {12 xa = xb;13 ya = yb;14 b = polygon[i];15 xb = b[0];16 yb = b[1];17 xa -= xb;18 ya -= yb;19 perimeter += Math.hypot(xa, ya);20 }21 22 return perimeter;23}24 