Over a million developers have joined DZone.

The Gaussian Function

DZone's Guide to

The Gaussian Function

· Java Zone
Free Resource

Just released, a free O’Reilly book on Reactive Microsystems: The Evolution of Microservices at Scale. Brought to you in partnership with Lightbend.

A Gaussian function is a function with the following form:


a, b, c and d are arbitrary real constants. The graph of a Gaussian is a characteristic symmetric "bell curve" shape that quickly falls off. 

The parameters:

  • a is the height of the curve's peak
  • b is the position of the center of the peak
  • c (the standard deviation, sometimes called the Gaussian RMS width) controls the width of the "bell"
  • d is the value that the function asymptotically approaches far from the peak (in practice d is often set to 0)

Two-dimensional Gaussian function

In two dimensions, the power to which e is raised in the Gaussian function is any negative-definite quadratic form. Consequently, the level sets of the Gaussian will always be ellipses.

  • A is the amplitude
  • xo,yo is the center
  • σx, σy are the x and y spreads of the blob

Strategies and techniques for building scalable and resilient microservices to refactor a monolithic application step-by-step, a free O'Reilly book. Brought to you in partnership with Lightbend.


Published at DZone with permission of Madhuka Udantha, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}