Jump to content
Mr. hamid reza

multi-dimensional arrays

Recommended Posts

Hi

 

I need to define  Matrix inside a feature. Definition of the multi-dimensional array makes my algorithm to be easy for implementation.

I found some objects such as "doubleseries" that can be applied for uni-dimension arrays.

I also see that there is solution for making a combination of "objectlist"s, but it does not seem a proper way in my case.

Is there any suggestion for defining a simple multi-dimensional array?

 

thanks in advance

 

Best Regards

Hamidreza

Share this post


Link to post
Share on other sites

Hi Hamidreza,

 

So far, double series and object lists are the only way to do this. We are also having more easy-to-use arrays available in our next major version, you can try these out at some stage if you like. We also think this is an important functionality for CAESES users.

 

Do you have any idea how to work with these types to approach your task?

 

Cheers

Jörg

Share this post


Link to post
Share on other sites

Hi Jörg

 

Thanks for reply, It is nice to hear that such applicable functionality will be added in future.

 

I know How to use the doublesries and objectlist. but as you know, for making a tow-dimensional arrays by "objectelist"s, we need to replace each row with an objectlist, then the number of them increases. Moreover,we need to use castto() command frequently for each access to a simple double variable inside the list. I am worry about the increase the run-time ,especially when a lot of iterations and objectlist are needed during the process. does it?

 

Best regards

Hamidreza

Share this post


Link to post
Share on other sites

Hi Hamidreza,

 

You are right, probably the run-time will not be ideal for larger arrays. And the castTo() commands are also not improving the code readability. 

 

However, it still takes us a few weeks until we can deliver a test version. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...