Post
Topic
Board Meta
Re: Activity & new membergroup limits
by
jubalix
on 19/06/2013, 14:17:02 UTC
this formula makes little sense
activity = min(time * 14, posts)?

activity = min(time * 14, posts), what does the , mean in there

it looks like  a = min(t*14,p)

could you be a little more explicit in the maths formula

min= minimum
time= time logged in
post= total post you made


but what is the ","? is it t*14/p, t*14*p, t*4 + g(p)?, min( t*14 || p)

I think he means min (t*14||p) to say z = g(x,y) is a 3 dimensional function

the logical "or" || should be used not ","

if(t*14{cout>>t*14;}
else
{cout>>p;}


also, I think the ignore needs some attention, as it breeds too much normative behavior by the sanction of the longest here which is death to vitality.


min(x,y) is a standard mathematical function that yields, unsurprisingly, the minimum of the 2 arguments. Just like any multi-argument function, it uses a comma to separates the different arguments. I don't see what's confusing about that.

using a logical or between arguments would make no sense, since t*14 and p are not boolean variables.

uh the t*14 is evaluated first...

wow...not sure what planet I must be on, but I never use or see min(x,y), its always logical functions...to express an idea....
probably to much into the maths than programing!