[#BloombergLP-bdlsta-LineFit-yMean]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlsta.adoc[bdlsta]::xref:BloombergLP/bdlsta/LineFit.adoc[LineFit]::yMean
:relfileprefix: ../../../
:mrdocs:

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

== Synopsis

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

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

== Return Value

mean of the Y values


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