1function test16
2%TEST16 test user-defined complex type (runs all testc*.m)
3
4% SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2021, All Rights Reserved.
5% SPDX-License-Identifier: Apache-2.0
6
7% all complex matrix tests
8
9for k = [false true]
10    GB_builtin_complex_set (k) ;
11    if (k)
12        fprintf ('\nTesting GxB_FC64 complex type:\n') ;
13    else
14        fprintf ('\nTesting user-defined Complex type:\n') ;
15    end
16
17    testc1  % test ops
18    testc2  % A'*B, A+B, A*B
19    testc3  % extract column, extract submatrix
20    testc4  % extractElement, setElement
21    testc5  % subref
22    testc6  % apply
23    testc7  % assign
24    testc8  % eWise
25    testc9  % extractTuples
26    testca  % mxm, mxv, vxm
27    testcb  % reduce
28    testcc  % transpose
29end
30
31fprintf ('\ntest16: all complex tests passed\n') ;
32
33