Over a million developers have joined DZone.

The Gaussian Function

DZone's Guide to

The Gaussian Function

· Java Zone
Free Resource

What every Java engineer should know about microservices: Reactive Microservices Architecture.  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

Microservices for Java, explained. Revitalize your legacy systems (and your career) with Reactive Microservices Architecture, 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.


Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.


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

{{ parent.tldr }}

{{ parent.urlSource.name }}