nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/blas/impl/BaseLevel3.java
@Override
    public void syrk(char Order, char Uplo, char Trans, IComplexNumber alpha, IComplexNDArray A, IComplexNumber beta,
                    IComplexNDArray C) {
        // FIXME: int cast

        if (A.data().dataType() == DataBuffer.Type.DOUBLE)
            zsyrk(Order, Uplo, Trans, (int) A.rows(), (int) A.columns(), alpha.asDouble(), A, (int) A.size(0), beta.asDouble(), C, (int) C.size(0));
        else
            csyrk(Order, Uplo, Trans, (int) A.rows(), (int) A.columns(), alpha.asFloat(), A, (int) A.size(0), beta.asFloat(), C, (int) C.size(0));

    }
@Override
    public void syrk(char Order, char Uplo, char Trans, IComplexNumber alpha, IComplexNDArray A, IComplexNumber beta,
                    IComplexNDArray C) {
        // FIXME: int cast

        if (A.data().dataType() == DataBuffer.Type.DOUBLE)
            zsyrk(Order, Uplo, Trans, (int) A.rows(), (int) A.columns(), alpha.asDouble(), A, (int) A.size(0), beta.asDouble(), C, (int) C.size(0));
        else
            csyrk(Order, Uplo, Trans, (int) A.rows(), (int) A.columns(), alpha.asFloat(), A, (int) A.size(0), beta.asFloat(), C, (int) C.size(0));

    }
@ Override public void syrk ( char Order , char Uplo , char Trans , IComplexNumber alpha , IComplexNDArray A , IComplexNumber beta , IComplexNDArray C ) { // FIXME: int cast if ( A . data ( ) . dataType ( ) == DataBuffer . Type . DOUBLE ) zsyrk ( Order , Uplo , Trans , ( int ) A . rows ( ) , ( int ) A . columns ( ) , alpha . asDouble ( ) , A , ( int ) A . size ( 0 ) , beta . asDouble ( ) , C , ( int ) C . size ( 0 ) ) ; else csyrk ( Order , Uplo , Trans , ( int ) A . rows ( ) , ( int ) A . columns ( ) , alpha . asFloat ( ) , A , ( int ) A . size ( 0 ) , beta . asFloat ( ) , C , ( int ) C . size ( 0 ) ) ; }
syrk performs a rank-n update of an n-by-n symmetric matrix c, that is, one of the following operations:
c := alpha*a*a' + beta*c  for trans = 'N'or'n'
c := alpha*a'*a + beta*c  for trans = 'T'or't','C'or'c',
where c is an n-by-n symmetric matrix;
a is an n-by-k matrix, if trans = 'N'or'n',
a is a k-by-n matrix, if trans = 'T'or't','C'or'c'.
@param Order
@param Uplo
@param Trans
@param alpha
@param A
@param beta
@param C
syrk performs a rank - n update of an n - by - n symmetric matrix c that is one of the following operations : c : = alpha * a * a + beta * c for trans = N or n c : = alpha * a * a + beta * c for trans = T or t C or c where c is an n - by - n symmetric matrix ; a is an n - by - k matrix if trans = N or n a is a k - by - n matrix if trans = T or t C or c .