![]() |
Prev | Next | speed_main |
speed/
package/
package
option
seed
profile
,
the CppAD package is compiled and run with profiling to determine
where it is spending most of its time.
correct
,
all of the correctness tests are run.
all
,
all of the speed tests are run.
det_lu
,
the speed test for the
gradient of the determinant using LU factorization tests is run.
Each package defines a version of this speed test with the prototype
void speed_det_lu(size_t
size, size_t
repeat)
The argument size
is the number of rows and columns in the matrix.
The argument repeat is the number of different matrices
that the gradient is computed for.
In addition, a test that speed_det_lu
works correctly
is defined with the prototype
bool correct_det_lu(void)
det_minor
,
the speed test for
computing the gradient of the determinant using expansion by minors is run.
Each package defines a version of this speed test with the prototype
void speed_det_minor(size_t
size, size_t
repeat)
The argument size
is the number of rows and columns in the matrix.
The argument repeat is the number of different matrices
that the gradient is computed for.
In addition, a test that speed_det_minor
works correctly
is defined with the prototype
bool correct_det_minor(void)
poly
,
the speed test for computing the second derivative of a polynomial is run.
Each package defined a version for this speed test with the prototype
void speed_poly(size_t
size, size_t
repeat)
The argument size is the order of the polynomial
(the number of coefficients in the polynomial).
The argument repeat is the number of different argument
values that the polynomial will be differentiated at.
In addition, a test that speed_poly
works correctly
is defined with the prototype
bool correct_poly(void)
uniform_01(
seed)
before any of the testing routines (listed above) are called.