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

Compiling fixes from other forks #17

Merged
merged 9 commits into from
May 24, 2019
Merged

Conversation

adehad
Copy link
Contributor

@adehad adehad commented May 23, 2019

Added in fixes from other forks.
Addresses:
#3 (indirectly, technically the transpose should be removed instead)
#6
#7

mrkrause and others added 9 commits June 16, 2017 16:28
Reformatted to remove MLint warnings
 - added commas for multiple output arguments,
 - removed redundant semicolons

Files end with one blank line and non-nested functions have "ends"
Dim now defaults to the first non-singular dimension, rather than just the first.
This matches most matlab functions a bit more closely.

For example, circ_mean([0 2*pi]) and circ_mean([0 2*pi]') now both return pi, rather than [0 2*pi] and pi, depending.
This way, warnings can be selectively turned on/off.
With the use of the logarithm of the gamma function, Hodges' exact formula for the p-value may be used reliably for sample sizes up to at least 10^7, if not greater. For n < 50, where the exact formula was previously implemented using nchoosek, the implementation using gammaln to compute the binomial coefficients agrees with that using nchoosek.

Co-Authored-By: Jacob Zavatone-Veth <[email protected]>
@philippberens philippberens merged commit be5b62c into circstat:master May 24, 2019
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