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

Add the specified `(xValue, yValue)` point to the data set&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
add(
    double xValue,
    double yValue);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *xValue*
| independent&hyphen;variable (X) coordinate of the point
| *yValue*
| dependent&hyphen;variable (Y) coordinate of the point
|===


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