Skip to content

Commit

Permalink
Features:
Browse files Browse the repository at this point in the history
Bug Fixes/Re-organization:

	- Special Function Derived Elliptic E Integral #1 (3, 4, 5)
	- Special Function Derived Elliptic E Integral - Regular Hypergeometric Estimator (6, 7)
	- Special Function Derived Elliptic E Integral - Constructor (8, 9)
	- Special Function Derived Elliptic E Integral #2 (10)
	- Special Function Derived Elliptic K Integral #1 (11, 12, 13)
	- Special Function Derived Elliptic K Integral - Regular Hypergeometric Estimator (14, 15)
	- Special Function Derived Elliptic K Integral - Constructor (16, 17)
	- Special Function Derived Elliptic K Integral #2 (18)
	- Special Function Derived Jacobi #1 (19, 20, 21)
	- Special Function Derived Jacobi - Regular Hypergeometric Estimator (22, 23)
	- Special Function Derived Jacobi - Constructor (24, 25, 26)
	- Special Function Derived Jacobi #2 (27)
	- Special Function Derived Kummer (28, 29, 30)
	- Special Function Derived Kummer - Constructor (31, 32)
	- Special Function Derived Kummer - Regular Hypergeometric Estimator (33, 34)
	- Special Function Derived Kummer - Confluent Hypergeometric (35)
	- Special Function Derived Legendre #1 (36, 37, 38)
	- Special Function Derived Legendre - Regular Hypergeometric Estimator (39, 40)
	- Special Function Derived Legendre - Gamma Estimator (41, 42)
	- Special Function Derived Legendre Constructor (43, 44)
	- Special Function Derived Legendre #2 (45, 46, 47)
	- Special Function Derived Log Big Pi (48, 49, 50)
	- Special Function Derived Log Big Pi - Gamma Estimator (51, 52)
	- Special Function Derived Log Big Pi - Constructor (53, 54)
	- Special Function Derived Log Big Pi - Evaluate (55, 56)
	- Special Function Derived Log Big Pi - Weierstrass (57, 58)
	- Special Function Derived Log Big Pi - N Ellipsoid Volume (59, 60)


Samples:

IdeaDRIP:

	- High-Frequency Trading in a Limit Order Book - The Mid-Price Model of Stock (1-2)
  • Loading branch information
Lakshmik committed Feb 5, 2024
1 parent 2d8df70 commit 54a7a2b
Show file tree
Hide file tree
Showing 8 changed files with 289 additions and 158 deletions.
39 changes: 39 additions & 0 deletions ReleaseNotes/06_19_2023.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@

Features:

Bug Fixes/Re-organization:

- Special Function Derived Elliptic E Integral #1 (3, 4, 5)
- Special Function Derived Elliptic E Integral - Regular Hypergeometric Estimator (6, 7)
- Special Function Derived Elliptic E Integral - Constructor (8, 9)
- Special Function Derived Elliptic E Integral #2 (10)
- Special Function Derived Elliptic K Integral #1 (11, 12, 13)
- Special Function Derived Elliptic K Integral - Regular Hypergeometric Estimator (14, 15)
- Special Function Derived Elliptic K Integral - Constructor (16, 17)
- Special Function Derived Elliptic K Integral #2 (18)
- Special Function Derived Jacobi #1 (19, 20, 21)
- Special Function Derived Jacobi - Regular Hypergeometric Estimator (22, 23)
- Special Function Derived Jacobi - Constructor (24, 25, 26)
- Special Function Derived Jacobi #2 (27)
- Special Function Derived Kummer (28, 29, 30)
- Special Function Derived Kummer - Constructor (31, 32)
- Special Function Derived Kummer - Regular Hypergeometric Estimator (33, 34)
- Special Function Derived Kummer - Confluent Hypergeometric (35)
- Special Function Derived Legendre #1 (36, 37, 38)
- Special Function Derived Legendre - Regular Hypergeometric Estimator (39, 40)
- Special Function Derived Legendre - Gamma Estimator (41, 42)
- Special Function Derived Legendre Constructor (43, 44)
- Special Function Derived Legendre #2 (45, 46, 47)
- Special Function Derived Log Big Pi (48, 49, 50)
- Special Function Derived Log Big Pi - Gamma Estimator (51, 52)
- Special Function Derived Log Big Pi - Constructor (53, 54)
- Special Function Derived Log Big Pi - Evaluate (55, 56)
- Special Function Derived Log Big Pi - Weierstrass (57, 58)
- Special Function Derived Log Big Pi - N Ellipsoid Volume (59, 60)


