Jump to content

Variants with two dimensions


Recommended Posts

Hi

I have an activex variant that gives this type of data (which I have get by a calling IProjectData):

A pointer to IProjectData in which the data matrix contains:

First dimension of the variant = number of observations in the model

Second dimension of the variant = number of components in the model+1 (the 0 component).

I have tried different ways to get the data out from the variant, making an array of cluster among other tested approaches.

Have any of you some suggestions what to do?

Some of the objects that I can get through IProjectdata are matrixes (with numerics) no problem with them only with those mentioned above.

Link to comment

QUOTE (Anders Björk @ Jan 20 2009, 05:40 PM)

I have an activex variant that gives this type of data (which I have get by a calling IProjectData):

A pointer to IProjectData in which the data matrix contains:

First dimension of the variant = number of observations in the model

Second dimension of the variant = number of components in the model+1 (the 0 component).

[...]

A fix seems to be do not wire the type in Variant to data...

I don't get it. If you still need a better fix, could you post a custom control, or something, which shows the data structure you're talking about? Maybe show us a variant where you've "made current value default", too?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.