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

Add dims argument to pairwise #121

Merged
merged 3 commits into from
Feb 13, 2019
Merged

Add dims argument to pairwise #121

merged 3 commits into from
Feb 13, 2019

Conversation

nalimilan
Copy link
Member

This allows specifying whether observations are stored as columns (dims=2) or as rows (dims=1).
All functions are still written internally to perform computations over columns, computations over rows are supported by calling transpose on the matrices.

Add a deprecation to require specifying explicitly dims=1 or dims=2: contrary to this package, other implementations most frequently default to dims=1, and even in Julia the cov and cor functions default to dims=1.

Fixes #35.

This allows specifying whether observations are stored as columns (dims=2) or as rows (dims=1).
All functions are still written internally to perform computations over columns,
computations over rows are supported by calling transpose on the matrices.

Add a deprecation to require specifying explicitly dims=1 or dims=2: contrary to this package,
other implementations most frequently default to dims=1, and even in Julia the cov and cor functions
default to dims=1.
src/common.jl Outdated Show resolved Hide resolved
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.

None yet

2 participants