so i'm currently working on a linear programme optimisation, and i was wondering if someone could help me with a bit of maths.
and i need to represent abs(x) in terms of a linear equation (so no root(x^2) allowed)
everyone knows what absolute(x) or |x| represents and it's pretty simple to do in your head, but I was wondering if there were any computational methods or equations for evaluating this?
also i'm looking specifically for a linear method so i cant have if statements and such
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.
abs(x) ??
in Linear Algebra and Group Theory
Posted
hello,
so i'm currently working on a linear programme optimisation, and i was wondering if someone could help me with a bit of maths.
and i need to represent abs(x) in terms of a linear equation (so no root(x^2) allowed)
everyone knows what absolute(x) or |x| represents and it's pretty simple to do in your head, but I was wondering if there were any computational methods or equations for evaluating this?
also i'm looking specifically for a linear method so i cant have if statements and such
also are there any functions that result in
x = x if x>=0,
x = 0 if x<0
if so what is it called?
any help is appreciated, thanks