Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kernel to cpp #29

Merged
merged 15 commits into from
Nov 28, 2024
Merged

Kernel to cpp #29

merged 15 commits into from
Nov 28, 2024

Conversation

terasakisatoshi
Copy link
Contributor

This PR closes #22 (partially). We design class structures based on Python implementation. For detailed method implementation, we borrowed from Julia.

Comment on lines +94 to +107
{
// List of kernels to test
std::vector<sparseir::RegularizedBoseKernel> kernels = {
// Symmetrized kernels
sparseir::LogisticKernel(40000.0).get_symmetrized(-1),
sparseir::RegularizedBoseKernel(35000.0).get_symmetrized(-1),
};
for (const auto &K : kernels)
{
REQUIRE(kernel_accuracy_test(K));
}
}
*/
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO Pass this test

@terasakisatoshi terasakisatoshi merged commit 703833f into main Nov 28, 2024
1 check passed
@terasakisatoshi terasakisatoshi deleted the terasaki/kernel-porting-python-to-cpp branch November 28, 2024 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Porting kernel.jl to C++
1 participant