|
Ublas : |
From: Gunter Winkler (guwi17_at_[hidden])
Date: 2005-01-21 10:23:24
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Friday 21 January 2005 16:07, Ralf Denzer wrote:
> // a vector of matrices
> ublas::vector<ublas::matrix<double> > vofm;
> error: no matching function for call to
> matrix::matrix(int)
Is the problem connected to the zero convertability of objects used by vectors
and matrices? The error message looks like vector.resize(n) trying to create
zero matrices (instead of empty matrices).
@Ralf: Did you try to use derived class of ublas::matrix which has a
constructor my_matrix(int) that creates a matrix full of zeroes?
mfg
Gunter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFB8R51ghsXb/J0PcERAomXAJ4niwNrFVh5ozonWzhFJ+RRPTHTqACgzMYI
1Fxwu1BX+946wSvvXXtMGUU=
=t0kZ
-----END PGP SIGNATURE-----