Next: The Image Package
Up: General size matrices and
Previous: Accumulated symmetric matrix eigendecomposition
Contents
Note that for the routines to fill a matrix/vector with values, described
in Sections 3.2.1.3 and 3.2.2.3, the values
provided in the single precision case must actually still be double precision,
because C has the restriction that floating point variable argument list
values must be double precision. So for instance, this won't work:
Gan_Vector_f vx;
gan_vecf_form ( &vx, 6 );
gan_vecf_fill_va ( &vx, 6, 1.0F, 2.0F, 3.0F, 4.0F, 5.0F, 6.0F ); /* WRONG */
Instead use
gan_vecf_fill_va ( &vx, 6, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ); /* RIGHT! */
If necessary use a (double) cast in front of each value.
2006-03-17