.. SPDX-FileCopyrightText: 2019-2020 Intel Corporation .. .. SPDX-License-Identifier: CC-BY-4.0 .. _onemkl_sparse_init_matrix_handle: init_matrix_handle ================== Initializes a matrix_handle_t object to default values. .. rubric:: Description and Assumptions The oneapi::mkl::sparse::init_matrix_handle function initializes the ``matrix_handle_t`` object with default values. .. rubric:: Syntax .. code-block:: cpp namespace oneapi::mkl::sparse { void init_matrix_handle (oneapi::mkl::sparse::matrix_handle_t *handle); } .. container:: section .. rubric:: Throws :class: sectiontitle This routine shall throw the following exceptions if the associated condition is detected. An implementation may throw additional implementation-specific exception(s) in case of error conditions not covered here. | :ref:`oneapi::mkl::device_bad_alloc` | :ref:`oneapi::mkl::host_bad_alloc` | :ref:`oneapi::mkl::invalid_argument` | :ref:`oneapi::mkl::unimplemented` | :ref:`oneapi::mkl::uninitialized` | :ref:`oneapi::mkl::unsupported_device` .. container:: familylinks .. container:: parentlink **Parent topic:** :ref:`onemkl_spblas`