ufl team mailing list archive
-
ufl team
-
Mailing list archive
-
Message #00580
Re: abs
On Thu, Jan 01, 2009 at 04:43:24PM +0100, Martin Sandve Alnæs wrote:
> UFL supports absolute values of any scalar expression.
>
> Martin
What about vectors/tensors?
Perhaps we could add a mechanism for applying scalar-to-scalar
operators to all elements of a tensor (like .* etc in MATLAB).
Maybe something like this:
_.abs(expression)
We can have a module named _ that contains special versions of all
operators.
--
Anders
Attachment:
signature.asc
Description: Digital signature
Follow ups
-
Re: abs
From: Martin Sandve Alnæs, 2009-01-01
References
-
abs
From: Garth N. Wells, 2008-12-31
-
Re: abs
From: Martin Sandve Alnæs, 2009-01-01