[#BloombergLP-bdlsta-Moment-0d-mean]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlsta.adoc[bdlsta]::xref:BloombergLP/bdlsta/Moment-0d.adoc[Moment&lt;BloombergLP&colon;&colon;bdlsta&colon;&colon;MomentLevel&colon;&colon;e&lowbar;M2&gt;]::mean
:relfileprefix: ../../../
:mrdocs:

Return the mean of the data set&period; The behavior is undefined unless `1 &lt;&equals; count`&period;

== Synopsis

Declared in `&lt;bdlsta&lowbar;moment&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
double
mean() const;
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