Samples:

IdeaDRIP:

- High-Frequency Trading in a Limit Order Book - The Mid-Price Model of Stock (1-2)
Binary file modified ScheduleSheet.xlsx
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@

package org.drip.specialfunction.derived;

import org.drip.function.definition.R2ToR1;
import org.drip.specialfunction.definition.EllipticEIntegralEstimator;
import org.drip.specialfunction.definition.RegularHypergeometricEstimator;
import org.drip.specialfunction.hypergeometric.EulerQuadratureEstimator;

/*
* -*- mode: java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*/

/*!
* Copyright (C) 2025 Lakshmi Krishnamurthy
* Copyright (C) 2024 Lakshmi Krishnamurthy
* Copyright (C) 2023 Lakshmi Krishnamurthy
* Copyright (C) 2022 Lakshmi Krishnamurthy
* Copyright (C) 2021 Lakshmi Krishnamurthy
* Copyright (C) 2020 Lakshmi Krishnamurthy
Expand Down Expand Up @@ -78,7 +86,7 @@

/**
* <i>EllipticEIntegral</i> implements the Elliptic E Integral Function from the 2F1 Hyper-geometric
* Function. The References are:
* Function. The References are:
*
* <br><br>
* <ul>
Expand All @@ -103,45 +111,56 @@
* Wikipedia (2019): Hyper-geometric Function https://en.wikipedia.org/wiki/Hypergeometric_function
* </li>
* </ul>
*
* It provides the following functionality:
*
* <br><br>
* <ul>
* <li><b>Module </b> = <a href = "https://github.com/lakshmiDRIP/DROP/tree/master/ComputationalCore.md">Computational Core Module</a></li>
* <li><b>Library</b> = <a href = "https://github.com/lakshmiDRIP/DROP/tree/master/FunctionAnalysisLibrary.md">Function Analysis Library</a></li>
* <li><b>Project</b> = <a href = "https://github.com/lakshmiDRIP/DROP/tree/master/src/main/java/org/drip/specialfunction/README.md">Special Function Implementation Analysis</a></li>
* <li><b>Package</b> = <a href = "https://github.com/lakshmiDRIP/DROP/tree/master/src/main/java/org/drip/specialfunction/derived/README.md">Special Functions Derived using Others</a></li>
* <li><i>EllipticEIntegral</i> Constructor</li>
* <li>Retrieve the 2F1 Hyper-geometric Function Estimator</li>
* </ul>
*
* <br>
* <style>table, td, th {
* padding: 1px; border: 2px solid #008000; border-radius: 8px; background-color: #dfff00;
* text-align: center; color: #0000ff;
* }
* </style>
*
* <table style="border:1px solid black;margin-left:auto;margin-right:auto;">
* <tr><td><b>Module </b></td> <td><a href = "https://github.com/lakshmiDRIP/DROP/tree/master/ProductCore.md">Product Core Module</a></td></tr>
* <tr><td><b>Library</b></td> <td><a href = "https://github.com/lakshmiDRIP/DROP/tree/master/FixedIncomeAnalyticsLibrary.md">Fixed Income Analytics</a></td></tr>
* <tr><td><b>Project</b></td> <td><a href = "https://github.com/lakshmiDRIP/DROP/tree/master/src/main/java/org/drip/specialfunction/README.md">Special Function Implementation and Analysis</a></td></tr>
* <tr><td><b>Package</b></td> <td><a href = "https://github.com/lakshmiDRIP/DROP/tree/master/src/main/java/org/drip/specialfunction/derived/README.md">Special Functions Derived using Others</a></td></tr>
* </table>
*
* @author Lakshmi Krishnamurthy
*/

