mirror of
https://github.com/aicodix/dsp.git
synced 2026-04-27 14:30:36 +00:00
add default constructor
This commit is contained in:
parent
71ba720dc1
commit
e1671026da
1 changed files with 1 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ class SimpleLinearRegression
|
|||
{
|
||||
TYPE xint_, yint_, slope_;
|
||||
public:
|
||||
SimpleLinearRegression() : xint_(0), yint_(0), slope_(0) {}
|
||||
SimpleLinearRegression(TYPE *x, TYPE *y, int LEN)
|
||||
{
|
||||
TYPE avgX(0), avgY(0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue