Compile::cif

更多信息

  • This message is generated when the tensor rank of a result in an expression to be compiled could have two different values.
  • An expression can be compiled only if the type of the result is known and is always the same.
  • Off[message] switches off the message; On[message] switches it on. For example: Off[Compile::cif].

范例

基本范例  (1)

The resulting tensor rank can have different values depending on the values of the arguments: