K
Kai I. H.
Hi,
is there an efficient way to convert a valarray< double > into double[]
without using a loop to copy each value from the valarray to the basic
array?
I use a valarray because I need the mathematical operations of
valarray. Now I want to use an extern function to transform my
valarray. The input should be my valarray. But the input parameter of
the extern function is of type double[]. The extern function was
programmed by someone else and I don't want to change this code.
Hope you can help me.
Thanks in advance.
Kai I. H.
is there an efficient way to convert a valarray< double > into double[]
without using a loop to copy each value from the valarray to the basic
array?
I use a valarray because I need the mathematical operations of
valarray. Now I want to use an extern function to transform my
valarray. The input should be my valarray. But the input parameter of
the extern function is of type double[]. The extern function was
programmed by someone else and I don't want to change this code.
Hope you can help me.
Thanks in advance.
Kai I. H.