[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dynamic link questions
From: |
Andy+Alison Adler |
Subject: |
Re: dynamic link questions |
Date: |
Wed, 04 Nov 1998 19:01:29 -0500 |
>On 4-Nov-1998, Andy Adler <address@hidden> wrote:
>
>| I'm in the process of writing a first stab at a sparse matrix
>| library for octave, based on the SuperLU sparse library.
>| Many of the fuctions are working, and I'll be posting my version 0.1
>| later this month.
>|
>| I have a function x= spfun( a , "operation" , b )
>I think a better approach would be to define a sparse matrix data type
>and then create the necessary functions for performing operations on
>that data type. Then you can define functions to handle the
>operators you care about for same-type and mixed-type operations. You
>can also define a default conversion operator that will allow other
>operations to succeed, though that might not be a good thing to do for
>sparse matrices since you could easily run out of memory converting a
>sparse matrix to a full matrix.
Thanks for the reply.
Yes. I'm definitely planning to rewrite it to have a sparse matrix
data type at some point.
Right now, I'm doing it with a funtion because I want to minimize
the unknowns. I already can do DLD functions, and that means
that I know where my problems are comming from.
I'd also like to get some feedback on what's good and bad with
my initial version before I try the sparse data type.
andy