Skip to content

Commit bc5125a

Browse files
committed
Fixed headers attibution.
1 parent 4f6f68a commit bc5125a

File tree

8 files changed

+15
-39
lines changed

8 files changed

+15
-39
lines changed

hipparchus-core/src/main/java/org/hipparchus/distribution/continuous/HalfCauchyDistribution.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Licensed to the Apache Software Foundation (ASF) under one or more
2+
* Licensed to the Hipparchus project under one or more
33
* contributor license agreements. See the NOTICE file distributed with
44
* this work for additional information regarding copyright ownership.
55
* The ASF licenses this file to You under the Apache License, Version 2.0
@@ -15,10 +15,6 @@
1515
* limitations under the License.
1616
*/
1717

18-
/*
19-
* This is not the original file distributed by the Apache Software Foundation
20-
* It has been modified by the Hipparchus project
21-
*/
2218
package org.hipparchus.distribution.continuous;
2319

2420
import org.hipparchus.exception.LocalizedCoreFormats;
@@ -171,3 +167,4 @@ public boolean isSupportConnected() {
171167
return true;
172168
}
173169
}
170+

hipparchus-core/src/main/java/org/hipparchus/distribution/continuous/HalfNormalDistribution.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Licensed to the Apache Software Foundation (ASF) under one or more
2+
* Licensed to the Hipparchus project under one or more
33
* contributor license agreements. See the NOTICE file distributed with
44
* this work for additional information regarding copyright ownership.
55
* The ASF licenses this file to You under the Apache License, Version 2.0
@@ -15,11 +15,6 @@
1515
* limitations under the License.
1616
*/
1717

18-
/*
19-
* This is not the original file distributed by the Apache Software Foundation
20-
* It has been modified by the Hipparchus project
21-
*/
22-
2318
package org.hipparchus.distribution.continuous;
2419

2520
import org.hipparchus.exception.LocalizedCoreFormats;
@@ -201,3 +196,4 @@ public boolean isSupportConnected() {
201196
return true;
202197
}
203198
}
199+

hipparchus-core/src/main/java/org/hipparchus/distribution/continuous/InvGammaDistribution.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Licensed to the Apache Software Foundation (ASF) under one or more
2+
* Licensed to the Hipparchus project under one or more
33
* contributor license agreements. See the NOTICE file distributed with
44
* this work for additional information regarding copyright ownership.
55
* The ASF licenses this file to You under the Apache License, Version 2.0
@@ -15,10 +15,6 @@
1515
* limitations under the License.
1616
*/
1717

18-
/*
19-
* This is not the original file distributed by the Apache Software Foundation
20-
* It has been modified by the Hipparchus project
21-
*/
2218
package org.hipparchus.distribution.continuous;
2319

2420
import org.hipparchus.exception.LocalizedCoreFormats;
@@ -252,3 +248,4 @@ public boolean isSupportConnected() {
252248
return true;
253249
}
254250
}
251+

hipparchus-core/src/test/java/org/hipparchus/distribution/continuous/HalfCauchyDistributionTest.java

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Licensed to the Apache Software Foundation (ASF) under one or more
2+
* Licensed to the Hipparchus project under one or more
33
* contributor license agreements. See the NOTICE file distributed with
44
* this work for additional information regarding copyright ownership.
55
* The ASF licenses this file to You under the Apache License, Version 2.0
@@ -15,11 +15,6 @@
1515
* limitations under the License.
1616
*/
1717

18-
/*
19-
* This is not the original file distributed by the Apache Software Foundation
20-
* It has been modified by the Hipparchus project
21-
*/
22-
2318
package org.hipparchus.distribution.continuous;
2419

2520
import org.hipparchus.exception.MathIllegalArgumentException;
@@ -125,4 +120,5 @@ void testMoments() {
125120
assertTrue(Double.isNaN(dist.getNumericalMean()));
126121
assertTrue(Double.isNaN(dist.getNumericalVariance()));
127122
}
128-
}
123+
}
124+

hipparchus-core/src/test/java/org/hipparchus/distribution/continuous/HalfNormalDistributionTest.java

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Licensed to the Apache Software Foundation (ASF) under one or more
2+
* Licensed to the Hipparchus project under one or more
33
* contributor license agreements. See the NOTICE file distributed with
44
* this work for additional information regarding copyright ownership.
55
* The ASF licenses this file to You under the Apache License, Version 2.0
@@ -15,11 +15,6 @@
1515
* limitations under the License.
1616
*/
1717

18-
/*
19-
* This is not the original file distributed by the Apache Software Foundation
20-
* It has been modified by the Hipparchus project
21-
*/
22-
2318
package org.hipparchus.distribution.continuous;
2419

2520
import org.hipparchus.distribution.RealDistribution;
@@ -173,4 +168,5 @@ void testMoments() {
173168
assertEquals(dist.getNumericalMean(), mean, tol);
174169
assertEquals(dist.getNumericalVariance(), sd * sd, tol);
175170
}
176-
}
171+
}
172+

hipparchus-core/src/test/java/org/hipparchus/distribution/continuous/InvGammaDistributionTest.java

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Licensed to the Apache Software Foundation (ASF) under one or more
2+
* Licensed to the Hipparchus project under one or more
33
* contributor license agreements. See the NOTICE file distributed with
44
* this work for additional information regarding copyright ownership.
55
* The ASF licenses this file to You under the Apache License, Version 2.0
@@ -15,11 +15,6 @@
1515
* limitations under the License.
1616
*/
1717

18-
/*
19-
* This is not the original file distributed by the Apache Software Foundation
20-
* It has been modified by the Hipparchus project
21-
*/
22-
2318
package org.hipparchus.distribution.continuous;
2419

2520
import org.hipparchus.UnitTestUtils;
@@ -176,4 +171,5 @@ void testMoments() {
176171
assertEquals(four,dist.getNumericalVariance(),tol);
177172
}
178173

179-
}
174+
}
175+

hipparchus-core/src/test/resources/org/hipparchus/distribution/continuous/HalfCauchyDistributionTest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,3 @@
2525
print(halfcauchy.pdf(vals))
2626
print("Check if the results are consistent: ",np.allclose(pset, halfcauchy.cdf(vals)))
2727

28-

hipparchus-core/src/test/resources/org/hipparchus/distribution/continuous/InvGammaDistributionTest.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,3 @@ int main()
6565
return 0;
6666
}
6767

68-

0 commit comments

Comments
 (0)