This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: blocks/views and wrappers


"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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]