[patch] Toeplitz system solver
jules at codesourcery.com
Thu Sep 29 15:37:04 UTC 2005
This patch implements and tests the toeplitz system solver.
Implementation is based on the TASP C-VSIPL version.
To write a generic version that works for both real and complex, I
needed a conj function that works for both real and complex numbers.
However, the VSIPL++ conj is limited to just complex<T>. To get around
this, I added impl_conj (and impl_real and impl_imag) scalar and
element-wise functions that work for both real and complex (conj(real)
is just the identity function).
It may be worthwhile to make 'conj' have the same behavior as
'impl_conj'. This would let users write generic code that works for
both complex and real values.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the vsipl++