Created
June 9, 2009 15:07
-
-
Save bayerj/126567 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
double* derivs_p = get_derivatives(); | |
for (int i = 0; i < outdim; i++) | |
{ | |
for (int j = 0; j < indim; j++) | |
{ | |
derivs_p[i * indim + j] += source_p[i] * input_p[j]; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment