From: Gunter Winkler (guwi17_at_[hidden])
Date: 2008-05-27 15:04:14
Am Dienstag, 27. Mai 2008 20:58 schrieb Jeremy Conlin:
> I am trying to call LAPACK functions using ublas objects. The LAPACK
> functions require a pointer to the first array element of the matrix.
> I tried:
> matrix<double> A(3,3);
> and then pass A.data() as the pointer to the elements of A. The
> compiler didn't like that. What is the best way to get the pointer
> to the elements of A?
AFAIR: use &(A.data()) which is of type double*.
(if this does not work try A.data().data() or read the sources of the