当前位置: 首页>>代码示例>>Golang>>正文


Golang matrix.GslMatrixComplexFloat类代码示例

本文整理汇总了Golang中github.com/dtromb/gogsl/matrix.GslMatrixComplexFloat的典型用法代码示例。如果您正苦于以下问题:Golang GslMatrixComplexFloat类的具体用法?Golang GslMatrixComplexFloat怎么用?Golang GslMatrixComplexFloat使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了GslMatrixComplexFloat类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Golang代码示例。

示例1: Cher2k

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()))))
}
开发者ID:postfix,项目名称:gsl-1,代码行数:4,代码来源:blas.go

示例2: Ctrsm

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()))))
}
开发者ID:postfix,项目名称:gsl-1,代码行数:4,代码来源:blas.go

示例3: Cherk

func Cherk(uplo Uplo, trans Transpose, alpha float32, a *matrix.GslMatrixComplexFloat, beta float32, c *matrix.GslMatrixComplexFloat) int32 {
	return int32(C.gsl_blas_cherk(C.CBLAS_UPLO_t(uplo), C.CBLAS_TRANSPOSE_t(trans), C.float(alpha), (*C.gsl_matrix_complex_float)(unsafe.Pointer(a.Ptr())), C.float(beta), (*C.gsl_matrix_complex_float)(unsafe.Pointer(c.Ptr()))))
}
开发者ID:postfix,项目名称:gsl-1,代码行数:3,代码来源:blas.go

示例4: Cgemm

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()))))
}
开发者ID:postfix,项目名称:gsl-1,代码行数:5,代码来源:blas.go

示例5: Chemm

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()))))
}
开发者ID:postfix,项目名称:gsl-1,代码行数:5,代码来源:blas.go

示例6: Cher2

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()))))
}
开发者ID:postfix,项目名称:gsl-1,代码行数:4,代码来源:blas.go

示例7: Cher

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()))))
}
开发者ID:postfix,项目名称:gsl-1,代码行数:3,代码来源:blas.go

示例8: Cgerc

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()))))
}
开发者ID:postfix,项目名称:gsl-1,代码行数:4,代码来源:blas.go

示例9: Ctrsv

func Ctrsv(uplo Uplo, transA Transpose, diag Diag, a *matrix.GslMatrixComplexFloat, x *vector.GslVectorComplexFloat) int32 {
	return int32(C.gsl_blas_ctrsv(C.CBLAS_UPLO_t(uplo), C.CBLAS_TRANSPOSE_t(transA), C.CBLAS_DIAG_t(diag), (*C.gsl_matrix_complex_float)(unsafe.Pointer(a.Ptr())), (*C.gsl_vector_complex_float)(unsafe.Pointer(x.Ptr()))))
}
开发者ID:postfix,项目名称:gsl-1,代码行数:3,代码来源:blas.go

示例10: Cgemv

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()))))
}
开发者ID:postfix,项目名称:gsl-1,代码行数:5,代码来源:blas.go


注:本文中的github.com/dtromb/gogsl/matrix.GslMatrixComplexFloat类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。