JLink`
JLink`

$RelaxedTypeChecking

$RelaxedTypeChecking

is a flag that can be set to True to speed up the validation performed in the Wolfram Language (via pattern tests) on arrays of data being sent as arguments to Java calls.

更多信息和选项

  • To use $RelaxedTypeChecking, you first need to load J/Link using Needs["JLink`"].
  • For a very large matrix, it can be expensive to test that it is, for instance, a rectangular matrix of integers before it is sent to Java.
  • This process is made faster by making the tests much less strict, so you must make sure that you pass methods exactly the arguments they expect.
  • The default value is False.
  • You can set and reset the value whenever you want; a typical use would be Block[{$RelaxedTypeChecking=True},methodcall[matrix]].
Wolfram Research (2007),$RelaxedTypeChecking,Wolfram 语言函数,https://reference.wolfram.com/language/JLink/ref/$RelaxedTypeChecking.html.

文本

Wolfram Research (2007),$RelaxedTypeChecking,Wolfram 语言函数,https://reference.wolfram.com/language/JLink/ref/$RelaxedTypeChecking.html.

CMS

Wolfram 语言. 2007. "$RelaxedTypeChecking." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/JLink/ref/$RelaxedTypeChecking.html.

APA

Wolfram 语言. (2007). $RelaxedTypeChecking. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/JLink/ref/$RelaxedTypeChecking.html 年

BibTeX

@misc{reference.wolfram_2024_$relaxedtypechecking, author="Wolfram Research", title="{$RelaxedTypeChecking}", year="2007", howpublished="\url{https://reference.wolfram.com/language/JLink/ref/$RelaxedTypeChecking.html}", note=[Accessed: 18-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_$relaxedtypechecking, organization={Wolfram Research}, title={$RelaxedTypeChecking}, year={2007}, url={https://reference.wolfram.com/language/JLink/ref/$RelaxedTypeChecking.html}, note=[Accessed: 18-November-2024 ]}