Exemplo n.º 1
0
def zaxpy(alpha, x, y):
    """
    This function computes the sum \M{y = S{alpha} x + y} for the vectors x and y.
    """
    yn = array_typed_copy(y, Complex)
    _gslwrap.gsl_blas_zaxpy(alpha, x, yn)
    return yn
Exemplo n.º 2
0
def zaxpy(alpha, x, y):
    """
    This function computes the sum \M{y = S{alpha} x + y} for the vectors x and y.
    """
    yn = array_typed_copy(y, Complex)
    _gslwrap.gsl_blas_zaxpy(alpha, x, yn)
    return yn
Exemplo n.º 3
0
def zaxpy_cr(alpha, x, y_CR):
    """
    This function computes the sum \M{y = S{alpha} x + y} for the vectors x and y.
    """
    _gslwrap.gsl_blas_zaxpy(alpha, x, y_CR)
Exemplo n.º 4
0
def zaxpy_cr(alpha, x, y_CR):
    """
    This function computes the sum \M{y = S{alpha} x + y} for the vectors x and y.
    """
    _gslwrap.gsl_blas_zaxpy(alpha, x, y_CR)