public class EllipticEIntegral extends org.drip.specialfunction.definition.EllipticEIntegralEstimator
public class EllipticEIntegral extends EllipticEIntegralEstimator
{
private org.drip.specialfunction.definition.RegularHypergeometricEstimator
_regularHypergeometricEstimator = null;
private RegularHypergeometricEstimator _regularHypergeometricEstimator = null;

/**
* EllipticEIntegral Constructor
* <i>EllipticEIntegral</i> Constructor
*
* @param logBetaEstimator Log Beta Estimator
* @param quadratureCount Quadrature Count
*
* @throws java.lang.Exception Thrown if the Inputs are Invalid
* @throws Exception Thrown if the Inputs are Invalid
*/

public EllipticEIntegral (
final org.drip.function.definition.R2ToR1 logBetaEstimator,
final R2ToR1 logBetaEstimator,
final int quadratureCount)
throws java.lang.Exception
throws Exception
{
super();

_regularHypergeometricEstimator = new
org.drip.specialfunction.hypergeometric.EulerQuadratureEstimator (
hypergeometricParameters(),
logBetaEstimator,
quadratureCount
);
_regularHypergeometricEstimator = new EulerQuadratureEstimator (
hypergeometricParameters(),
logBetaEstimator,
quadratureCount
);
}

/**
Expand All @@ -150,16 +169,15 @@ public EllipticEIntegral (
* @return The 2F1 Hyper-geometric Function Estimator
*/

public org.drip.specialfunction.definition.RegularHypergeometricEstimator
regularHypergeometricEstimator()
public RegularHypergeometricEstimator regularHypergeometricEstimator()
{
return _regularHypergeometricEstimator;
}

@Override public double ellipticEIntegral (
final double k)
throws java.lang.Exception
throws Exception
{
return 0.5 * java.lang.Math.PI * _regularHypergeometricEstimator.regularHypergeometric (k * k);
return 0.5 * Math.PI * _regularHypergeometricEstimator.regularHypergeometric (k * k);
}
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@

package org.drip.specialfunction.derived;

import org.drip.function.definition.R2ToR1;
import org.drip.specialfunction.definition.EllipticKIntegralEstimator;
import org.drip.specialfunction.definition.RegularHypergeometricEstimator;
import org.drip.specialfunction.hypergeometric.EulerQuadratureEstimator;

/*
* -*- mode: java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*/

/*!
* Copyright (C) 2025 Lakshmi Krishnamurthy
* Copyright (C) 2024 Lakshmi Krishnamurthy
* Copyright (C) 2023 Lakshmi Krishnamurthy
* Copyright (C) 2022 Lakshmi Krishnamurthy
* Copyright (C) 2021 Lakshmi Krishnamurthy
* Copyright (C) 2020 Lakshmi Krishnamurthy
Expand Down Expand Up @@ -78,7 +86,7 @@

/**
* <i>EllipticKIntegral</i> implements the Elliptic K Integral Function from the 2F1 Hyper-geometric
* Function. The References are:
* Function. The References are:
*
* <br><br>
* <ul>
Expand All @@ -103,45 +111,56 @@
* Wikipedia (2019): Hyper-geometric Function https://en.wikipedia.org/wiki/Hypergeometric_function
* </li>
* </ul>
*
* It provides the following functionality:
*
* <br><br>
* <ul>
* <li><b>Module </b> = <a href = "https://github.com/lakshmiDRIP/DROP/tree/master/ComputationalCore.md">Computational Core Module</a></li>
* <li><b>Library</b> = <a href = "https://github.com/lakshmiDRIP/DROP/tree/master/FunctionAnalysisLibrary.md">Function Analysis Library</a></li>
* <li><b>Project</b> = <a href = "https://github.com/lakshmiDRIP/DROP/tree/master/src/main/java/org/drip/specialfunction/README.md">Special Function Implementation Analysis</a></li>
* <li><b>Package</b> = <a href = "https://github.com/lakshmiDRIP/DROP/tree/master/src/main/java/org/drip/specialfunction/derived/README.md">Special Functions Derived using Others</a></li>
* <li><i>EllipticKIntegral</i> Constructor</li>
* <li>Retrieve the 2F1 Hyper-geometric Function Estimator</li>
* </ul>
*
* <br>
* <style>table, td, th {
* padding: 1px; border: 2px solid #008000; border-radius: 8px; background-color: #dfff00;
* text-align: center; color: #0000ff;
* }
* </style>
*
* <table style="border:1px solid black;margin-left:auto;margin-right:auto;">
* <tr><td><b>Module </b></td> <td><a href = "https://github.com/lakshmiDRIP/DROP/tree/master/ProductCore.md">Product Core Module</a></td></tr>
* <tr><td><b>Library</b></td> <td><a href = "https://github.com/lakshmiDRIP/DROP/tree/master/FixedIncomeAnalyticsLibrary.md">Fixed Income Analytics</a></td></tr>
* <tr><td><b>Project</b></td> <td><a href = "https://github.com/lakshmiDRIP/DROP/tree/master/src/main/java/org/drip/specialfunction/README.md">Special Function Implementation and Analysis</a></td></tr>
* <tr><td><b>Package</b></td> <td><a href = "https://github.com/lakshmiDRIP/DROP/tree/master/src/main/java/org/drip/specialfunction/derived/README.md">Special Functions Derived using Others</a></td></tr>
* </table>
*
* @author Lakshmi Krishnamurthy
*/

public class EllipticKIntegral extends org.drip.specialfunction.definition.EllipticKIntegralEstimator
public class EllipticKIntegral extends EllipticKIntegralEstimator
{
private org.drip.specialfunction.definition.RegularHypergeometricEstimator
_regularHypergeometricEstimator = null;
private RegularHypergeometricEstimator _regularHypergeometricEstimator = null;

/**
* EllipticKIntegral Constructor
* <i>EllipticKIntegral</i> Constructor
*
* @param logBetaEstimator Log Beta Estimator
* @param quadratureCount Quadrature Count
*
* @throws java.lang.Exception Thrown if the Inputs are Invalid
* @throws Exception Thrown if the Inputs are Invalid
*/

public EllipticKIntegral (
final org.drip.function.definition.R2ToR1 logBetaEstimator,
final R2ToR1 logBetaEstimator,
final int quadratureCount)
throws java.lang.Exception
throws Exception
{
super();

_regularHypergeometricEstimator = new
org.drip.specialfunction.hypergeometric.EulerQuadratureEstimator (
hypergeometricParameters(),
logBetaEstimator,
quadratureCount
);
_regularHypergeometricEstimator = new EulerQuadratureEstimator (
hypergeometricParameters(),
logBetaEstimator,
quadratureCount
);
}

/**
Expand All @@ -150,16 +169,15 @@ public EllipticKIntegral (
* @return The 2F1 Hyper-geometric Function Estimator
*/

public org.drip.specialfunction.definition.RegularHypergeometricEstimator
regularHypergeometricEstimator()
public RegularHypergeometricEstimator regularHypergeometricEstimator()
{
return _regularHypergeometricEstimator;
}

@Override public double ellipticKIntegral (
final double k)
throws java.lang.Exception
throws Exception
{
return 0.5 * java.lang.Math.PI * _regularHypergeometricEstimator.regularHypergeometric (k * k);
return 0.5 * Math.PI * _regularHypergeometricEstimator.regularHypergeometric (k * k);
}
}
Loading

0 comments on commit 54a7a2b

Please sign in to comment.