chdh/commons-math-interpolation

Wrong license?

Juul opened this issue · 3 comments

Juul commented

Nice library but since you're porting from code that uses the Apache License 2.0 you probably aren't allowed to relicense under the MIT license.

chdh commented

The Java source file AkimaSplineInterpolator.java of the Apache Commons Math Library contains the following note:

This implementation is based on the Akima implementation in the CubicSpline
class in the Math.NET Numerics library.

The Math.NET Numerics Library uses the MIT license. CubicSpline.cs contains the original code for some of the interpolation functions.

I thought that when they can change the license from MIT to Apache with the port from C# to Java, I can change it back to MIT when I port from Java to TypeScript.

The two licenses seem to be "compatible":

Therefore I assume that I am allowed to relicense the (heavily modified) TypeScript port unter the MIT license.

chdh commented

I have added the Apache copyright and a NOTICE file. Thanks for your issue. I hope the licensing is sufficiently correct now.

Juul commented

Thank you for the quick reply and yes I believe all is in order now!