NETLink`
NETLink`

SetComplexType

SetComplexType[type]

tells .NET/Link to map the specified type to Wolfram Language Complex numbers.

Details and Options

  • To use SetComplexType, you first need to load .NET/Link using Needs["NETLink`"].
  • This is the type that will be used when Complex numbers are sent to .NET, and objects of this type will be converted to Complex when sent to the Wolfram Language.
  • The type argument can be specified as a string or as a NETType expression obtained from LoadNETType.