Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

Mapping of mapping functions in metadefinitons

  • To: mathgroup at smc.vnet.net
  • Subject: [mg21981] Mapping of mapping functions in metadefinitons
  • From: Roland Franzius <Roland.Franzius at uos.de>
  • Date: Mon, 7 Feb 2000 13:02:32 -0500 (EST)
  • Organization: RRZN - Newsserver Test
  • Sender: owner-wri-mathgroup at wolfram.com

Hi all,

I have a problem in using metafunctions defining groups of
other functions. Having a group f={f1,f2,f3} of vector
functions I may define the functor bs=
SetDelayed[#[a_vector,b_vector] , Inner[Times,a,b,#]]&  and
apply it as Map[bs,f]. To generate the function behaviour for
numbers and vectors like 
f1[a_Integer,b_vector]:=Map[f1[a,#]&,b] I seek a possibilty to
use a functor  fs=SetDelayed[#[a_Integer,b_vector],
Map[Function[x,Times[a,x],b]]& to use it as Map[fs,f]. Any
suggestions using Through, Thread, Scan, Hold? Or have I togo
back  compiling string and execute them?  

Thanks roland 
-- 
Roland Franzius
Theor. Physik FB Physik, Univ. Osnabrueck

  +++ exactly <<n>> lines of this message have value <<FALSE>>
+++


  • Prev by Date: Re: Bracket Trouble with IT Keyb.
  • Next by Date: Re: Cell Grouping Question
  • Previous by thread: Re: multiple subscripted variables in NDSolve; dsfun
  • Next by thread: Re: Mapping of mapping functions in metadefinitons