Navigation

Operators and Keywords

Function List:

C++ API

Function File: res = fl_cartproduct(A, B)

Function File: res = fl_cartproduct(A, B, N)

Returns the bi-dimensional Fuzzy Logic cartesian product. A and B must be both vectors. The argument N allows to specify a custom function. So it can be:

  • 'min': use the minimum function (same as fl_cartproduct(A,B));
  • 'prod': use the product function;
  • 'max': use the maximum function;
  • 'sum': use the probabilistic sum function;
  • function_handle: a user-defined function.

Note that only the predefined functions will be calculated rapidly and in multithread mode. Using a user-defined function will result in a long time calculation.