|
Boost Users : |
Subject: Re: [Boost-users] MultiArray and point-wise product
From: mike marchywka (marchywka_at_[hidden])
Date: 2009-11-30 09:39:16
On 11/30/09, Claudio Martella <claudio.martella_at_[hidden]> wrote:
> Hello list,
>
> I'm trying to calculate point-wise product from a MultiArray (basically
> the adjacency list from the boost graph).
> Can anybody suggest how the point-wise product can be calculated in
> boost in the most efficient way (of course i can implement the function
> myself with a nested for())?
>
> For those not familiar with point-wise product, it's defined as:
>
> A[i,j] = B[i,j] * C[i,j]
>
>
I would answer definitively "it depends." It is likely speed will
be limited by caching on an ia32 machine and preservinb locality
will be a high-priority. So, overall performance probably also depends
on what other stuff you are doing and trying to do things
in blocks. So, I guess I'd be asking the boost people to address memory
allocation strategies in answer to this question. I think most people can avoid
VM but memory hierarchy may not always be considered.
> TIA
>
> /CM
>
> --
> Claudio Martella
> Digital Technologies
> Unit Research & Development - Analyst
>
> TIS innovation park
> Via Siemens 19 | Siemensstr. 19
> 39100 Bolzano | 39100 Bozen
> Tel. +39 0471 068 123
> Fax +39 0471 068 129
> claudio.martella_at_[hidden] http://www.tis.bz.it
>
> Short information regarding use of personal data. According to Section 13 of
> Italian Legislative Decree no. 196 of 30 June 2003, we inform you that we
> process your personal data in order to fulfil contractual and fiscal
> obligations and also to send you information regarding our services and
> events. Your personal data are processed with and without electronic means
> and by respecting data subjects' rights, fundamental freedoms and dignity,
> particularly with regard to confidentiality, personal identity and the right
> to personal data protection. At any time and without formalities you can
> write an e-mail to privacy_at_[hidden] in order to object the processing of
> your personal data for the purpose of sending advertising materials and also
> to exercise the right to access personal data and other rights referred to
> in Section 7 of Decree 196/2003. The data controller is TIS Techno
> Innovation Alto Adige, Siemens Street n. 19, Bolzano. You can find the
> complete information on the web si
> te www.tis.bz.it.
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
-- marchywka_at_[hidden] Mike Marchywka 586 Saint James Walk Marietta GA 30067-7165 415-264-8477 (w)<- use this 404-788-1216 (C)<- leave message 989-348-4796 (P)<- emergency only marchywka_at_[hidden] Note: If I am asking for free stuff, I normally use for hobby/non-profit information but may use in investment forums, public and private. Please indicate any concerns if applicable. Note: hotmail is censoring incoming mail using random criteria beyond my control and often hangs my browser but all my subscriptions are here..., try also marchywka_at_[hidden]
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net