Problem passing long arrays to Interpolation-Objects from excel

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Problem passing long arrays to Interpolation-Objects from excel

Alexander Lotter
Hello all,

I was going to pass XArray and YArray to some interpolations objects using Excel (see Workbooks\Math\Interpolation.xls) for example.

Input parameter are vector<Real> or vector<Handle<Quote>>

In case of YArray it was object ids, and in case of XArray it was double numbers.

As the array was above 255 chars for YArray of quite long for the XArray I got errors

operToVectorImpl: error converting parameter XArray to type double
operToVectorImpl: error converting parameter YArray to type class ObjectHandler::property_t input value has type=error

Is there any workaround to pass long arrays?

I suppose the possible solution could be:

=CreateRealVector()
=AddValue(RealVectorID,Value)

Instead of passing numbers, one can pass VectorID to the XArray.

Cheers

Alexander