Jump to content

Load balancing: Cant understand Summation Term


zak100

Recommended Posts

Hi,

I am trying to understand the following text. I can’t understand the term Summation of (j tj). Are we multiplying j and tj. But the text is not talking about multiplying, it says”Total processing time.

 

 

 

Somebody please guide me.

 

Zulfi.

 

 

cant understand summation term.jpg

Hi,

Thanks. Its not "j * tj"

 

Zulfi.

I got it.

 

Zulfi.

Link to comment
Share on other sites

Are you familiar with mathematical summation?

https://en.wikipedia.org/wiki/Summation

 

If t is array/list of elements/pointer to memory etc. j is index to element. And tj is value of element i.e. t[ j ] in computer language.

So summation of array etc. is e.g:

int *t;
int sum = 0;
for( int j = 0; j < length; j++ ) {
	sum += t[ j ];
}

 

However, in the special cases, if tj is always constant it can be replaced by multiplication (addition of the same value multiple times).

Edited by Sensei
Link to comment
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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.