Ejemplo n.º 1
0
func Ctrsm(side Side, uplo Uplo, transA Transpose, diag Diag, alpha complex64, a *matrix.GslMatrixComplexFloat, b *matrix.GslMatrixComplexFloat) int32 {
	_arg_4 := complex_.GoComplexFloatToGsl(alpha)
	return int32(C.gsl_blas_ctrsm(C.CBLAS_SIDE_t(side), C.CBLAS_UPLO_t(uplo), C.CBLAS_TRANSPOSE_t(transA), C.CBLAS_DIAG_t(diag), *(*C.gsl_complex_float)(unsafe.Pointer(_arg_4)), (*C.gsl_matrix_complex_float)(unsafe.Pointer(a.Ptr())), (*C.gsl_matrix_complex_float)(unsafe.Pointer(b.Ptr()))))
}
Ejemplo n.º 2
0
func Cher2k(uplo Uplo, trans Transpose, alpha complex64, a *matrix.GslMatrixComplexFloat, b *matrix.GslMatrixComplexFloat, beta float32, c *matrix.GslMatrixComplexFloat) int32 {
	_arg_2 := complex_.GoComplexFloatToGsl(alpha)
	return int32(C.gsl_blas_cher2k(C.CBLAS_UPLO_t(uplo), C.CBLAS_TRANSPOSE_t(trans), *(*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.float(beta), (*C.gsl_matrix_complex_float)(unsafe.Pointer(c.Ptr()))))
}
Ejemplo n.º 3
0
func Cgemm(transA Transpose, transB Transpose, 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_cgemm(C.CBLAS_TRANSPOSE_t(transA), C.CBLAS_TRANSPOSE_t(transB), *(*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.º 4
0
func Chemm(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_chemm(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.º 5
0
func Cher2(uplo Uplo, alpha complex64, x *vector.GslVectorComplexFloat, y *vector.GslVectorComplexFloat, a *matrix.GslMatrixComplexFloat) int32 {
	_arg_1 := complex_.GoComplexFloatToGsl(alpha)
	return int32(C.gsl_blas_cher2(C.CBLAS_UPLO_t(uplo), *(*C.gsl_complex_float)(unsafe.Pointer(_arg_1)), (*C.gsl_vector_complex_float)(unsafe.Pointer(x.Ptr())), (*C.gsl_vector_complex_float)(unsafe.Pointer(y.Ptr())), (*C.gsl_matrix_complex_float)(unsafe.Pointer(a.Ptr()))))
}
Ejemplo n.º 6
0
func Cgerc(alpha complex64, x *vector.GslVectorComplexFloat, y *vector.GslVectorComplexFloat, a *matrix.GslMatrixComplexFloat) int32 {
	_arg_0 := complex_.GoComplexFloatToGsl(alpha)
	return int32(C.gsl_blas_cgerc(*(*C.gsl_complex_float)(unsafe.Pointer(_arg_0)), (*C.gsl_vector_complex_float)(unsafe.Pointer(x.Ptr())), (*C.gsl_vector_complex_float)(unsafe.Pointer(y.Ptr())), (*C.gsl_matrix_complex_float)(unsafe.Pointer(a.Ptr()))))
}
Ejemplo n.º 7
0
func Cgemv(transA Transpose, alpha complex64, a *matrix.GslMatrixComplexFloat, x *vector.GslVectorComplexFloat, beta complex64, y *vector.GslVectorComplexFloat) int32 {
	_arg_1 := complex_.GoComplexFloatToGsl(alpha)
	_arg_4 := complex_.GoComplexFloatToGsl(beta)
	return int32(C.gsl_blas_cgemv(C.CBLAS_TRANSPOSE_t(transA), *(*C.gsl_complex_float)(unsafe.Pointer(_arg_1)), (*C.gsl_matrix_complex_float)(unsafe.Pointer(a.Ptr())), (*C.gsl_vector_complex_float)(unsafe.Pointer(x.Ptr())), *(*C.gsl_complex_float)(unsafe.Pointer(_arg_4)), (*C.gsl_vector_complex_float)(unsafe.Pointer(y.Ptr()))))
}
Ejemplo n.º 8
0
func Cscal(alpha complex64, x *vector.GslVectorComplexFloat) {
	_arg_0 := complex_.GoComplexFloatToGsl(alpha)
	C.gsl_blas_cscal(*(*C.gsl_complex_float)(unsafe.Pointer(_arg_0)), (*C.gsl_vector_complex_float)(unsafe.Pointer(x.Ptr())))
}
Ejemplo n.º 9
0
func Caxpy(alpha complex64, x *vector.GslVectorComplexFloat, y *vector.GslVectorComplexFloat) int32 {
	_arg_0 := complex_.GoComplexFloatToGsl(alpha)
	return int32(C.gsl_blas_caxpy(*(*C.gsl_complex_float)(unsafe.Pointer(_arg_0)), (*C.gsl_vector_complex_float)(unsafe.Pointer(x.Ptr())), (*C.gsl_vector_complex_float)(unsafe.Pointer(y.Ptr()))))
}