{"name":"decayGraphValues","title":"decayGraphValues","type":"command","url":"https://community.bistudio.com/wiki/decayGraphValues","revid":309184,"updated":"2022-05-03T18:08:43Z","groups":["Math"],"status":"ok","games":{"arma3":"1.92"},"since":"arma3 1.92","arma3_since":"1.92","description":"Multiplies graph values by the given coefficient. The corresponding lower bound value is used instead if the product is smaller than the bound.","syntaxes":[{"syntax":"decayGraphValues [lowerBoundValues, graphValues, coef]","params":[{"name":"lowerBoundValues","type":"Array of Numbers","description":"lower bound for the new graph","type_expr":"Array<Number>"},{"name":"graphValues","type":"Array of Numbers","description":"graph values","type_expr":"Array<Number>"},{"name":"coef","type":"Number","description":"the multiplication coefficient","type_expr":"Number"}],"returns":{"type":"Array of Numbers","type_expr":"Array<Number>"},"form":"unary","right":{"text":"[lowerBoundValues, graphValues, coef]"}}],"examples":[{"code":["decayGraphValues [[1,2,3,4,5], [1,4,9,16,25], 0.3]; // returns [1,2,3,4.8,7.5]"]}],"see_also":["getGraphValues"]}