ILNumerics - Technical Application Development
Assembly: ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.5.0.0 (5.5.7503.3146)
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.
Transform scalar coordinates into polar (cylindrical) coordinates
[ILNumerics Computing Engine]
Namespace: ILNumerics
Assembly: ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax
public static RetArray<double> cart2pol( InArray<double> X, InArray<double> Y, InArray<double> Z, OutArray<double> Radius = null, OutArray<double> outZ = null )
Parameters
- X
- Type: ILNumericsInArrayDouble
X coordinates - Y
- Type: ILNumericsInArrayDouble
Y coordinates - Z
- 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: RetArrayDoubleAngles. Radius and Z values are returned as output parameters if requested on entry (i.e.: not null).
Remarks
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