Prev: PDE
Next: help me please!!
From: H on
Is it possible to form a sparse matrix that has its non-zero values in single precision. I'm handling huge (over 100,000 x 100,000) sparse matrices and needles to say having some serious memory shortages.

I tried
>> B=single(A);
where A is sparse matrix and got the following error:

??? Error using ==> single
Attempt to convert to unimplemented sparse type

I have no idea what unimplemented sparse type means here. Anyone got a clue?

All help is greatly appreciated! (even sarcastic in-your-face ones)
From: Bruno Luong on
"H " <mesta2000(a)hotmail.com> wrote in message <hm82j5$a0q$1(a)fred.mathworks.com>...
> Is it possible to form a sparse matrix that has its non-zero values in single precision. I'm handling huge (over 100,000 x 100,000) sparse matrices and needles to say having some serious memory shortages.
>
> I tried
> >> B=single(A);
> where A is sparse matrix and got the following error:
>
> ??? Error using ==> single
> Attempt to convert to unimplemented sparse type
>
> I have no idea what unimplemented sparse type means here. Anyone got a clue?
>

SPARSE matrix must be either DOUBLE or LOGICAL.

SINGLE-SPARSE is unimplemented (by Mathworks)

Bruno
 | 
Pages: 1
Prev: PDE
Next: help me please!!