Ejemplo n.º 1
0
func Dtrsm(side Side, uplo Uplo, transA Transpose, diag Diag, alpha float64, a *matrix.GslMatrix, b *matrix.GslMatrix) int32 {
	return int32(C.gsl_blas_dtrsm(C.CBLAS_SIDE_t(side), C.CBLAS_UPLO_t(uplo), C.CBLAS_TRANSPOSE_t(transA), C.CBLAS_DIAG_t(diag), C.double(alpha), (*C.gsl_matrix)(unsafe.Pointer(a.Ptr())), (*C.gsl_matrix)(unsafe.Pointer(b.Ptr()))))
}
Ejemplo n.º 2
0
func Ztrsm(side Side, uplo Uplo, transA Transpose, diag Diag, alpha complex128, a *matrix.GslMatrixComplex, b *matrix.GslMatrixComplex) int32 {
	_arg_4 := complex_.GoComplexToGsl(alpha)
	return int32(C.gsl_blas_ztrsm(C.CBLAS_SIDE_t(side), C.CBLAS_UPLO_t(uplo), C.CBLAS_TRANSPOSE_t(transA), C.CBLAS_DIAG_t(diag), *(*C.gsl_complex)(unsafe.Pointer(_arg_4)), (*C.gsl_matrix_complex)(unsafe.Pointer(a.Ptr())), (*C.gsl_matrix_complex)(unsafe.Pointer(b.Ptr()))))
}
Ejemplo n.º 3
0
func Strsm(side Side, uplo Uplo, transA Transpose, diag Diag, alpha float32, a *matrix.GslMatrixFloat, b *matrix.GslMatrixFloat) int32 {
	return int32(C.gsl_blas_strsm(C.CBLAS_SIDE_t(side), C.CBLAS_UPLO_t(uplo), C.CBLAS_TRANSPOSE_t(transA), C.CBLAS_DIAG_t(diag), C.float(alpha), (*C.gsl_matrix_float)(unsafe.Pointer(a.Ptr())), (*C.gsl_matrix_float)(unsafe.Pointer(b.Ptr()))))
}
Ejemplo n.º 4
0
func Zhemm(side Side, uplo Uplo, alpha complex128, a *matrix.GslMatrixComplex, b *matrix.GslMatrixComplex, beta complex128, c *matrix.GslMatrixComplex) int32 {
	_arg_2 := complex_.GoComplexToGsl(alpha)
	_arg_5 := complex_.GoComplexToGsl(beta)
	return int32(C.gsl_blas_zhemm(C.CBLAS_SIDE_t(side), C.CBLAS_UPLO_t(uplo), *(*C.gsl_complex)(unsafe.Pointer(_arg_2)), (*C.gsl_matrix_complex)(unsafe.Pointer(a.Ptr())), (*C.gsl_matrix_complex)(unsafe.Pointer(b.Ptr())), *(*C.gsl_complex)(unsafe.Pointer(_arg_5)), (*C.gsl_matrix_complex)(unsafe.Pointer(c.Ptr()))))
}
Ejemplo n.º 5
0
func Csymm(side Side, uplo Uplo, alpha complex64, a *matrix.GslMatrixComplexFloat, b *matrix.GslMatrixComplexFloat, beta complex64, c *matrix.GslMatrixComplexFloat) int32 {
	_arg_2 := complex_.GoComplexFloatToGsl(alpha)
	_arg_5 := complex_.GoComplexFloatToGsl(beta)
	return int32(C.gsl_blas_csymm(C.CBLAS_SIDE_t(side), C.CBLAS_UPLO_t(uplo), *(*C.gsl_complex_float)(unsafe.Pointer(_arg_2)), (*C.gsl_matrix_complex_float)(unsafe.Pointer(a.Ptr())), (*C.gsl_matrix_complex_float)(unsafe.Pointer(b.Ptr())), *(*C.gsl_complex_float)(unsafe.Pointer(_arg_5)), (*C.gsl_matrix_complex_float)(unsafe.Pointer(c.Ptr()))))
}
Ejemplo n.º 6
0
func Dsymm(side Side, uplo Uplo, alpha float64, a *matrix.GslMatrix, b *matrix.GslMatrix, beta float64, c *matrix.GslMatrix) int32 {
	return int32(C.gsl_blas_dsymm(C.CBLAS_SIDE_t(side), C.CBLAS_UPLO_t(uplo), C.double(alpha), (*C.gsl_matrix)(unsafe.Pointer(a.Ptr())), (*C.gsl_matrix)(unsafe.Pointer(b.Ptr())), C.double(beta), (*C.gsl_matrix)(unsafe.Pointer(c.Ptr()))))
}
Ejemplo n.º 7
0
func Ssymm(side Side, uplo Uplo, alpha float32, a *matrix.GslMatrixFloat, b *matrix.GslMatrixFloat, beta float32, c *matrix.GslMatrixFloat) int32 {
	return int32(C.gsl_blas_ssymm(C.CBLAS_SIDE_t(side), C.CBLAS_UPLO_t(uplo), C.float(alpha), (*C.gsl_matrix_float)(unsafe.Pointer(a.Ptr())), (*C.gsl_matrix_float)(unsafe.Pointer(b.Ptr())), C.float(beta), (*C.gsl_matrix_float)(unsafe.Pointer(c.Ptr()))))
}