[Trilinos-Users] Epetra functor

Heroux, Mike MHeroux at CSBSJU.EDU
Thu May 22 11:37:43 MDT 2014


This is of course a great idea, and I have pondered such a construct, among several others.  However, there is no official template at this time.  If someone has one they have developed, I would like to know about it.



From: Veltz Romain <romain.veltz at inria.fr<mailto:romain.veltz at inria.fr>>
Date: Thursday, May 22, 2014 2:04 AM
To: "trilinos-users at software.sandia.gov<mailto:trilinos-users at software.sandia.gov>" <trilinos-users at software.sandia.gov<mailto:trilinos-users at software.sandia.gov>>
Subject: [Trilinos-Users] Epetra functor

Dear all,

I would like to apply a function double f(double) to every component of an Epetra_Vector. Is there a generic way to do so or I have to write a for-loop?

Thank you for your answer,


Veltz Romain

Neuromathcomp Project Team
Inria Sophia Antipolis Méditerranée
2004 Route des Lucioles-BP 93
FR-06902 Sophia Antipolis

More information about the Trilinos-Users mailing list