nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/blas/impl/BaseLevel2.java
@Override
    public void hemv(char order, char Uplo, IComplexNumber alpha, IComplexNDArray A, IComplexNDArray X,
                    IComplexNumber beta, IComplexNDArray Y) {

        // FIXME: int cast

        if (A.data().dataType() == DataBuffer.Type.DOUBLE)
            zhemv(order, Uplo, (int) A.rows(), alpha.asDouble(), A, (int) A.size(0), X, X.majorStride() / 2, beta.asDouble(), Y,
                            Y.majorStride() / 2);
        else
            chemv(order, Uplo, (int) A.rows(), alpha.asFloat(), A, (int) A.size(0), X, X.majorStride() / 2, beta.asFloat(), Y,
                            Y.majorStride() / 2);

    }
@Override
    public void hemv(char order, char Uplo, IComplexNumber alpha, IComplexNDArray A, IComplexNDArray X,
                    IComplexNumber beta, IComplexNDArray Y) {

        // FIXME: int cast

        if (A.data().dataType() == DataBuffer.Type.DOUBLE)
            zhemv(order, Uplo, (int) A.rows(), alpha.asDouble(), A, (int) A.size(0), X, X.majorStride() / 2, beta.asDouble(), Y,
                            Y.majorStride() / 2);
        else
            chemv(order, Uplo, (int) A.rows(), alpha.asFloat(), A, (int) A.size(0), X, X.majorStride() / 2, beta.asFloat(), Y,
                            Y.majorStride() / 2);

    }
@ Override public void hemv ( char order , char Uplo , IComplexNumber alpha , IComplexNDArray A , IComplexNDArray X , IComplexNumber beta , IComplexNDArray Y ) { // FIXME: int cast if ( A . data ( ) . dataType ( ) == DataBuffer . Type . DOUBLE ) zhemv ( order , Uplo , ( int ) A . rows ( ) , alpha . asDouble ( ) , A , ( int ) A . size ( 0 ) , X , X . majorStride ( ) / 2 , beta . asDouble ( ) , Y , Y . majorStride ( ) / 2 ) ; else chemv ( order , Uplo , ( int ) A . rows ( ) , alpha . asFloat ( ) , A , ( int ) A . size ( 0 ) , X , X . majorStride ( ) / 2 , beta . asFloat ( ) , Y , Y . majorStride ( ) / 2 ) ; }
hemv computes a matrix-vector product using a Hermitian matrix:
y := alpha*a*x + beta*y.
Here a is an n-by-n Hermitian band matrix with k superdiagonals, x and y are n-element vectors, alpha and beta are scalars.

@param order
@param Uplo
@param alpha
@param A
@param X
@param beta
@param Y
hemv computes a matrix - vector product using a Hermitian matrix : y : = alpha * a * x + beta * y . Here a is an n - by - n Hermitian band matrix with k superdiagonals x and y are n - element vectors alpha and beta are scalars .