Skip to content

Rewrite ROTMG to address cases not covered by the netlib algorithm #1480

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

Merged
merged 6 commits into from
Mar 4, 2018
Merged

Rewrite ROTMG to address cases not covered by the netlib algorithm #1480

merged 6 commits into from
Mar 4, 2018

Conversation

martin-frbg
Copy link
Collaborator

@martin-frbg martin-frbg commented Mar 3, 2018

Solution copied from the new implementation in gonum/gonum@58e39c9 by kortschak et al. based on an algorithm proposed by Tim Hopkins in 1998. Fixes #1452 (see reference to the original paper there).

based on the algorithm proposed by Tim Hopkins, see issue 1452 for the reference
also correct transposition of expected and observed values in error messages
Copy link
Contributor

@kortschak kortschak left a comment

Choose a reason for hiding this comment

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

This looks good with very minor preexisting nit.


//reference values as calulated by netlib blas
te_param[3]=1./4096.;
//reference values as calulated by gonum blas with rotmg rewritten to Hopkins' algorithm
Copy link
Contributor

Choose a reason for hiding this comment

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

Spelling of "calculated" if you want.

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.

2 participants