miscTools (version 0.6-22)

veclipos: Position in a vector of linear independent values

Description

Returns the position of the [i,j]th element of a symmetric n \(\times\) n matrix that this element has in a vector of the linear independent values of the matrix.

Usage

veclipos( i, j, n )

Arguments

i

row of the element in the matrix.

j

column of the element in the matrix.

n

dimension of the matrix.

See Also

vecli, vecli2m.

Examples

Run this code
# NOT RUN {
   veclipos( 1, 2, 3 )  # returns: 2
# }

Run the code above in your browser using DataLab