Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

## RE: [Vxl-users] (no subject)

 RE: [Vxl-users] (no subject) From: Geoffrey Cross - 2003-02-03 17:00:46 ```What sizes are A and B? Matlab has various specializations for small / sparse / non-double matrices, but aside from that I don't see how matlab could do it any faster than vnl. Geoff. > -----Original Message----- > From: vxl-users-admin@... [mailto:vxl-users- > admin@...] On Behalf Of Bettini > Sent: Monday, February 03, 2003 4:35 PM > To: vxl-users@... > Subject: [Vxl-users] (no subject) >=20 > Hi users, >=20 > does anyone know, or has anyone realized a function-operator to make = the > same element-by-element operations between matrices (i.e. = multiplication, > division,...), as efficient in terms of velocity of execution as in > Matlab? > I used a function-operator based on two for-cicles: >=20 > inline void mul_dot(vnl_matrix &A, vnl_matrix &B, > vnl_matrix &temp,const int &dim){ > unsigned int j; > for(unsigned int i=3D0; i for(j=3D0; j } > } >=20 > but it takes more time to run than the Matlab version. >=20 >=20 > Second question: I'm working on 3D matrices (the structure is a = vcl_vector > of vnl_matrix), but I have a problem of memory (stack error) in = running > the > algorithm when the 3D matrices have to many rows or columns (I need > 100x100x90 matrices). Does anyone know why? And does anyone know a > solution? >=20 > Thanks >=20 >=20 >=20 > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld =3D Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Vxl-users mailing list > Vxl-users@... > https://lists.sourceforge.net/lists/listinfo/vxl-users ```