Skip to content

P and Q weights in C++ divergence and gradient superfluous and confusing #216

@jbrzensk

Description

@jbrzensk

Describe the bug
The P and Q weights in divergence.cpp and gradient.cpp and associated divergence.h and gradient.h are not technically correct and confuse users.

To Reproduce
View the source code

I suggest removing them, and implementing a similar function to weightsP.m and weightsQ.m.
It would be sufficient to just remove the references in the C++ code.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions