From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12422 invoked by alias); 16 Oct 2009 13:59:58 -0000 Received: (qmail 12410 invoked by uid 22791); 16 Oct 2009 13:59:57 -0000 X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_05,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.network-theory.co.uk (HELO mail.network-theory.co.uk) (66.199.228.187) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 16 Oct 2009 13:59:54 +0000 Date: Fri, 16 Oct 2009 13:59:00 -0000 Message-ID: From: Brian Gough To: Tuomo Keskitalo Cc: James Bergstra , Gerard Jungman , GSL Discuss Mailing List Subject: Re: new double precision data structure? In-Reply-To: <4AC0DAA6.5030102@iki.fi> References: <48E25CA9.6080306@iki.fi> <49FB01D1.30000@iki.fi> <4A7ADFDC.9080408@iki.fi> <1251414774.23092.80.camel@manticore.lanl.gov> <1251414939.23092.82.camel@manticore.lanl.gov> <1253062179.23092.971.camel@manticore.lanl.gov> <4ABF1C3C.6070801@iki.fi> <7f1eaee30909270934v7ae7f4a6u6cbf9d16b099978b@mail.gmail.com> <4AC0DAA6.5030102@iki.fi> User-Agent: Wanderlust/2.14.0 (Africa) Emacs/22.2 Mule/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Message-Mac: 1a6f583ef97dc4e8925583095c204f0c Mailing-List: contact gsl-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gsl-discuss-owner@sourceware.org X-SW-Source: 2009-q4/txt/msg00020.txt.bz2 At Mon, 28 Sep 2009 18:47:50 +0300, Tuomo Keskitalo wrote: > On 09/27/2009 07:34 PM, James Bergstra wrote: > > Firstly, the ndarray untyped. The data is in a void * pointer or a > > char * pointer or something, and there is an extra enum-valued field > > that indicates what sort of elements make up the data. For example, 0 > > might mean int8, 1 might mean uint8, 2 might mean int32, 10 might mean > > float32, 11 float64, 12 complex64, and so on. There is support for > > This implies that GSL should support other elementary types than double. > What do people think about this? I think the types in multidimensional arrays ought to follow the existing arrangement and naming convention as for vector and matrices.