Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Navigation
- Tecnomatix
- Forums
- Blogs
- Knowledge Bases
- Groups

- Siemens PLM Community
- Tecnomatix
- Plant Simulation
- how to use the function of z_uniform(i, j, k )?

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

10-10-2017 05:15 AM

Hello,everyone!

when I program a method,the function of "z_uniform(i, j, k )" will be used to achieve certain goals. however ,I have no idea about it and I cannot find it in the "context help".Could you explain how to use it in detail,What's more ,what does the parameters ( i, j, k) mean in the functions ,what values it will return?

Looking forward to your directions !

Any help is great apprecitated!

Solved! Go to Solution.

8 REPLIES

Re: how to use the function of z_uniform(i, j, k )?

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

10-10-2017 05:29 AM

have a look here

Re: how to use the function of z_uniform(i, j, k )?

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

10-10-2017 05:53 AM

Hi，simulator

Firstly,Thank you for your quick feedback!

Then,Must the parameter "start"(j) be less than the parameter "stop"(k)? or they are have no relation,namely ,they are respective?

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

10-10-2017 06:03 AM

j __<__ k !

Try j > k and see what happens

Re: how to use the function of z_uniform(i, j, k )?

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

10-10-2017 06:09 AM

I'll do it according to your suggestions!

Than u!

Re: how to use the function of z_uniform(i, j, k )?

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

3 weeks ago

what does the parameter ( i ) mean in the function?

Re: how to use the function of z_uniform(i, j, k )?

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

3 weeks ago

Re: how to use the function of z_uniform(i, j, k )?

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

3 weeks ago

Re: how to use the function of z_uniform(i, j, k )?

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

3 weeks ago - last edited 3 weeks ago

The seed value is for creating different random number streams

so that for instance in a model with different random number generators

( e.g. for generation of failures on simulation objects ) the failures will not be generated at the same time

and have the same length.

Therefore you can set in your model a __unique__ seed value by your self e.g. 1.

The seed value has an impact on the generated random numbers in between the defined range

but not on the range itself.

Follow Siemens PLM Software

© 2019 Siemens Product Lifecycle Management Software Inc