|
From: Luigi B. <lui...@gm...> - 2005-11-16 11:45:02
|
On 11/15/2005 07:25:57 PM, Joseph Wang wrote: >>=20 > It's because I want to set extrapolate to true. At first I thought =20 > it would be easy to add it to C++ class, but that would break the =20 > bridge pattern. Joseph, it's done. You can check out the modified code and look at the =20 relevant test case in test-suite/interpolations.cpp to see how to =20 enable extrapolation. On an unrelated note, I'm not sure that the transform() method you =20 added really belongs to Array, since a) it just wraps a call to =20 std::transform, b) it is less flexible, being only self-applied while =20 std::transform allows writing to a different output array, and c) I'd =20 like to keep class interfaces as lean as possible. Would it be a major =20 inconvenience for you if I took it back? Later, Luigi ---------------------------------------- The shortest way to do many things is to do only one thing at once. -- Samuel Smiles |