Exemplo n.º 1
0
func Zher2k(uplo Uplo, trans Transpose, alpha complex128, a *matrix.GslMatrixComplex, b *matrix.GslMatrixComplex, beta float64, c *matrix.GslMatrixComplex) int32 {
	_arg_2 := complex_.GoComplexToGsl(alpha)
	return int32(C.gsl_blas_zher2k(C.CBLAS_UPLO_t(uplo), C.CBLAS_TRANSPOSE_t(trans), *(*C.gsl_complex)(unsafe.Pointer(_arg_2)), (*C.gsl_matrix_complex)(unsafe.Pointer(a.Ptr())), (*C.gsl_matrix_complex)(unsafe.Pointer(b.Ptr())), C.double(beta), (*C.gsl_matrix_complex)(unsafe.Pointer(c.Ptr()))))
}
Exemplo n.º 2
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()))))
}
Exemplo n.º 3
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()))))
}
Exemplo n.º 4
0
func Zher2(uplo Uplo, alpha complex128, x *vector.GslVectorComplex, y *vector.GslVectorComplex, a *matrix.GslMatrixComplex) int32 {
	_arg_1 := complex_.GoComplexToGsl(alpha)
	return int32(C.gsl_blas_zher2(C.CBLAS_UPLO_t(uplo), *(*C.gsl_complex)(unsafe.Pointer(_arg_1)), (*C.gsl_vector_complex)(unsafe.Pointer(x.Ptr())), (*C.gsl_vector_complex)(unsafe.Pointer(y.Ptr())), (*C.gsl_matrix_complex)(unsafe.Pointer(a.Ptr()))))
}
Exemplo n.º 5
0
func Zgemm(transA Transpose, transB Transpose, 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_zgemm(C.CBLAS_TRANSPOSE_t(transA), C.CBLAS_TRANSPOSE_t(transB), *(*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()))))
}
Exemplo n.º 6
0
func Zgemv(transA Transpose, alpha complex128, a *matrix.GslMatrixComplex, x *vector.GslVectorComplex, beta complex128, y *vector.GslVectorComplex) int32 {
	_arg_1 := complex_.GoComplexToGsl(alpha)
	_arg_4 := complex_.GoComplexToGsl(beta)
	return int32(C.gsl_blas_zgemv(C.CBLAS_TRANSPOSE_t(transA), *(*C.gsl_complex)(unsafe.Pointer(_arg_1)), (*C.gsl_matrix_complex)(unsafe.Pointer(a.Ptr())), (*C.gsl_vector_complex)(unsafe.Pointer(x.Ptr())), *(*C.gsl_complex)(unsafe.Pointer(_arg_4)), (*C.gsl_vector_complex)(unsafe.Pointer(y.Ptr()))))
}
Exemplo n.º 7
0
func Zgerc(alpha complex128, x *vector.GslVectorComplex, y *vector.GslVectorComplex, a *matrix.GslMatrixComplex) int32 {
	_arg_0 := complex_.GoComplexToGsl(alpha)
	return int32(C.gsl_blas_zgerc(*(*C.gsl_complex)(unsafe.Pointer(_arg_0)), (*C.gsl_vector_complex)(unsafe.Pointer(x.Ptr())), (*C.gsl_vector_complex)(unsafe.Pointer(y.Ptr())), (*C.gsl_matrix_complex)(unsafe.Pointer(a.Ptr()))))
}
Exemplo n.º 8
0
func Zscal(alpha complex128, x *vector.GslVectorComplex) {
	_arg_0 := complex_.GoComplexToGsl(alpha)
	C.gsl_blas_zscal(*(*C.gsl_complex)(unsafe.Pointer(_arg_0)), (*C.gsl_vector_complex)(unsafe.Pointer(x.Ptr())))
}
Exemplo n.º 9
0
func Zaxpy(alpha complex128, x *vector.GslVectorComplex, y *vector.GslVectorComplex) int32 {
	_arg_0 := complex_.GoComplexToGsl(alpha)
	return int32(C.gsl_blas_zaxpy(*(*C.gsl_complex)(unsafe.Pointer(_arg_0)), (*C.gsl_vector_complex)(unsafe.Pointer(x.Ptr())), (*C.gsl_vector_complex)(unsafe.Pointer(y.Ptr()))))
}
Exemplo n.º 10
0
func ComplexHouseholderHv(tau complex128, v *vector.GslVectorComplex, w *vector.GslVectorComplex) int32 {
	_arg_0 := complex_.GoComplexToGsl(tau)
	return int32(C.gsl_linalg_complex_householder_hv(*(*C.gsl_complex)(unsafe.Pointer(_arg_0)), (*C.gsl_vector_complex)(unsafe.Pointer(v.Ptr())), (*C.gsl_vector_complex)(unsafe.Pointer(w.Ptr()))))
}
Exemplo n.º 11
0
func ComplexHouseholderMh(tau complex128, v *vector.GslVectorComplex, a *matrix.GslMatrixComplex) int32 {
	_arg_0 := complex_.GoComplexToGsl(tau)
	return int32(C.gsl_linalg_complex_householder_mh(*(*C.gsl_complex)(unsafe.Pointer(_arg_0)), (*C.gsl_vector_complex)(unsafe.Pointer(v.Ptr())), (*C.gsl_matrix_complex)(unsafe.Pointer(a.Ptr()))))
}
Exemplo n.º 12
0
func ComplexPolyComplexEval(c []complex128, len int32, z complex128) complex128 {
	_slice_header_0 := (*reflect.SliceHeader)(unsafe.Pointer(&c))
	_arg_2 := complex_.GoComplexToGsl(z)
	_result := C.gsl_complex_poly_complex_eval((*C.gsl_complex)(unsafe.Pointer(_slice_header_0.Data)), C.int(len), *(*C.gsl_complex)(unsafe.Pointer(_arg_2)))
	return complex_.GslComplexToGo(uintptr(unsafe.Pointer(&_result)))
}