This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Do I have to make the source code (which uses Eigen) public?

Tags: eigen eigen eigen
(comma "," separated)
rongliu
Registered Member
Posts
2
Karma
0
Hi All,

First, thank you all for your excillent work about Eigen.
I use Eigen to implement a feature for our company's commercial application. The new feature will be compiled to a dll and will be included in our application (execution form). I didn't make any changes to the Eigen files, and just use its methods and data structures to implement our own feature. Please check the code example below:
-------------------------------------------------------------------------------------
#include <Eigen/Dense>

MatrixXd readCSV(std::string fileName, int count)
{
.......
}
bool FindCurve()
{
....
MatrixXd sourceCurve = readCSV("./DataSet/rt_14.csv", rtCount);
MatrixXd rmData = readCSV("./DataSet/GAMMA_CPS_rm_resample.csv", rmCount);
auto xMean = sourceCurve.col(1).mean();
VectorXd colVector = MatrixXd::Ones(rtCount, 1);
VectorXd sourceVector = (sourceCurve.col(1) - colVector * xMean);
auto xNorm = sourceVector.lpNorm<2>();
...
}
---------------------------------------------------------------------------------------
Do I need to make this kind of files public? If yes, how can I avoid to make this source code available to users? Our company's software is huge and in execution form. It is a commercial software and closed-source.

Best Regards
Rong
rongliu
Registered Member
Posts
2
Karma
0
The laywer in our company said this kind of source code is not Modification. So I do not need to make these kind of code available to users.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kesang, Yahoo [Bot]