Generate 2-d basis in directions i, j in n dimensions (i,j <= n)

basisMatrix(i, j, n)

Arguments

i

first basis direction

j

second basis direction

n

number of dimensions

Value

Basis matrix