From 35f2864b87002889f58ac33f73e4628c570ed4ff Mon Sep 17 00:00:00 2001 From: rezgarshakeri Date: Tue, 11 Jul 2023 14:04:03 -0600 Subject: [PATCH] Added CeedMatrixPseudoinverse to libceed_binding.jl --- julia/LibCEED.jl/src/generated/libceed_bindings.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/julia/LibCEED.jl/src/generated/libceed_bindings.jl b/julia/LibCEED.jl/src/generated/libceed_bindings.jl index f2afdc6d82..48740b9571 100644 --- a/julia/LibCEED.jl/src/generated/libceed_bindings.jl +++ b/julia/LibCEED.jl/src/generated/libceed_bindings.jl @@ -1410,6 +1410,10 @@ function CeedHouseholderApplyQ(mat_A, mat_Q, tau, t_mode, m, n, k, row, col) ccall((:CeedHouseholderApplyQ, libceed), Cint, (Ptr{CeedScalar}, Ptr{CeedScalar}, Ptr{CeedScalar}, CeedTransposeMode, CeedInt, CeedInt, CeedInt, CeedInt, CeedInt), mat_A, mat_Q, tau, t_mode, m, n, k, row, col) end +function CeedMatrixPseudoinverse(ceed, mat, m, n, mat_pinv) + ccall((:CeedMatrixPseudoinverse, libceed), Cint, (Ceed, Ptr{CeedScalar}, CeedInt, CeedInt, Ptr{CeedScalar}), ceed, mat, m, n, mat_pinv) +end + function CeedSymmetricSchurDecomposition(ceed, mat, lambda, n) ccall((:CeedSymmetricSchurDecomposition, libceed), Cint, (Ceed, Ptr{CeedScalar}, Ptr{CeedScalar}, CeedInt), ceed, mat, lambda, n) end