예제 #1
0
파일: lapack.go 프로젝트: kortschak/lapack
func Cpotrs(o blas.Order, ul blas.Uplo, n int, nRHS int, a []complex64, lda int, b []complex64, ldb int) int {
	return int(C.clapack_cpotrs(C.enum_CBLAS_ORDER(o), C.enum_CBLAS_UPLO(ul), C.int(n), C.int(nRHS), unsafe.Pointer(&a[0]), C.int(lda), unsafe.Pointer(&b[0]), C.int(ldb)))
}
예제 #2
0
파일: lapack.go 프로젝트: kortschak/lapack
func Dpotrs(o blas.Order, ul blas.Uplo, n int, nRHS int, a []float64, lda int, b []float64, ldb int) int {
	return int(C.clapack_dpotrs(C.enum_CBLAS_ORDER(o), C.enum_CBLAS_UPLO(ul), C.int(n), C.int(nRHS), (*C.double)(&a[0]), C.int(lda), (*C.double)(&b[0]), C.int(ldb)))
}