MathGroup Archive 1992

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

Search the Archive

Compiling functions of vector argument

  • To: mathgroup at yoda.physics.unc.edu
  • Subject: Compiling functions of vector argument
  • From: barry at math.ucla.edu (Barry Merriman)
  • Date: Wed, 5 Feb 92 10:49:53 PST

Is there a way to Compile[ ] a function of a vector argument, say

F[{x1,x2,....,xn}] 


where n is very large (~ 100--1000)?
The allowed data types for compilation are all *scalar* (arggg!),
and I haven't had success with trying to declare a lists of variables.

For example, suppose one wanted to have a compiled version 

of the function

MatrixMultiply[m_, v_] := m.v

where m is a matrix and v is a vector. How close can one get to this?






  • Prev by Date: Mac Mma 2.0 as remote kernel
  • Next by Date: data transfer from Mma
  • Previous by thread: Mac Mma 2.0 as remote kernel
  • Next by thread: Nonexistent limits