Пример #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()))))
}
Пример #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()))))
}
Пример #3
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()))))
}
Пример #4
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()))))
}
Пример #5
0
func Ztrsv(uplo Uplo, transA Transpose, diag Diag, a *matrix.GslMatrixComplex, x *vector.GslVectorComplex) int32 {
	return int32(C.gsl_blas_ztrsv(C.CBLAS_UPLO_t(uplo), C.CBLAS_TRANSPOSE_t(transA), C.CBLAS_DIAG_t(diag), (*C.gsl_matrix_complex)(unsafe.Pointer(a.Ptr())), (*C.gsl_vector_complex)(unsafe.Pointer(x.Ptr()))))
}
Пример #6
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()))))
}
Пример #7
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()))))
}
Пример #8
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()))))
}
Пример #9
0
func Dsyr2(uplo Uplo, alpha float64, x *vector.GslVector, y *vector.GslVector, a *matrix.GslMatrix) int32 {
	return int32(C.gsl_blas_dsyr2(C.CBLAS_UPLO_t(uplo), C.double(alpha), (*C.gsl_vector)(unsafe.Pointer(x.Ptr())), (*C.gsl_vector)(unsafe.Pointer(y.Ptr())), (*C.gsl_matrix)(unsafe.Pointer(a.Ptr()))))
}
Пример #10
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()))))
}
Пример #11
0
func Ssyr2(uplo Uplo, alpha float32, x *vector.GslVectorFloat, y *vector.GslVectorFloat, a *matrix.GslMatrixFloat) int32 {
	return int32(C.gsl_blas_ssyr2(C.CBLAS_UPLO_t(uplo), C.float(alpha), (*C.gsl_vector_float)(unsafe.Pointer(x.Ptr())), (*C.gsl_vector_float)(unsafe.Pointer(y.Ptr())), (*C.gsl_matrix_float)(unsafe.Pointer(a.Ptr()))))
}
Пример #12
0
func Zher(uplo Uplo, alpha float64, x *vector.GslVectorComplex, a *matrix.GslMatrixComplex) int32 {
	return int32(C.gsl_blas_zher(C.CBLAS_UPLO_t(uplo), C.double(alpha), (*C.gsl_vector_complex)(unsafe.Pointer(x.Ptr())), (*C.gsl_matrix_complex)(unsafe.Pointer(a.Ptr()))))
}
Пример #13
0
func Cher(uplo Uplo, alpha float32, x *vector.GslVectorComplexFloat, a *matrix.GslMatrixComplexFloat) int32 {
	return int32(C.gsl_blas_cher(C.CBLAS_UPLO_t(uplo), C.float(alpha), (*C.gsl_vector_complex_float)(unsafe.Pointer(x.Ptr())), (*C.gsl_matrix_complex_float)(unsafe.Pointer(a.Ptr()))))
}
Пример #14
0
func Ssyr2k(uplo Uplo, trans Transpose, alpha float32, a *matrix.GslMatrixFloat, b *matrix.GslMatrixFloat, beta float32, c *matrix.GslMatrixFloat) int32 {
	return int32(C.gsl_blas_ssyr2k(C.CBLAS_UPLO_t(uplo), C.CBLAS_TRANSPOSE_t(trans), 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()))))
}
Пример #15
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()))))
}
Пример #16
0
func Dsyr2k(uplo Uplo, trans Transpose, alpha float64, a *matrix.GslMatrix, b *matrix.GslMatrix, beta float64, c *matrix.GslMatrix) int32 {
	return int32(C.gsl_blas_dsyr2k(C.CBLAS_UPLO_t(uplo), C.CBLAS_TRANSPOSE_t(trans), 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()))))
}
Пример #17
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()))))
}
Пример #18
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()))))
}
Пример #19
0
func Strsv(uplo Uplo, transA Transpose, diag Diag, a *matrix.GslMatrixFloat, x *vector.GslVectorFloat) int32 {
	return int32(C.gsl_blas_strsv(C.CBLAS_UPLO_t(uplo), C.CBLAS_TRANSPOSE_t(transA), C.CBLAS_DIAG_t(diag), (*C.gsl_matrix_float)(unsafe.Pointer(a.Ptr())), (*C.gsl_vector_float)(unsafe.Pointer(x.Ptr()))))
}