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

Optimize Lindemann Index Calculation Using Distance Vector #467

Closed
N720720 opened this issue Jun 3, 2024 · 1 comment · Fixed by #475
Closed

Optimize Lindemann Index Calculation Using Distance Vector #467

N720720 opened this issue Jun 3, 2024 · 1 comment · Fixed by #475
Assignees
Labels
enhancement New feature or request

Comments

@N720720
Copy link
Owner

N720720 commented Jun 3, 2024

🔈 Motivation

The initial implementation of the Lindemann index calculation utilized a square-form distance matrix. By switching to a distance vector, we save memory and enhance computational efficiency.

📝 Description of the Optimization

The optimization replaces the square-form distance matrix with a distance vector. This change reduces memory usage and improves computational performance. The distance vector requires $(n* \frac{(n-1)}{2} )$ storage space, compared to the $( n*n )$ space needed for a full distance matrix, where $( n )$ is the number of atoms.

@N720720 N720720 added the enhancement New feature or request label Jun 3, 2024
@N720720 N720720 self-assigned this Jun 3, 2024
Copy link

github-actions bot commented Jun 3, 2024

Hello @N720720, thank you for your interest in our work!

If this is a bug report, please provide screenshots and minimum viable code to reproduce your issue, otherwise we can not help you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging a pull request may close this issue.

1 participant