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<double> sphere2cart( InArray<double> radius, InArray<double> theta, InArray<double> phi, OutArray<double> Y = null, OutArray<double> Z = null )
Parameters
- radius
- Type: ILNumericsInArrayDouble
Radial distance. - theta
- Type: ILNumericsInArrayDouble
Polar angle. - phi
- Type: ILNumericsInArrayDouble
Azimuthal angle. - Y (Optional)
- Type: ILNumericsOutArrayDouble
[Optional] Output: Y coordinates. Default: (null) do not compute. - Z (Optional)
- Type: ILNumericsOutArrayDouble
[Optional] Output: Z coordinates. Default: (null) do not compute.
Return Value
Type: RetArrayDoubleX coordinates.Y and Z are returned on request.
Remarks
[ILNumerics Computing Engine]
See Also