Legacy Documentation

Mathematica 9 (2012)

This is documentation for Mathematica 9, which was
based on an earlier version of Wolfram Language.
View current documentation (Version 15.0)

SetComplexType

SetComplexType[type]
tells .NET/Link to map the specified type to Mathematica Complex numbers.

DetailsDetails

  • 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 Mathematica.
  • The type argument can be specified as a string or as a NETType expression obtained from LoadNETType.
ja