Beispiel #1
0
func Cgetrs(o blas.Order, t blas.Transpose, n int, nRHS int, a []complex64, lda int, ipiv []int32, b []complex64, ldb int) int {
	return int(C.clapack_cgetrs(C.enum_CBLAS_ORDER(o), C.enum_CBLAS_TRANSPOSE(t), C.int(n), C.int(nRHS), unsafe.Pointer(&a[0]), C.int(lda), (*C.int)(&ipiv[0]), unsafe.Pointer(&b[0]), C.int(ldb)))
}
Beispiel #2
0
func Dgetrs(o blas.Order, t blas.Transpose, n int, nRHS int, a []float64, lda int, ipiv []int32, b []float64, ldb int) int {
	return int(C.clapack_dgetrs(C.enum_CBLAS_ORDER(o), C.enum_CBLAS_TRANSPOSE(t), C.int(n), C.int(nRHS), (*C.double)(&a[0]), C.int(lda), (*C.int)(&ipiv[0]), (*C.double)(&b[0]), C.int(ldb)))
}