Dear Kayhan, The Hadamard vector product is not implemented in gmm. Of course it should not be difficult to implement it at least for dense vectors. It is similar to a sum of two vectors. The interface with the blas routines (SHAD, DHAD, CHAD and ZHAD) can be made also similarly to the sum of to dense vector (see gmm_blas_interface.h).
Yves. Kayhan Batmanghelich <[email protected]> a écrit : > Hello Everybody, > > I have a question and I would be thankful if anybody answer: > Part of my program needs efficient vector element-wise > mutiplication. I was wondering whether there is any command/function > implemented in gmm or getfem to interface with Hadamard vector > product (element-wise vector product) in the blas? If such module > does not exist in las or gmm, what is the most efficient way to do > that? > > > Regards, > Kayhan > > > > _______________________________________________ Getfem-users mailing list [email protected] https://mail.gna.org/listinfo/getfem-users
