1function C = uint64 (G)
2%UINT64 cast a GraphBLAS matrix to MATLAB full uint64 matrix.
3% C = uint64 (G) typecasts the GrB matrix G to a MATLAB full uint64
4% matrix.  The result C is full since MATLAB does not support sparse
5% uint64 matrices.
6%
7% To typecast the matrix G to a GraphBLAS sparse uint64 matrix instead,
8% use C = GrB (G, 'uint64').
9%
10% See also GrB, GrB/double, GrB/complex, GrB/single, GrB/logical, GrB/int8,
11% GrB/int16, GrB/int32, GrB/int64, GrB/uint8, GrB/uint16, GrB/uint32.
12
13% SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2021, All Rights Reserved.
14% SPDX-License-Identifier: GPL-3.0-or-later
15
16G = G.opaque ;
17desc.kind = 'full' ;
18C = gbfull (G, 'uint64', uint64 (0), desc) ;    % export as a MATLAB full matrix
19
20