|
Ublas : |
Subject: Re: [ublas] [Boost-ublas] How to use function calls in ublas expression
From: Jesse Perla (jesseperla_at_[hidden])
Date: 2009-06-23 07:29:16
On Tue, Jun 23, 2009 at 7:06 AM, <dariomt_at_[hidden]> wrote:
> I'd like to be able to write things like
>
> a = b + f(c)
>
> where
> a is a vector (or matrix)
> b, c are vector (or matrix) expressions
> f is a function to be applied to every element in c
>
Effective ublas has a great tutorial:
http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?Examples_-_How_To_Extend_UBLAS