[Changeset]: octave_value(const ArrayN<octave_idx_type>&) constructor
David Bateman
David.Bateman at motorola.com
Mon Jun 30 08:54:28 CDT 2008
John W. Eaton wrote:
> On 26-Jun-2008, David Bateman wrote:
>
> | consider the attached changeset instead.
>
> It seems odd to me that the octave_value constructor that takes an
> Array<octave_idx_type> value would convert it to NDArray internally
> instead of storing it as an Array<octave_idx_type>. The other
> conversions also seem odd, but I guess we already have a few other
> constructors that have similar options. What about defining
> Array<octave_idx_type> to NDArray conversion with the options and then
> using the existing octave_value (const NDArray&) constructor instead?
> It seems to me that this approach might cause less trouble later if we
> decided we wanted an actual Array<octave_idx_type> value in the
> octave_value hierarchy.
>
> jwe
>
Ok, then here is take 3.
D.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch8267
Url: https://www.cae.wisc.edu/pipermail/octave-maintainers/attachments/20080630/ad6633c4/attachment.ksh
More information about the Octave-maintainers
mailing list