<p>A fast approximation for the Euclidean distance, i.e., the <InlineEquation ID="IEq1"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="41598_2025_2793_Article_IEq1.gif" Format="GIF" Height="16" Rendition="HTML" Resolution="72" Type="Linedraw" Width="19" /> </InlineMediaObject> <EquationSource Format="TEX">\(L_2\)</EquationSource> </InlineEquation>-norm of a complex number was investigated. The problem is obtaining an initial estimate with minimal effort and maximum numerical precision. We show how to eliminate the square root computation and improve the precision of an approximation with just a few shifts and additions from 41% to just 4%. This corresponds to an improvement of precision from 1 bit to almost 5 bits. As successive Newton iterations double the number of bits, this eliminates the need for two initial iterations. For example, a result with 16-bit precision can be obtained by just two iterations instead of four. We implement the computation by using two types of basic neurons, namely a high-pass (HP) neuron and a low-pass (LP) neuron, in the Spiking Neural P systems framework.</p>

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Optimal approximate computation of Euclidean distance in spiking neural P systems framework

  • Otgonbayar Agvaan,
  • Gordon Cichon,
  • Uuganbaatar Dulamragchaa,
  • Hyun-chul Kim,
  • Seonuck Paek,
  • Tseren-Onolt Ishdorj

摘要

A fast approximation for the Euclidean distance, i.e., the \(L_2\) -norm of a complex number was investigated. The problem is obtaining an initial estimate with minimal effort and maximum numerical precision. We show how to eliminate the square root computation and improve the precision of an approximation with just a few shifts and additions from 41% to just 4%. This corresponds to an improvement of precision from 1 bit to almost 5 bits. As successive Newton iterations double the number of bits, this eliminates the need for two initial iterations. For example, a result with 16-bit precision can be obtained by just two iterations instead of four. We implement the computation by using two types of basic neurons, namely a high-pass (HP) neuron and a low-pass (LP) neuron, in the Spiking Neural P systems framework.