blocks/views and wrappers

Gerard Jungman jungman@lanl.gov
Tue Sep 5 15:24:00 GMT 2000


"E. Robert Tisdale" wrote:
> 
> You could give these types different names.
> For example, you could call vector views
> that reference a block owned by another view subvectors
> and simply call them vectors if they own their block.

Exposing different types would be wrong, since
the end user rarely cares about the distinction,
and certainly would not want to deal with the
proliferation of interfaces that this could entail.


> Still it might be a good idea to provide a synonym
> 
>         typedef gsl_vector gsl_subvector;

This seems harmless. It might
confuse more people than it helped.
Who knows.


-- 
G. Jungman


More information about the Gsl-discuss mailing list