cubo2homo edit page

cubochoric to homochoric coordinates

Transforms cubochoric coordinates of quaternions into homochoric coordinates. This mpas the cube with edge length pi^(2/3) to the ball of radius (3*pi/4)^(1/3)).

Syntax

xyz = cubo2homo(XYZ)

Input

XYZ cubochoric coordinates (X,Y,Z) of N points of the cube

Output

xyz homochoric coordinates (x,y,z) of N points of the ball