Skip to content

Instantly share code, notes, and snippets.

@cartazio
Created February 24, 2014 02:07
Show Gist options
  • Save cartazio/9180705 to your computer and use it in GitHub Desktop.
Save cartazio/9180705 to your computer and use it in GitHub Desktop.
c2hsc -g gcc-4.8 /usr/local/Cellar/openblas/0.2.8/include/cblas.h --prefix Numerical.Foreign
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
#include <bindings.dsl.h>
#include "/usr/local/Cellar/openblas/0.2.8/include/cblas.h"
module Numerical.BLAS.Foreign.Cblas where
import Foreign.Ptr
#strict_import
import Numerical.BLAS.Foreign.OpenblasConfig
#ccall openblas_set_num_threads , CInt -> IO ()
#ccall goto_set_num_threads , CInt -> IO ()
#ccall openblas_get_config , IO CString
#ccall openblas_get_parallel , IO CInt
{- typedef enum CBLAS_ORDER {
CblasRowMajor = 101, CblasColMajor = 102
} CBLAS_ORDER; -}
#integral_t CBLAS_ORDER
#num CblasRowMajor
#num CblasColMajor
{- typedef enum CBLAS_TRANSPOSE {
CblasNoTrans = 111,
CblasTrans = 112,
CblasConjTrans = 113,
CblasConjNoTrans = 114
} CBLAS_TRANSPOSE; -}
#integral_t CBLAS_TRANSPOSE
#num CblasNoTrans
#num CblasTrans
#num CblasConjTrans
#num CblasConjNoTrans
{- typedef enum CBLAS_UPLO {
CblasUpper = 121, CblasLower = 122
} CBLAS_UPLO; -}
#integral_t CBLAS_UPLO
#num CblasUpper
#num CblasLower
{- typedef enum CBLAS_DIAG {
CblasNonUnit = 131, CblasUnit = 132
} CBLAS_DIAG; -}
#integral_t CBLAS_DIAG
#num CblasNonUnit
#num CblasUnit
{- typedef enum CBLAS_SIDE {
CblasLeft = 141, CblasRight = 142
} CBLAS_SIDE; -}
#integral_t CBLAS_SIDE
#num CblasLeft
#num CblasRight
#ccall cblas_sdsdot , CInt -> CFloat -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> IO CFloat
#ccall cblas_dsdot , CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> IO CDouble
#ccall cblas_sdot , CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> IO CFloat
#ccall cblas_ddot , CInt -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> IO CDouble
#ccall cblas_cdotu , CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> IO CFloat
#ccall cblas_cdotc , CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> IO CFloat
#ccall cblas_zdotu , CInt -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> IO CDouble
#ccall cblas_zdotc , CInt -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> IO CDouble
#ccall cblas_cdotu_sub , CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> IO ()
#ccall cblas_cdotc_sub , CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> IO ()
#ccall cblas_zdotu_sub , CInt -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> Ptr CDouble -> IO ()
#ccall cblas_zdotc_sub , CInt -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> Ptr CDouble -> IO ()
#ccall cblas_sasum , CInt -> Ptr CFloat -> CInt -> IO CFloat
#ccall cblas_dasum , CInt -> Ptr CDouble -> CInt -> IO CDouble
#ccall cblas_scasum , CInt -> Ptr CFloat -> CInt -> IO CFloat
#ccall cblas_dzasum , CInt -> Ptr CDouble -> CInt -> IO CDouble
#ccall cblas_snrm2 , CInt -> Ptr CFloat -> CInt -> IO CFloat
#ccall cblas_dnrm2 , CInt -> Ptr CDouble -> CInt -> IO CDouble
#ccall cblas_scnrm2 , CInt -> Ptr CFloat -> CInt -> IO CFloat
#ccall cblas_dznrm2 , CInt -> Ptr CDouble -> CInt -> IO CDouble
#ccall cblas_isamax , CInt -> Ptr CFloat -> CInt -> IO CSize
#ccall cblas_idamax , CInt -> Ptr CDouble -> CInt -> IO CSize
#ccall cblas_icamax , CInt -> Ptr CFloat -> CInt -> IO CSize
#ccall cblas_izamax , CInt -> Ptr CDouble -> CInt -> IO CSize
#ccall cblas_saxpy , CInt -> CFloat -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_daxpy , CInt -> CDouble -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_caxpy , CInt -> Ptr CFloat -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_zaxpy , CInt -> Ptr CDouble -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_scopy , CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_dcopy , CInt -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_ccopy , CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_zcopy , CInt -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_sswap , CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_dswap , CInt -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_cswap , CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_zswap , CInt -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_srot , CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> CFloat -> CFloat -> IO ()
#ccall cblas_drot , CInt -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> CDouble -> CDouble -> IO ()
#ccall cblas_srotg , Ptr CFloat -> Ptr CFloat -> Ptr CFloat -> Ptr CFloat -> IO ()
#ccall cblas_drotg , Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> IO ()
#ccall cblas_srotm , CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> IO ()
#ccall cblas_drotm , CInt -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> Ptr CDouble -> IO ()
#ccall cblas_srotmg , Ptr CFloat -> Ptr CFloat -> Ptr CFloat -> CFloat -> Ptr CFloat -> IO ()
#ccall cblas_drotmg , Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> CDouble -> Ptr CDouble -> IO ()
#ccall cblas_sscal , CInt -> CFloat -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_dscal , CInt -> CDouble -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_cscal , CInt -> Ptr CFloat -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_zscal , CInt -> Ptr CDouble -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_csscal , CInt -> CFloat -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_zdscal , CInt -> CDouble -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_sgemv , <CBLAS_ORDER> -> <CBLAS_TRANSPOSE> -> CInt -> CInt -> CFloat -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> CFloat -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_dgemv , <CBLAS_ORDER> -> <CBLAS_TRANSPOSE> -> CInt -> CInt -> CDouble -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> CDouble -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_cgemv , <CBLAS_ORDER> -> <CBLAS_TRANSPOSE> -> CInt -> CInt -> Ptr CFloat -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_zgemv , <CBLAS_ORDER> -> <CBLAS_TRANSPOSE> -> CInt -> CInt -> Ptr CDouble -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> Ptr CDouble -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_sger , <CBLAS_ORDER> -> CInt -> CInt -> CFloat -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_dger , <CBLAS_ORDER> -> CInt -> CInt -> CDouble -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_cgeru , <CBLAS_ORDER> -> CInt -> CInt -> Ptr CFloat -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_cgerc , <CBLAS_ORDER> -> CInt -> CInt -> Ptr CFloat -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_zgeru , <CBLAS_ORDER> -> CInt -> CInt -> Ptr CDouble -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_zgerc , <CBLAS_ORDER> -> CInt -> CInt -> Ptr CDouble -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_strsv , <CBLAS_ORDER> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> <CBLAS_DIAG> -> CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_dtrsv , <CBLAS_ORDER> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> <CBLAS_DIAG> -> CInt -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_ctrsv , <CBLAS_ORDER> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> <CBLAS_DIAG> -> CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_ztrsv , <CBLAS_ORDER> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> <CBLAS_DIAG> -> CInt -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_strmv , <CBLAS_ORDER> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> <CBLAS_DIAG> -> CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_dtrmv , <CBLAS_ORDER> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> <CBLAS_DIAG> -> CInt -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_ctrmv , <CBLAS_ORDER> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> <CBLAS_DIAG> -> CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_ztrmv , <CBLAS_ORDER> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> <CBLAS_DIAG> -> CInt -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_ssyr , <CBLAS_ORDER> -> <CBLAS_UPLO> -> CInt -> CFloat -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_dsyr , <CBLAS_ORDER> -> <CBLAS_UPLO> -> CInt -> CDouble -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_cher , <CBLAS_ORDER> -> <CBLAS_UPLO> -> CInt -> CFloat -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_zher , <CBLAS_ORDER> -> <CBLAS_UPLO> -> CInt -> CDouble -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_ssyr2 , <CBLAS_ORDER> -> <CBLAS_UPLO> -> CInt -> CFloat -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_dsyr2 , <CBLAS_ORDER> -> <CBLAS_UPLO> -> CInt -> CDouble -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_cher2 , <CBLAS_ORDER> -> <CBLAS_UPLO> -> CInt -> Ptr CFloat -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_zher2 , <CBLAS_ORDER> -> <CBLAS_UPLO> -> CInt -> Ptr CDouble -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_sgbmv , <CBLAS_ORDER> -> <CBLAS_TRANSPOSE> -> CInt -> CInt -> CInt -> CInt -> CFloat -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> CFloat -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_dgbmv , <CBLAS_ORDER> -> <CBLAS_TRANSPOSE> -> CInt -> CInt -> CInt -> CInt -> CDouble -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> CDouble -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_cgbmv , <CBLAS_ORDER> -> <CBLAS_TRANSPOSE> -> CInt -> CInt -> CInt -> CInt -> Ptr CFloat -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_zgbmv , <CBLAS_ORDER> -> <CBLAS_TRANSPOSE> -> CInt -> CInt -> CInt -> CInt -> Ptr CDouble -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> Ptr CDouble -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_ssbmv , <CBLAS_ORDER> -> <CBLAS_UPLO> -> CInt -> CInt -> CFloat -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> CFloat -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_dsbmv , <CBLAS_ORDER> -> <CBLAS_UPLO> -> CInt -> CInt -> CDouble -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> CDouble -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_stbmv , <CBLAS_ORDER> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> <CBLAS_DIAG> -> CInt -> CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_dtbmv , <CBLAS_ORDER> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> <CBLAS_DIAG> -> CInt -> CInt -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_ctbmv , <CBLAS_ORDER> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> <CBLAS_DIAG> -> CInt -> CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_ztbmv , <CBLAS_ORDER> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> <CBLAS_DIAG> -> CInt -> CInt -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_stbsv , <CBLAS_ORDER> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> <CBLAS_DIAG> -> CInt -> CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_dtbsv , <CBLAS_ORDER> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> <CBLAS_DIAG> -> CInt -> CInt -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_ctbsv , <CBLAS_ORDER> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> <CBLAS_DIAG> -> CInt -> CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_ztbsv , <CBLAS_ORDER> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> <CBLAS_DIAG> -> CInt -> CInt -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_stpmv , <CBLAS_ORDER> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> <CBLAS_DIAG> -> CInt -> Ptr CFloat -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_dtpmv , <CBLAS_ORDER> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> <CBLAS_DIAG> -> CInt -> Ptr CDouble -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_ctpmv , <CBLAS_ORDER> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> <CBLAS_DIAG> -> CInt -> Ptr CFloat -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_ztpmv , <CBLAS_ORDER> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> <CBLAS_DIAG> -> CInt -> Ptr CDouble -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_stpsv , <CBLAS_ORDER> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> <CBLAS_DIAG> -> CInt -> Ptr CFloat -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_dtpsv , <CBLAS_ORDER> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> <CBLAS_DIAG> -> CInt -> Ptr CDouble -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_ctpsv , <CBLAS_ORDER> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> <CBLAS_DIAG> -> CInt -> Ptr CFloat -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_ztpsv , <CBLAS_ORDER> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> <CBLAS_DIAG> -> CInt -> Ptr CDouble -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_ssymv , <CBLAS_ORDER> -> <CBLAS_UPLO> -> CInt -> CFloat -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> CFloat -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_dsymv , <CBLAS_ORDER> -> <CBLAS_UPLO> -> CInt -> CDouble -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> CDouble -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_chemv , <CBLAS_ORDER> -> <CBLAS_UPLO> -> CInt -> Ptr CFloat -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_zhemv , <CBLAS_ORDER> -> <CBLAS_UPLO> -> CInt -> Ptr CDouble -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> Ptr CDouble -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_sspmv , <CBLAS_ORDER> -> <CBLAS_UPLO> -> CInt -> CFloat -> Ptr CFloat -> Ptr CFloat -> CInt -> CFloat -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_dspmv , <CBLAS_ORDER> -> <CBLAS_UPLO> -> CInt -> CDouble -> Ptr CDouble -> Ptr CDouble -> CInt -> CDouble -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_sspr , <CBLAS_ORDER> -> <CBLAS_UPLO> -> CInt -> CFloat -> Ptr CFloat -> CInt -> Ptr CFloat -> IO ()
#ccall cblas_dspr , <CBLAS_ORDER> -> <CBLAS_UPLO> -> CInt -> CDouble -> Ptr CDouble -> CInt -> Ptr CDouble -> IO ()
#ccall cblas_chpr , <CBLAS_ORDER> -> <CBLAS_UPLO> -> CInt -> CFloat -> Ptr CFloat -> CInt -> Ptr CFloat -> IO ()
#ccall cblas_zhpr , <CBLAS_ORDER> -> <CBLAS_UPLO> -> CInt -> CDouble -> Ptr CDouble -> CInt -> Ptr CDouble -> IO ()
#ccall cblas_sspr2 , <CBLAS_ORDER> -> <CBLAS_UPLO> -> CInt -> CFloat -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> IO ()
#ccall cblas_dspr2 , <CBLAS_ORDER> -> <CBLAS_UPLO> -> CInt -> CDouble -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> Ptr CDouble -> IO ()
#ccall cblas_chpr2 , <CBLAS_ORDER> -> <CBLAS_UPLO> -> CInt -> Ptr CFloat -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> IO ()
#ccall cblas_zhpr2 , <CBLAS_ORDER> -> <CBLAS_UPLO> -> CInt -> Ptr CDouble -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> Ptr CDouble -> IO ()
#ccall cblas_chbmv , <CBLAS_ORDER> -> <CBLAS_UPLO> -> CInt -> CInt -> Ptr CFloat -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_zhbmv , <CBLAS_ORDER> -> <CBLAS_UPLO> -> CInt -> CInt -> Ptr CDouble -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> Ptr CDouble -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_chpmv , <CBLAS_ORDER> -> <CBLAS_UPLO> -> CInt -> Ptr CFloat -> Ptr CFloat -> Ptr CFloat -> CInt -> Ptr CFloat -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_zhpmv , <CBLAS_ORDER> -> <CBLAS_UPLO> -> CInt -> Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> CInt -> Ptr CDouble -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_sgemm , <CBLAS_ORDER> -> <CBLAS_TRANSPOSE> -> <CBLAS_TRANSPOSE> -> CInt -> CInt -> CInt -> CFloat -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> CFloat -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_dgemm , <CBLAS_ORDER> -> <CBLAS_TRANSPOSE> -> <CBLAS_TRANSPOSE> -> CInt -> CInt -> CInt -> CDouble -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> CDouble -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_cgemm , <CBLAS_ORDER> -> <CBLAS_TRANSPOSE> -> <CBLAS_TRANSPOSE> -> CInt -> CInt -> CInt -> Ptr CFloat -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_zgemm , <CBLAS_ORDER> -> <CBLAS_TRANSPOSE> -> <CBLAS_TRANSPOSE> -> CInt -> CInt -> CInt -> Ptr CDouble -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> Ptr CDouble -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_ssymm , <CBLAS_ORDER> -> <CBLAS_SIDE> -> <CBLAS_UPLO> -> CInt -> CInt -> CFloat -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> CFloat -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_dsymm , <CBLAS_ORDER> -> <CBLAS_SIDE> -> <CBLAS_UPLO> -> CInt -> CInt -> CDouble -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> CDouble -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_csymm , <CBLAS_ORDER> -> <CBLAS_SIDE> -> <CBLAS_UPLO> -> CInt -> CInt -> Ptr CFloat -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_zsymm , <CBLAS_ORDER> -> <CBLAS_SIDE> -> <CBLAS_UPLO> -> CInt -> CInt -> Ptr CDouble -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> Ptr CDouble -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_ssyrk , <CBLAS_ORDER> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> CInt -> CInt -> CFloat -> Ptr CFloat -> CInt -> CFloat -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_dsyrk , <CBLAS_ORDER> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> CInt -> CInt -> CDouble -> Ptr CDouble -> CInt -> CDouble -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_csyrk , <CBLAS_ORDER> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> CInt -> CInt -> Ptr CFloat -> Ptr CFloat -> CInt -> Ptr CFloat -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_zsyrk , <CBLAS_ORDER> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> CInt -> CInt -> Ptr CDouble -> Ptr CDouble -> CInt -> Ptr CDouble -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_ssyr2k , <CBLAS_ORDER> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> CInt -> CInt -> CFloat -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> CFloat -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_dsyr2k , <CBLAS_ORDER> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> CInt -> CInt -> CDouble -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> CDouble -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_csyr2k , <CBLAS_ORDER> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> CInt -> CInt -> Ptr CFloat -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_zsyr2k , <CBLAS_ORDER> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> CInt -> CInt -> Ptr CDouble -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> Ptr CDouble -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_strmm , <CBLAS_ORDER> -> <CBLAS_SIDE> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> <CBLAS_DIAG> -> CInt -> CInt -> CFloat -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_dtrmm , <CBLAS_ORDER> -> <CBLAS_SIDE> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> <CBLAS_DIAG> -> CInt -> CInt -> CDouble -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_ctrmm , <CBLAS_ORDER> -> <CBLAS_SIDE> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> <CBLAS_DIAG> -> CInt -> CInt -> Ptr CFloat -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_ztrmm , <CBLAS_ORDER> -> <CBLAS_SIDE> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> <CBLAS_DIAG> -> CInt -> CInt -> Ptr CDouble -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_strsm , <CBLAS_ORDER> -> <CBLAS_SIDE> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> <CBLAS_DIAG> -> CInt -> CInt -> CFloat -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_dtrsm , <CBLAS_ORDER> -> <CBLAS_SIDE> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> <CBLAS_DIAG> -> CInt -> CInt -> CDouble -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_ctrsm , <CBLAS_ORDER> -> <CBLAS_SIDE> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> <CBLAS_DIAG> -> CInt -> CInt -> Ptr CFloat -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_ztrsm , <CBLAS_ORDER> -> <CBLAS_SIDE> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> <CBLAS_DIAG> -> CInt -> CInt -> Ptr CDouble -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_chemm , <CBLAS_ORDER> -> <CBLAS_SIDE> -> <CBLAS_UPLO> -> CInt -> CInt -> Ptr CFloat -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> Ptr CFloat -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_zhemm , <CBLAS_ORDER> -> <CBLAS_SIDE> -> <CBLAS_UPLO> -> CInt -> CInt -> Ptr CDouble -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> Ptr CDouble -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_cherk , <CBLAS_ORDER> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> CInt -> CInt -> CFloat -> Ptr CFloat -> CInt -> CFloat -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_zherk , <CBLAS_ORDER> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> CInt -> CInt -> CDouble -> Ptr CDouble -> CInt -> CDouble -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_cher2k , <CBLAS_ORDER> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> CInt -> CInt -> Ptr CFloat -> Ptr CFloat -> CInt -> Ptr CFloat -> CInt -> CFloat -> Ptr CFloat -> CInt -> IO ()
#ccall cblas_zher2k , <CBLAS_ORDER> -> <CBLAS_UPLO> -> <CBLAS_TRANSPOSE> -> CInt -> CInt -> Ptr CDouble -> Ptr CDouble -> CInt -> Ptr CDouble -> CInt -> CDouble -> Ptr CDouble -> CInt -> IO ()
#ccall cblas_xerbla , CInt -> CString -> CString -> IO ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment