def set_a(self, a, dtype=None):
    'Sets the value of the property `a`.\n\n        Parameters\n        ----------\n        a : scalar\n            new value of `a`.\n        dtype : numpy.dtype, optional\n            dtype specified for this operator. Default is: result_type(A.dtype,min_scalar_type(a),float64)\n\n        Examples\n        --------\n\n        .. literalinclude:: ../../doc_examples/expm_multiply_parallel-example.py\n            :linenos:\n            :language: python\n            :lines: 32-35\n            \n        '
    if (_np.array(a).ndim == 0):
        self._a = a
        a_dtype_min = _np.min_scalar_type(self._a)
        if (dtype is None):
            self._dtype = _np.result_type(self._A.dtype, a_dtype_min, _np.float64)
        else:
            min_dtype = _np.result_type(A.dtype, a_dtype_min, _np.float32)
            if (not _np.can_cast(min_dtype, dtype)):
                raise ValueError('dtype not sufficient to represent a*A to at least float32 precision.')
            self._dtype = dtype
        tol = (_np.finfo(self._dtype).eps / 2)
        tol_dtype = _np.finfo(self._dtype).eps.dtype
        self._tol = _np.array(tol, dtype=tol_dtype)
        self._mu = _np.array(self._mu, dtype=self._dtype)
        self._calculate_partition()
    else:
        raise ValueError("expecting 'a' to be scalar.")
Sets the value of the property `a`.

Parameters
----------
a : scalar
    new value of `a`.
dtype : numpy.dtype, optional
    dtype specified for this operator. Default is: result_type(A.dtype,min_scalar_type(a),float64)

Examples
--------

.. literalinclude:: ../../doc_examples/expm_multiply_parallel-example.py
    :linenos:
    :language: python
    :lines: 32-35
def set_a(self, a, dtype=None):
    'Sets the value of the property `a`.\n\n        Parameters\n        ----------\n        a : scalar\n            new value of `a`.\n        dtype : numpy.dtype, optional\n            dtype specified for this operator. Default is: result_type(A.dtype,min_scalar_type(a),float64)\n\n        Examples\n        --------\n\n        .. literalinclude:: ../../doc_examples/expm_multiply_parallel-example.py\n            :linenos:\n            :language: python\n            :lines: 32-35\n            \n        '
    if (_np.array(a).ndim == 0):
        self._a = a
        a_dtype_min = _np.min_scalar_type(self._a)
        if (dtype is None):
            self._dtype = _np.result_type(self._A.dtype, a_dtype_min, _np.float64)
        else:
            min_dtype = _np.result_type(A.dtype, a_dtype_min, _np.float32)
            if (not _np.can_cast(min_dtype, dtype)):
                raise ValueError('dtype not sufficient to represent a*A to at least float32 precision.')
            self._dtype = dtype
        tol = (_np.finfo(self._dtype).eps / 2)
        tol_dtype = _np.finfo(self._dtype).eps.dtype
        self._tol = _np.array(tol, dtype=tol_dtype)
        self._mu = _np.array(self._mu, dtype=self._dtype)
        self._calculate_partition()
    else:
        raise ValueError("expecting 'a' to be scalar.")