ILNumerics Ultimate VS

ILMathcart2pol Method (InArrayDouble, InArrayDouble, InArrayDouble, OutArrayDouble, OutArrayDouble)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Transform scalar coordinates into polar (cylindrical) coordinates

[ILNumerics Computing Engine]

Namespace:  ILNumerics
Assembly:  ILNumerics.Computing (in ILNumerics.Computing.dll) Version: (5.5.7503.3146)

public static RetArray<double> cart2pol(
	InArray<double> X,
	InArray<double> Y,
	InArray<double> Z,
	OutArray<double> Radius = null,
	OutArray<double> outZ = null


Type: ILNumericsInArrayDouble
X coordinates
Type: ILNumericsInArrayDouble
Y coordinates
Type: ILNumericsInArrayDouble
Z coordinates (height). Can be null if outZ is not requested.
Radius (Optional)
Type: ILNumericsOutArrayDouble
[Optional] Output: radius. Default: (null) do not compute.
outZ (Optional)
Type: ILNumericsOutArrayDouble
[Optional] Output: Copy of Z. Default: (null) do not return.

Return Value

Type: RetArrayDouble
Angles. Radius and Z values are returned as output parameters if requested on entry (i.e.: not null).

X, Y, and Z must be the same size or broadcastable to each other. Polar coordinate arrays returned are of the same size as the broadcasted size of the input arrays.

If outZ is requested it will have the same values as Z and the same broadcasted size of the output.

[ILNumerics Computing Engine]

See Also