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

added kernel der_laplacian_rbf #138

Merged
merged 4 commits into from
Apr 16, 2024
Merged

Conversation

wagnertheresa
Copy link

No description provided.

case 0 : value = (FABS(x)/c)*EXP(-FABS(x)/c); break;
default:
value = (POW(K(-1.0),(R)der))*((FABS(x)-(R)der*c)/POW(c,(R)der+1))*EXP(-FABS(x)/c);
if (x < K(0.0))
Copy link
Member

Choose a reason for hiding this comment

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

You could also write if ((x < K(0.0)) && (der % 2)) value *= K(-1.0)

@jenskeiner
Copy link
Contributor

jenskeiner commented Apr 12, 2024 via email

@passscoed passscoed merged commit 8bec1ef into NFFT:develop Apr 16, 2024
1 check passed
@michaelquellmalz michaelquellmalz added this to the 3.5.4 milestone Apr 25, 2024
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.

4 participants