'Assign scalar alpha to every element of the matrix.'

@deprecated
def assign_scalar(self, alpha):

    err_code = _eigenmat.assign_scalar(self.p_mat, ct.c_float(alpha))
    if err_code:
        raise generate_exception(err_code)
    return self
