Are you trying to use the CNiVector and CNiMatrix classes directly or are you using one of the type definitions derived from these classes like
CNiReal64Vector or
CNiReal64Matrix? In general, you should use the CNiReal64Vector and CNiReal64Matrix classes (or one of the other typedefs, see
this article for more information). If you are using a CNiReal64Matrix, you should be able to assign a double to it using long indexers (i.e. "M(i,j)=d" where i and j are longs and d is a double).
If this does not solve your problem, please post the errors that you are getting and the code that is causing the
problem.
Tony
Measurement Studio