This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: blocks/views and wrappers
- Subject: Re: blocks/views and wrappers
- From: Gerard Jungman <jungman at lanl dot gov>
- Date: Tue, 05 Sep 2000 16:27:24 -0600
- CC: gsl-discuss at sources dot redhat dot com
- Organization: LANL T-8
- References: <39B54999.9BAEFF4A@netwood.net>
"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