HyperMath

AbsMin

AbsMin

Previous topic Next topic No expanding text in this topic  

AbsMin

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

The absolute minimum of the arguments.

Syntax

a, i = AbsMin(m)

Argument

Name

Description

 

m

A vector or a matrix.

Output

Name

Description

 

a

For a vector, it is the minimum of the absolute values of the entries.  For a matrix, the minimum (in absolute sense) of each column is returned collated in a row vector.

 

i

Index to the entries and of same size as a.  For a matrix, it is the index of the rows in each column.

Example

Find the minimum elements in a matrix in absolute sense:

 

Syntax

 

M, I = AbsMin([1,2;3,-4])

 

Result

 

M = 1 2

I = 1 1

See Also:

Abs

AbsMax

Max

Min