gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gcl-devel] blas and complex


From: Camm Maguire
Subject: Re: [Gcl-devel] blas and complex
Date: 23 Jul 2005 11:20:00 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Greetings!

Right now you need to double the array of the same type as the
real-part of the comlex, i.e. (make-array 20 :element-type long-float)
-> complex double blas vector of dimension 10.  Eventually  we can
make use of the gcc complex extensions.

2d arrays hav the leading dimension stored in x->a.a_dims[1] (or
[0]).  This gives the blas 'lda'. 

Take care,

Vanuxem Grégory <address@hidden> writes:

> Hi,
> 
> I run into problem with complex version of blas.
> How do you think someone can implement an interface of 
> complex version of blas.
> 
> For example:
> 
>     alpha * X + Y
> 
> how can i send alpha to c code ?
> A vector of two elements ?
> 
> And X, 2D-array of long-float ?
> 
> Cheers,
> 
> Greg
> 
> PS: there is an interface for cmucl or allegro named matlisp.
> It's use CLOS.
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Gcl-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/gcl-devel
> 
> 
> 

-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah




reply via email to

[Prev in Thread] Current Thread [Next in Thread]