ILNumerics - Technical Application Development
Assembly: ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.5.0.0 (5.5.7503.3146)
X coordinates.Y and Z are returned on request.
The input parameters radius, theta and phi
must be of the same size or be broadcastable to each other. All arrays returned are of the broadcasted size.
Transforms spherical coordinates into cartesian 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<float> sphere2cart( InArray<float> radius, InArray<float> theta, InArray<float> phi, OutArray<float> Y = null, OutArray<float> Z = null )
Parameters
- radius
- Type: ILNumericsInArraySingle
Radial distance. - theta
- Type: ILNumericsInArraySingle
Polar angle. - phi
- Type: ILNumericsInArraySingle
Azimuthal angle. - Y (Optional)
- Type: ILNumericsOutArraySingle
[Optional] Output: Y coordinates. Default: (null) do not compute. - Z (Optional)
- Type: ILNumericsOutArraySingle
[Optional] Output: Z coordinates. Default: (null) do not compute.
Return Value
Type: RetArraySingleX coordinates.Y and Z are returned on request.
Remarks
[ILNumerics Computing Engine]
See Also