Normolize probability distribution function in C

Hello!

I've Just started learning C and I encountered with some troubles. I need to write C-code to "normalize" vector which stores probability distribution function data obtained from random number. generator.
In c++ there is container class "Vector" is there equivalent in pure C and native method to do it or some thing like this?.

Comments

  • Hello!

    No, in pure C there is not such things like "#include "
    You should use "struct". Or you can use external libraries.
    However, I guess that this example will help you.

  • Oh! great.

    Thank you!

    I'll proceed learning:)

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories