r"""Wrapper for gmath.h

Generated with:
./run.py --no-embed-preamble /opt/local/var/macports/build/grass-4d324bc0/work/grass-8.5.0/dist.x86_64-apple-darwin22.6.0 --cpp /usr/bin/clang -E  -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk  "-Drestrict=" "-D__attribute__(x)=" "-D_Nonnull="  "-Dint8_t=char" "-DCF_INLINE=" "-D_Null_unspecified="  "-D__DARWIN_OS_INLINE="      -I/opt/local/var/macports/build/grass-4d324bc0/work/grass-8.5.0/dist.x86_64-apple-darwin22.6.0/include -I/opt/local/var/macports/build/grass-4d324bc0/work/grass-8.5.0/dist.x86_64-apple-darwin22.6.0/include -D__GLIBC_HAVE_LONG_LONG -lgrass_gmath.8.5 /opt/local/var/macports/build/grass-4d324bc0/work/grass-8.5.0/dist.x86_64-apple-darwin22.6.0/include/grass/gmath.h /opt/local/var/macports/build/grass-4d324bc0/work/grass-8.5.0/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gmath.h -o OBJ.x86_64-apple-darwin22.6.0/gmath.py

Do not modify this file.
"""

__docformat__ = "restructuredtext"

# Begin preamble for Python

from .ctypes_preamble import *
from .ctypes_preamble import _variadic_function

# End preamble

_libs = {}
_libdirs = []

# Begin loader

from .ctypes_loader import *

# End loader

add_library_search_dirs([])

# Begin libraries
_libs["grass_gmath.8.5"] = load_library("grass_gmath.8.5")

# 1 libraries
# End libraries

# No modules

# include/grass/gmath.h: 58
class struct_anon_1(Structure):
    pass

struct_anon_1.__slots__ = [
    'values',
    'cols',
    'index',
]
struct_anon_1._fields_ = [
    ('values', POINTER(c_double)),
    ('cols', c_uint),
    ('index', POINTER(c_uint)),
]

G_math_spvector = struct_anon_1# include/grass/gmath.h: 58

# include/grass/defs/gmath.h: 5
if _libs["grass_gmath.8.5"].has("G_alloc_vector", "cdecl"):
    G_alloc_vector = _libs["grass_gmath.8.5"].get("G_alloc_vector", "cdecl")
    G_alloc_vector.argtypes = [c_size_t]
    G_alloc_vector.restype = POINTER(c_double)

# include/grass/defs/gmath.h: 6
if _libs["grass_gmath.8.5"].has("G_alloc_matrix", "cdecl"):
    G_alloc_matrix = _libs["grass_gmath.8.5"].get("G_alloc_matrix", "cdecl")
    G_alloc_matrix.argtypes = [c_int, c_int]
    G_alloc_matrix.restype = POINTER(POINTER(c_double))

# include/grass/defs/gmath.h: 7
if _libs["grass_gmath.8.5"].has("G_alloc_fvector", "cdecl"):
    G_alloc_fvector = _libs["grass_gmath.8.5"].get("G_alloc_fvector", "cdecl")
    G_alloc_fvector.argtypes = [c_size_t]
    G_alloc_fvector.restype = POINTER(c_float)

# include/grass/defs/gmath.h: 8
if _libs["grass_gmath.8.5"].has("G_alloc_fmatrix", "cdecl"):
    G_alloc_fmatrix = _libs["grass_gmath.8.5"].get("G_alloc_fmatrix", "cdecl")
    G_alloc_fmatrix.argtypes = [c_int, c_int]
    G_alloc_fmatrix.restype = POINTER(POINTER(c_float))

# include/grass/defs/gmath.h: 9
if _libs["grass_gmath.8.5"].has("G_free_vector", "cdecl"):
    G_free_vector = _libs["grass_gmath.8.5"].get("G_free_vector", "cdecl")
    G_free_vector.argtypes = [POINTER(c_double)]
    G_free_vector.restype = None

# include/grass/defs/gmath.h: 10
if _libs["grass_gmath.8.5"].has("G_free_matrix", "cdecl"):
    G_free_matrix = _libs["grass_gmath.8.5"].get("G_free_matrix", "cdecl")
    G_free_matrix.argtypes = [POINTER(POINTER(c_double))]
    G_free_matrix.restype = None

# include/grass/defs/gmath.h: 11
if _libs["grass_gmath.8.5"].has("G_free_fvector", "cdecl"):
    G_free_fvector = _libs["grass_gmath.8.5"].get("G_free_fvector", "cdecl")
    G_free_fvector.argtypes = [POINTER(c_float)]
    G_free_fvector.restype = None

# include/grass/defs/gmath.h: 12
if _libs["grass_gmath.8.5"].has("G_free_fmatrix", "cdecl"):
    G_free_fmatrix = _libs["grass_gmath.8.5"].get("G_free_fmatrix", "cdecl")
    G_free_fmatrix.argtypes = [POINTER(POINTER(c_float))]
    G_free_fmatrix.restype = None

# include/grass/defs/gmath.h: 15
if _libs["grass_gmath.8.5"].has("G_alloc_ivector", "cdecl"):
    G_alloc_ivector = _libs["grass_gmath.8.5"].get("G_alloc_ivector", "cdecl")
    G_alloc_ivector.argtypes = [c_size_t]
    G_alloc_ivector.restype = POINTER(c_int)

# include/grass/defs/gmath.h: 16
if _libs["grass_gmath.8.5"].has("G_alloc_imatrix", "cdecl"):
    G_alloc_imatrix = _libs["grass_gmath.8.5"].get("G_alloc_imatrix", "cdecl")
    G_alloc_imatrix.argtypes = [c_int, c_int]
    G_alloc_imatrix.restype = POINTER(POINTER(c_int))

# include/grass/defs/gmath.h: 17
if _libs["grass_gmath.8.5"].has("G_free_ivector", "cdecl"):
    G_free_ivector = _libs["grass_gmath.8.5"].get("G_free_ivector", "cdecl")
    G_free_ivector.argtypes = [POINTER(c_int)]
    G_free_ivector.restype = None

# include/grass/defs/gmath.h: 18
if _libs["grass_gmath.8.5"].has("G_free_imatrix", "cdecl"):
    G_free_imatrix = _libs["grass_gmath.8.5"].get("G_free_imatrix", "cdecl")
    G_free_imatrix.argtypes = [POINTER(POINTER(c_int))]
    G_free_imatrix.restype = None

# include/grass/defs/gmath.h: 21
if _libs["grass_gmath.8.5"].has("fft", "cdecl"):
    fft = _libs["grass_gmath.8.5"].get("fft", "cdecl")
    fft.argtypes = [c_int, POINTER(c_double) * int(2), c_int, c_int, c_int]
    fft.restype = c_int

# include/grass/defs/gmath.h: 22
if _libs["grass_gmath.8.5"].has("fft2", "cdecl"):
    fft2 = _libs["grass_gmath.8.5"].get("fft2", "cdecl")
    fft2.argtypes = [c_int, POINTER(c_double * int(2)), c_int, c_int, c_int]
    fft2.restype = c_int

# include/grass/defs/gmath.h: 25
if _libs["grass_gmath.8.5"].has("G_math_rand_gauss", "cdecl"):
    G_math_rand_gauss = _libs["grass_gmath.8.5"].get("G_math_rand_gauss", "cdecl")
    G_math_rand_gauss.argtypes = [c_double]
    G_math_rand_gauss.restype = c_double

# include/grass/defs/gmath.h: 28
if _libs["grass_gmath.8.5"].has("G_math_max_pow2", "cdecl"):
    G_math_max_pow2 = _libs["grass_gmath.8.5"].get("G_math_max_pow2", "cdecl")
    G_math_max_pow2.argtypes = [c_long]
    G_math_max_pow2.restype = c_long

# include/grass/defs/gmath.h: 29
if _libs["grass_gmath.8.5"].has("G_math_min_pow2", "cdecl"):
    G_math_min_pow2 = _libs["grass_gmath.8.5"].get("G_math_min_pow2", "cdecl")
    G_math_min_pow2.argtypes = [c_long]
    G_math_min_pow2.restype = c_long

# include/grass/defs/gmath.h: 32
if _libs["grass_gmath.8.5"].has("G_math_srand", "cdecl"):
    G_math_srand = _libs["grass_gmath.8.5"].get("G_math_srand", "cdecl")
    G_math_srand.argtypes = [c_int]
    G_math_srand.restype = None

# include/grass/defs/gmath.h: 33
if _libs["grass_gmath.8.5"].has("G_math_srand_auto", "cdecl"):
    G_math_srand_auto = _libs["grass_gmath.8.5"].get("G_math_srand_auto", "cdecl")
    G_math_srand_auto.argtypes = []
    G_math_srand_auto.restype = c_int

# include/grass/defs/gmath.h: 34
if _libs["grass_gmath.8.5"].has("G_math_rand", "cdecl"):
    G_math_rand = _libs["grass_gmath.8.5"].get("G_math_rand", "cdecl")
    G_math_rand.argtypes = []
    G_math_rand.restype = c_float

# include/grass/defs/gmath.h: 37
if _libs["grass_gmath.8.5"].has("del2g", "cdecl"):
    del2g = _libs["grass_gmath.8.5"].get("del2g", "cdecl")
    del2g.argtypes = [POINTER(c_double) * int(2), c_int, c_double]
    del2g.restype = c_int

# include/grass/defs/gmath.h: 40
if _libs["grass_gmath.8.5"].has("getg", "cdecl"):
    getg = _libs["grass_gmath.8.5"].get("getg", "cdecl")
    getg.argtypes = [c_double, POINTER(c_double) * int(2), c_int]
    getg.restype = c_int

# include/grass/defs/gmath.h: 43
if _libs["grass_gmath.8.5"].has("G_math_egvorder", "cdecl"):
    G_math_egvorder = _libs["grass_gmath.8.5"].get("G_math_egvorder", "cdecl")
    G_math_egvorder.argtypes = [POINTER(c_double), POINTER(POINTER(c_double)), c_long]
    G_math_egvorder.restype = c_int

# include/grass/defs/gmath.h: 46
if _libs["grass_gmath.8.5"].has("G_math_complex_mult", "cdecl"):
    G_math_complex_mult = _libs["grass_gmath.8.5"].get("G_math_complex_mult", "cdecl")
    G_math_complex_mult.argtypes = [POINTER(c_double) * int(2), c_int, POINTER(c_double) * int(2), c_int, POINTER(c_double) * int(2), c_int]
    G_math_complex_mult.restype = c_int

# include/grass/defs/gmath.h: 50
if _libs["grass_gmath.8.5"].has("G_ludcmp", "cdecl"):
    G_ludcmp = _libs["grass_gmath.8.5"].get("G_ludcmp", "cdecl")
    G_ludcmp.argtypes = [POINTER(POINTER(c_double)), c_int, POINTER(c_int), POINTER(c_double)]
    G_ludcmp.restype = c_int

# include/grass/defs/gmath.h: 51
if _libs["grass_gmath.8.5"].has("G_lubksb", "cdecl"):
    G_lubksb = _libs["grass_gmath.8.5"].get("G_lubksb", "cdecl")
    G_lubksb.argtypes = [POINTER(POINTER(c_double)), c_int, POINTER(c_int), POINTER(c_double)]
    G_lubksb.restype = None

# include/grass/defs/gmath.h: 54
if _libs["grass_gmath.8.5"].has("G_math_findzc", "cdecl"):
    G_math_findzc = _libs["grass_gmath.8.5"].get("G_math_findzc", "cdecl")
    G_math_findzc.argtypes = [POINTER(c_double), c_int, POINTER(c_double), c_double, c_int]
    G_math_findzc.restype = c_int

# include/grass/defs/gmath.h: 60
if _libs["grass_gmath.8.5"].has("G_math_solv", "cdecl"):
    G_math_solv = _libs["grass_gmath.8.5"].get("G_math_solv", "cdecl")
    G_math_solv.argtypes = [POINTER(POINTER(c_double)), POINTER(c_double), c_int]
    G_math_solv.restype = c_int

# include/grass/defs/gmath.h: 61
if _libs["grass_gmath.8.5"].has("G_math_solvps", "cdecl"):
    G_math_solvps = _libs["grass_gmath.8.5"].get("G_math_solvps", "cdecl")
    G_math_solvps.argtypes = [POINTER(POINTER(c_double)), POINTER(c_double), c_int]
    G_math_solvps.restype = c_int

# include/grass/defs/gmath.h: 62
if _libs["grass_gmath.8.5"].has("G_math_solvtd", "cdecl"):
    G_math_solvtd = _libs["grass_gmath.8.5"].get("G_math_solvtd", "cdecl")
    G_math_solvtd.argtypes = [POINTER(c_double), POINTER(c_double), POINTER(c_double), POINTER(c_double), c_int]
    G_math_solvtd.restype = None

# include/grass/defs/gmath.h: 63
if _libs["grass_gmath.8.5"].has("G_math_solvru", "cdecl"):
    G_math_solvru = _libs["grass_gmath.8.5"].get("G_math_solvru", "cdecl")
    G_math_solvru.argtypes = [POINTER(POINTER(c_double)), POINTER(c_double), c_int]
    G_math_solvru.restype = c_int

# include/grass/defs/gmath.h: 64
if _libs["grass_gmath.8.5"].has("G_math_minv", "cdecl"):
    G_math_minv = _libs["grass_gmath.8.5"].get("G_math_minv", "cdecl")
    G_math_minv.argtypes = [POINTER(POINTER(c_double)), c_int]
    G_math_minv.restype = c_int

# include/grass/defs/gmath.h: 65
if _libs["grass_gmath.8.5"].has("G_math_psinv", "cdecl"):
    G_math_psinv = _libs["grass_gmath.8.5"].get("G_math_psinv", "cdecl")
    G_math_psinv.argtypes = [POINTER(POINTER(c_double)), c_int]
    G_math_psinv.restype = c_int

# include/grass/defs/gmath.h: 66
if _libs["grass_gmath.8.5"].has("G_math_ruinv", "cdecl"):
    G_math_ruinv = _libs["grass_gmath.8.5"].get("G_math_ruinv", "cdecl")
    G_math_ruinv.argtypes = [POINTER(POINTER(c_double)), c_int]
    G_math_ruinv.restype = c_int

# include/grass/defs/gmath.h: 67
if _libs["grass_gmath.8.5"].has("G_math_eigval", "cdecl"):
    G_math_eigval = _libs["grass_gmath.8.5"].get("G_math_eigval", "cdecl")
    G_math_eigval.argtypes = [POINTER(POINTER(c_double)), POINTER(c_double), c_int]
    G_math_eigval.restype = None

# include/grass/defs/gmath.h: 68
if _libs["grass_gmath.8.5"].has("G_math_eigen", "cdecl"):
    G_math_eigen = _libs["grass_gmath.8.5"].get("G_math_eigen", "cdecl")
    G_math_eigen.argtypes = [POINTER(POINTER(c_double)), POINTER(c_double), c_int]
    G_math_eigen.restype = None

# include/grass/defs/gmath.h: 69
if _libs["grass_gmath.8.5"].has("G_math_evmax", "cdecl"):
    G_math_evmax = _libs["grass_gmath.8.5"].get("G_math_evmax", "cdecl")
    G_math_evmax.argtypes = [POINTER(POINTER(c_double)), POINTER(c_double), c_int]
    G_math_evmax.restype = c_double

# include/grass/defs/gmath.h: 70
if _libs["grass_gmath.8.5"].has("G_math_svdval", "cdecl"):
    G_math_svdval = _libs["grass_gmath.8.5"].get("G_math_svdval", "cdecl")
    G_math_svdval.argtypes = [POINTER(c_double), POINTER(POINTER(c_double)), c_int, c_int]
    G_math_svdval.restype = c_int

# include/grass/defs/gmath.h: 71
if _libs["grass_gmath.8.5"].has("G_math_sv2val", "cdecl"):
    G_math_sv2val = _libs["grass_gmath.8.5"].get("G_math_sv2val", "cdecl")
    G_math_sv2val.argtypes = [POINTER(c_double), POINTER(POINTER(c_double)), c_int, c_int]
    G_math_sv2val.restype = c_int

# include/grass/defs/gmath.h: 72
if _libs["grass_gmath.8.5"].has("G_math_svduv", "cdecl"):
    G_math_svduv = _libs["grass_gmath.8.5"].get("G_math_svduv", "cdecl")
    G_math_svduv.argtypes = [POINTER(c_double), POINTER(POINTER(c_double)), POINTER(POINTER(c_double)), c_int, POINTER(POINTER(c_double)), c_int]
    G_math_svduv.restype = c_int

# include/grass/defs/gmath.h: 73
if _libs["grass_gmath.8.5"].has("G_math_sv2uv", "cdecl"):
    G_math_sv2uv = _libs["grass_gmath.8.5"].get("G_math_sv2uv", "cdecl")
    G_math_sv2uv.argtypes = [POINTER(c_double), POINTER(POINTER(c_double)), POINTER(POINTER(c_double)), c_int, POINTER(POINTER(c_double)), c_int]
    G_math_sv2uv.restype = c_int

# include/grass/defs/gmath.h: 74
if _libs["grass_gmath.8.5"].has("G_math_svdu1v", "cdecl"):
    G_math_svdu1v = _libs["grass_gmath.8.5"].get("G_math_svdu1v", "cdecl")
    G_math_svdu1v.argtypes = [POINTER(c_double), POINTER(POINTER(c_double)), c_int, POINTER(POINTER(c_double)), c_int]
    G_math_svdu1v.restype = c_int

# include/grass/defs/gmath.h: 82
if _libs["grass_gmath.8.5"].has("G_math_alloc_spvector", "cdecl"):
    G_math_alloc_spvector = _libs["grass_gmath.8.5"].get("G_math_alloc_spvector", "cdecl")
    G_math_alloc_spvector.argtypes = [c_int]
    G_math_alloc_spvector.restype = POINTER(G_math_spvector)

# include/grass/defs/gmath.h: 83
if _libs["grass_gmath.8.5"].has("G_math_alloc_spmatrix", "cdecl"):
    G_math_alloc_spmatrix = _libs["grass_gmath.8.5"].get("G_math_alloc_spmatrix", "cdecl")
    G_math_alloc_spmatrix.argtypes = [c_int]
    G_math_alloc_spmatrix.restype = POINTER(POINTER(G_math_spvector))

# include/grass/defs/gmath.h: 84
if _libs["grass_gmath.8.5"].has("G_math_free_spmatrix", "cdecl"):
    G_math_free_spmatrix = _libs["grass_gmath.8.5"].get("G_math_free_spmatrix", "cdecl")
    G_math_free_spmatrix.argtypes = [POINTER(POINTER(G_math_spvector)), c_int]
    G_math_free_spmatrix.restype = None

# include/grass/defs/gmath.h: 85
if _libs["grass_gmath.8.5"].has("G_math_free_spvector", "cdecl"):
    G_math_free_spvector = _libs["grass_gmath.8.5"].get("G_math_free_spvector", "cdecl")
    G_math_free_spvector.argtypes = [POINTER(G_math_spvector)]
    G_math_free_spvector.restype = None

# include/grass/defs/gmath.h: 86
if _libs["grass_gmath.8.5"].has("G_math_add_spvector", "cdecl"):
    G_math_add_spvector = _libs["grass_gmath.8.5"].get("G_math_add_spvector", "cdecl")
    G_math_add_spvector.argtypes = [POINTER(POINTER(G_math_spvector)), POINTER(G_math_spvector), c_int]
    G_math_add_spvector.restype = c_int

# include/grass/defs/gmath.h: 87
if _libs["grass_gmath.8.5"].has("G_math_A_to_Asp", "cdecl"):
    G_math_A_to_Asp = _libs["grass_gmath.8.5"].get("G_math_A_to_Asp", "cdecl")
    G_math_A_to_Asp.argtypes = [POINTER(POINTER(c_double)), c_int, c_double]
    G_math_A_to_Asp.restype = POINTER(POINTER(G_math_spvector))

# include/grass/defs/gmath.h: 88
if _libs["grass_gmath.8.5"].has("G_math_Asp_to_A", "cdecl"):
    G_math_Asp_to_A = _libs["grass_gmath.8.5"].get("G_math_Asp_to_A", "cdecl")
    G_math_Asp_to_A.argtypes = [POINTER(POINTER(G_math_spvector)), c_int]
    G_math_Asp_to_A.restype = POINTER(POINTER(c_double))

# include/grass/defs/gmath.h: 89
if _libs["grass_gmath.8.5"].has("G_math_Asp_to_sband_matrix", "cdecl"):
    G_math_Asp_to_sband_matrix = _libs["grass_gmath.8.5"].get("G_math_Asp_to_sband_matrix", "cdecl")
    G_math_Asp_to_sband_matrix.argtypes = [POINTER(POINTER(G_math_spvector)), c_int, c_int]
    G_math_Asp_to_sband_matrix.restype = POINTER(POINTER(c_double))

# include/grass/defs/gmath.h: 90
if _libs["grass_gmath.8.5"].has("G_math_sband_matrix_to_Asp", "cdecl"):
    G_math_sband_matrix_to_Asp = _libs["grass_gmath.8.5"].get("G_math_sband_matrix_to_Asp", "cdecl")
    G_math_sband_matrix_to_Asp.argtypes = [POINTER(POINTER(c_double)), c_int, c_int, c_double]
    G_math_sband_matrix_to_Asp.restype = POINTER(POINTER(G_math_spvector))

# include/grass/defs/gmath.h: 92
if _libs["grass_gmath.8.5"].has("G_math_print_spmatrix", "cdecl"):
    G_math_print_spmatrix = _libs["grass_gmath.8.5"].get("G_math_print_spmatrix", "cdecl")
    G_math_print_spmatrix.argtypes = [POINTER(POINTER(G_math_spvector)), c_int]
    G_math_print_spmatrix.restype = None

# include/grass/defs/gmath.h: 93
if _libs["grass_gmath.8.5"].has("G_math_Ax_sparse", "cdecl"):
    G_math_Ax_sparse = _libs["grass_gmath.8.5"].get("G_math_Ax_sparse", "cdecl")
    G_math_Ax_sparse.argtypes = [POINTER(POINTER(G_math_spvector)), POINTER(c_double), POINTER(c_double), c_int]
    G_math_Ax_sparse.restype = None

# include/grass/defs/gmath.h: 96
if _libs["grass_gmath.8.5"].has("G_math_matrix_to_sband_matrix", "cdecl"):
    G_math_matrix_to_sband_matrix = _libs["grass_gmath.8.5"].get("G_math_matrix_to_sband_matrix", "cdecl")
    G_math_matrix_to_sband_matrix.argtypes = [POINTER(POINTER(c_double)), c_int, c_int]
    G_math_matrix_to_sband_matrix.restype = POINTER(POINTER(c_double))

# include/grass/defs/gmath.h: 97
if _libs["grass_gmath.8.5"].has("G_math_sband_matrix_to_matrix", "cdecl"):
    G_math_sband_matrix_to_matrix = _libs["grass_gmath.8.5"].get("G_math_sband_matrix_to_matrix", "cdecl")
    G_math_sband_matrix_to_matrix.argtypes = [POINTER(POINTER(c_double)), c_int, c_int]
    G_math_sband_matrix_to_matrix.restype = POINTER(POINTER(c_double))

# include/grass/defs/gmath.h: 98
if _libs["grass_gmath.8.5"].has("G_math_Ax_sband", "cdecl"):
    G_math_Ax_sband = _libs["grass_gmath.8.5"].get("G_math_Ax_sband", "cdecl")
    G_math_Ax_sband.argtypes = [POINTER(POINTER(c_double)), POINTER(c_double), POINTER(c_double), c_int, c_int]
    G_math_Ax_sband.restype = None

# include/grass/defs/gmath.h: 102
if _libs["grass_gmath.8.5"].has("G_math_solver_gauss", "cdecl"):
    G_math_solver_gauss = _libs["grass_gmath.8.5"].get("G_math_solver_gauss", "cdecl")
    G_math_solver_gauss.argtypes = [POINTER(POINTER(c_double)), POINTER(c_double), POINTER(c_double), c_int]
    G_math_solver_gauss.restype = c_int

# include/grass/defs/gmath.h: 103
if _libs["grass_gmath.8.5"].has("G_math_solver_lu", "cdecl"):
    G_math_solver_lu = _libs["grass_gmath.8.5"].get("G_math_solver_lu", "cdecl")
    G_math_solver_lu.argtypes = [POINTER(POINTER(c_double)), POINTER(c_double), POINTER(c_double), c_int]
    G_math_solver_lu.restype = c_int

# include/grass/defs/gmath.h: 104
if _libs["grass_gmath.8.5"].has("G_math_solver_cholesky", "cdecl"):
    G_math_solver_cholesky = _libs["grass_gmath.8.5"].get("G_math_solver_cholesky", "cdecl")
    G_math_solver_cholesky.argtypes = [POINTER(POINTER(c_double)), POINTER(c_double), POINTER(c_double), c_int, c_int]
    G_math_solver_cholesky.restype = c_int

# include/grass/defs/gmath.h: 105
if _libs["grass_gmath.8.5"].has("G_math_solver_cholesky_sband", "cdecl"):
    G_math_solver_cholesky_sband = _libs["grass_gmath.8.5"].get("G_math_solver_cholesky_sband", "cdecl")
    G_math_solver_cholesky_sband.argtypes = [POINTER(POINTER(c_double)), POINTER(c_double), POINTER(c_double), c_int, c_int]
    G_math_solver_cholesky_sband.restype = None

# include/grass/defs/gmath.h: 107
if _libs["grass_gmath.8.5"].has("G_math_solver_jacobi", "cdecl"):
    G_math_solver_jacobi = _libs["grass_gmath.8.5"].get("G_math_solver_jacobi", "cdecl")
    G_math_solver_jacobi.argtypes = [POINTER(POINTER(c_double)), POINTER(c_double), POINTER(c_double), c_int, c_int, c_double, c_double]
    G_math_solver_jacobi.restype = c_int

# include/grass/defs/gmath.h: 109
if _libs["grass_gmath.8.5"].has("G_math_solver_gs", "cdecl"):
    G_math_solver_gs = _libs["grass_gmath.8.5"].get("G_math_solver_gs", "cdecl")
    G_math_solver_gs.argtypes = [POINTER(POINTER(c_double)), POINTER(c_double), POINTER(c_double), c_int, c_int, c_double, c_double]
    G_math_solver_gs.restype = c_int

# include/grass/defs/gmath.h: 112
if _libs["grass_gmath.8.5"].has("G_math_solver_pcg", "cdecl"):
    G_math_solver_pcg = _libs["grass_gmath.8.5"].get("G_math_solver_pcg", "cdecl")
    G_math_solver_pcg.argtypes = [POINTER(POINTER(c_double)), POINTER(c_double), POINTER(c_double), c_int, c_int, c_double, c_int]
    G_math_solver_pcg.restype = c_int

# include/grass/defs/gmath.h: 114
if _libs["grass_gmath.8.5"].has("G_math_solver_cg", "cdecl"):
    G_math_solver_cg = _libs["grass_gmath.8.5"].get("G_math_solver_cg", "cdecl")
    G_math_solver_cg.argtypes = [POINTER(POINTER(c_double)), POINTER(c_double), POINTER(c_double), c_int, c_int, c_double]
    G_math_solver_cg.restype = c_int

# include/grass/defs/gmath.h: 115
if _libs["grass_gmath.8.5"].has("G_math_solver_cg_sband", "cdecl"):
    G_math_solver_cg_sband = _libs["grass_gmath.8.5"].get("G_math_solver_cg_sband", "cdecl")
    G_math_solver_cg_sband.argtypes = [POINTER(POINTER(c_double)), POINTER(c_double), POINTER(c_double), c_int, c_int, c_int, c_double]
    G_math_solver_cg_sband.restype = c_int

# include/grass/defs/gmath.h: 117
if _libs["grass_gmath.8.5"].has("G_math_solver_bicgstab", "cdecl"):
    G_math_solver_bicgstab = _libs["grass_gmath.8.5"].get("G_math_solver_bicgstab", "cdecl")
    G_math_solver_bicgstab.argtypes = [POINTER(POINTER(c_double)), POINTER(c_double), POINTER(c_double), c_int, c_int, c_double]
    G_math_solver_bicgstab.restype = c_int

# include/grass/defs/gmath.h: 119
if _libs["grass_gmath.8.5"].has("G_math_solver_sparse_jacobi", "cdecl"):
    G_math_solver_sparse_jacobi = _libs["grass_gmath.8.5"].get("G_math_solver_sparse_jacobi", "cdecl")
    G_math_solver_sparse_jacobi.argtypes = [POINTER(POINTER(G_math_spvector)), POINTER(c_double), POINTER(c_double), c_int, c_int, c_double, c_double]
    G_math_solver_sparse_jacobi.restype = c_int

# include/grass/defs/gmath.h: 121
if _libs["grass_gmath.8.5"].has("G_math_solver_sparse_gs", "cdecl"):
    G_math_solver_sparse_gs = _libs["grass_gmath.8.5"].get("G_math_solver_sparse_gs", "cdecl")
    G_math_solver_sparse_gs.argtypes = [POINTER(POINTER(G_math_spvector)), POINTER(c_double), POINTER(c_double), c_int, c_int, c_double, c_double]
    G_math_solver_sparse_gs.restype = c_int

# include/grass/defs/gmath.h: 123
if _libs["grass_gmath.8.5"].has("G_math_solver_sparse_pcg", "cdecl"):
    G_math_solver_sparse_pcg = _libs["grass_gmath.8.5"].get("G_math_solver_sparse_pcg", "cdecl")
    G_math_solver_sparse_pcg.argtypes = [POINTER(POINTER(G_math_spvector)), POINTER(c_double), POINTER(c_double), c_int, c_int, c_double, c_int]
    G_math_solver_sparse_pcg.restype = c_int

# include/grass/defs/gmath.h: 125
if _libs["grass_gmath.8.5"].has("G_math_solver_sparse_cg", "cdecl"):
    G_math_solver_sparse_cg = _libs["grass_gmath.8.5"].get("G_math_solver_sparse_cg", "cdecl")
    G_math_solver_sparse_cg.argtypes = [POINTER(POINTER(G_math_spvector)), POINTER(c_double), POINTER(c_double), c_int, c_int, c_double]
    G_math_solver_sparse_cg.restype = c_int

# include/grass/defs/gmath.h: 127
if _libs["grass_gmath.8.5"].has("G_math_solver_sparse_bicgstab", "cdecl"):
    G_math_solver_sparse_bicgstab = _libs["grass_gmath.8.5"].get("G_math_solver_sparse_bicgstab", "cdecl")
    G_math_solver_sparse_bicgstab.argtypes = [POINTER(POINTER(G_math_spvector)), POINTER(c_double), POINTER(c_double), c_int, c_int, c_double]
    G_math_solver_sparse_bicgstab.restype = c_int

# include/grass/defs/gmath.h: 131
if _libs["grass_gmath.8.5"].has("G_math_gauss_elimination", "cdecl"):
    G_math_gauss_elimination = _libs["grass_gmath.8.5"].get("G_math_gauss_elimination", "cdecl")
    G_math_gauss_elimination.argtypes = [POINTER(POINTER(c_double)), POINTER(c_double), c_int]
    G_math_gauss_elimination.restype = None

# include/grass/defs/gmath.h: 132
if _libs["grass_gmath.8.5"].has("G_math_lu_decomposition", "cdecl"):
    G_math_lu_decomposition = _libs["grass_gmath.8.5"].get("G_math_lu_decomposition", "cdecl")
    G_math_lu_decomposition.argtypes = [POINTER(POINTER(c_double)), POINTER(c_double), c_int]
    G_math_lu_decomposition.restype = None

# include/grass/defs/gmath.h: 133
if _libs["grass_gmath.8.5"].has("G_math_cholesky_decomposition", "cdecl"):
    G_math_cholesky_decomposition = _libs["grass_gmath.8.5"].get("G_math_cholesky_decomposition", "cdecl")
    G_math_cholesky_decomposition.argtypes = [POINTER(POINTER(c_double)), c_int, c_int]
    G_math_cholesky_decomposition.restype = c_int

# include/grass/defs/gmath.h: 134
if _libs["grass_gmath.8.5"].has("G_math_cholesky_sband_decomposition", "cdecl"):
    G_math_cholesky_sband_decomposition = _libs["grass_gmath.8.5"].get("G_math_cholesky_sband_decomposition", "cdecl")
    G_math_cholesky_sband_decomposition.argtypes = [POINTER(POINTER(c_double)), POINTER(POINTER(c_double)), c_int, c_int]
    G_math_cholesky_sband_decomposition.restype = None

# include/grass/defs/gmath.h: 135
if _libs["grass_gmath.8.5"].has("G_math_backward_substitution", "cdecl"):
    G_math_backward_substitution = _libs["grass_gmath.8.5"].get("G_math_backward_substitution", "cdecl")
    G_math_backward_substitution.argtypes = [POINTER(POINTER(c_double)), POINTER(c_double), POINTER(c_double), c_int]
    G_math_backward_substitution.restype = None

# include/grass/defs/gmath.h: 136
if _libs["grass_gmath.8.5"].has("G_math_forward_substitution", "cdecl"):
    G_math_forward_substitution = _libs["grass_gmath.8.5"].get("G_math_forward_substitution", "cdecl")
    G_math_forward_substitution.argtypes = [POINTER(POINTER(c_double)), POINTER(c_double), POINTER(c_double), c_int]
    G_math_forward_substitution.restype = None

# include/grass/defs/gmath.h: 137
if _libs["grass_gmath.8.5"].has("G_math_cholesky_sband_substitution", "cdecl"):
    G_math_cholesky_sband_substitution = _libs["grass_gmath.8.5"].get("G_math_cholesky_sband_substitution", "cdecl")
    G_math_cholesky_sband_substitution.argtypes = [POINTER(POINTER(c_double)), POINTER(c_double), POINTER(c_double), c_int, c_int]
    G_math_cholesky_sband_substitution.restype = None

# include/grass/defs/gmath.h: 143
if _libs["grass_gmath.8.5"].has("G_math_d_x_dot_y", "cdecl"):
    G_math_d_x_dot_y = _libs["grass_gmath.8.5"].get("G_math_d_x_dot_y", "cdecl")
    G_math_d_x_dot_y.argtypes = [POINTER(c_double), POINTER(c_double), POINTER(c_double), c_int]
    G_math_d_x_dot_y.restype = None

# include/grass/defs/gmath.h: 144
if _libs["grass_gmath.8.5"].has("G_math_d_asum_norm", "cdecl"):
    G_math_d_asum_norm = _libs["grass_gmath.8.5"].get("G_math_d_asum_norm", "cdecl")
    G_math_d_asum_norm.argtypes = [POINTER(c_double), POINTER(c_double), c_int]
    G_math_d_asum_norm.restype = None

# include/grass/defs/gmath.h: 145
if _libs["grass_gmath.8.5"].has("G_math_d_euclid_norm", "cdecl"):
    G_math_d_euclid_norm = _libs["grass_gmath.8.5"].get("G_math_d_euclid_norm", "cdecl")
    G_math_d_euclid_norm.argtypes = [POINTER(c_double), POINTER(c_double), c_int]
    G_math_d_euclid_norm.restype = None

# include/grass/defs/gmath.h: 146
if _libs["grass_gmath.8.5"].has("G_math_d_max_norm", "cdecl"):
    G_math_d_max_norm = _libs["grass_gmath.8.5"].get("G_math_d_max_norm", "cdecl")
    G_math_d_max_norm.argtypes = [POINTER(c_double), POINTER(c_double), c_int]
    G_math_d_max_norm.restype = None

# include/grass/defs/gmath.h: 147
if _libs["grass_gmath.8.5"].has("G_math_d_ax_by", "cdecl"):
    G_math_d_ax_by = _libs["grass_gmath.8.5"].get("G_math_d_ax_by", "cdecl")
    G_math_d_ax_by.argtypes = [POINTER(c_double), POINTER(c_double), POINTER(c_double), c_double, c_double, c_int]
    G_math_d_ax_by.restype = None

# include/grass/defs/gmath.h: 148
if _libs["grass_gmath.8.5"].has("G_math_d_copy", "cdecl"):
    G_math_d_copy = _libs["grass_gmath.8.5"].get("G_math_d_copy", "cdecl")
    G_math_d_copy.argtypes = [POINTER(c_double), POINTER(c_double), c_int]
    G_math_d_copy.restype = None

# include/grass/defs/gmath.h: 150
if _libs["grass_gmath.8.5"].has("G_math_f_x_dot_y", "cdecl"):
    G_math_f_x_dot_y = _libs["grass_gmath.8.5"].get("G_math_f_x_dot_y", "cdecl")
    G_math_f_x_dot_y.argtypes = [POINTER(c_float), POINTER(c_float), POINTER(c_float), c_int]
    G_math_f_x_dot_y.restype = None

# include/grass/defs/gmath.h: 151
if _libs["grass_gmath.8.5"].has("G_math_f_asum_norm", "cdecl"):
    G_math_f_asum_norm = _libs["grass_gmath.8.5"].get("G_math_f_asum_norm", "cdecl")
    G_math_f_asum_norm.argtypes = [POINTER(c_float), POINTER(c_float), c_int]
    G_math_f_asum_norm.restype = None

# include/grass/defs/gmath.h: 152
if _libs["grass_gmath.8.5"].has("G_math_f_euclid_norm", "cdecl"):
    G_math_f_euclid_norm = _libs["grass_gmath.8.5"].get("G_math_f_euclid_norm", "cdecl")
    G_math_f_euclid_norm.argtypes = [POINTER(c_float), POINTER(c_float), c_int]
    G_math_f_euclid_norm.restype = None

# include/grass/defs/gmath.h: 153
if _libs["grass_gmath.8.5"].has("G_math_f_max_norm", "cdecl"):
    G_math_f_max_norm = _libs["grass_gmath.8.5"].get("G_math_f_max_norm", "cdecl")
    G_math_f_max_norm.argtypes = [POINTER(c_float), POINTER(c_float), c_int]
    G_math_f_max_norm.restype = None

# include/grass/defs/gmath.h: 154
if _libs["grass_gmath.8.5"].has("G_math_f_ax_by", "cdecl"):
    G_math_f_ax_by = _libs["grass_gmath.8.5"].get("G_math_f_ax_by", "cdecl")
    G_math_f_ax_by.argtypes = [POINTER(c_float), POINTER(c_float), POINTER(c_float), c_float, c_float, c_int]
    G_math_f_ax_by.restype = None

# include/grass/defs/gmath.h: 155
if _libs["grass_gmath.8.5"].has("G_math_f_copy", "cdecl"):
    G_math_f_copy = _libs["grass_gmath.8.5"].get("G_math_f_copy", "cdecl")
    G_math_f_copy.argtypes = [POINTER(c_float), POINTER(c_float), c_int]
    G_math_f_copy.restype = None

# include/grass/defs/gmath.h: 157
if _libs["grass_gmath.8.5"].has("G_math_i_x_dot_y", "cdecl"):
    G_math_i_x_dot_y = _libs["grass_gmath.8.5"].get("G_math_i_x_dot_y", "cdecl")
    G_math_i_x_dot_y.argtypes = [POINTER(c_int), POINTER(c_int), POINTER(c_double), c_int]
    G_math_i_x_dot_y.restype = None

# include/grass/defs/gmath.h: 158
if _libs["grass_gmath.8.5"].has("G_math_i_asum_norm", "cdecl"):
    G_math_i_asum_norm = _libs["grass_gmath.8.5"].get("G_math_i_asum_norm", "cdecl")
    G_math_i_asum_norm.argtypes = [POINTER(c_int), POINTER(c_double), c_int]
    G_math_i_asum_norm.restype = None

# include/grass/defs/gmath.h: 159
if _libs["grass_gmath.8.5"].has("G_math_i_euclid_norm", "cdecl"):
    G_math_i_euclid_norm = _libs["grass_gmath.8.5"].get("G_math_i_euclid_norm", "cdecl")
    G_math_i_euclid_norm.argtypes = [POINTER(c_int), POINTER(c_double), c_int]
    G_math_i_euclid_norm.restype = None

# include/grass/defs/gmath.h: 160
if _libs["grass_gmath.8.5"].has("G_math_i_max_norm", "cdecl"):
    G_math_i_max_norm = _libs["grass_gmath.8.5"].get("G_math_i_max_norm", "cdecl")
    G_math_i_max_norm.argtypes = [POINTER(c_int), POINTER(c_int), c_int]
    G_math_i_max_norm.restype = None

# include/grass/defs/gmath.h: 161
if _libs["grass_gmath.8.5"].has("G_math_i_ax_by", "cdecl"):
    G_math_i_ax_by = _libs["grass_gmath.8.5"].get("G_math_i_ax_by", "cdecl")
    G_math_i_ax_by.argtypes = [POINTER(c_int), POINTER(c_int), POINTER(c_int), c_int, c_int, c_int]
    G_math_i_ax_by.restype = None

# include/grass/defs/gmath.h: 162
if _libs["grass_gmath.8.5"].has("G_math_i_copy", "cdecl"):
    G_math_i_copy = _libs["grass_gmath.8.5"].get("G_math_i_copy", "cdecl")
    G_math_i_copy.argtypes = [POINTER(c_int), POINTER(c_int), c_int]
    G_math_i_copy.restype = None

# include/grass/defs/gmath.h: 165
if _libs["grass_gmath.8.5"].has("G_math_ddot", "cdecl"):
    G_math_ddot = _libs["grass_gmath.8.5"].get("G_math_ddot", "cdecl")
    G_math_ddot.argtypes = [POINTER(c_double), POINTER(c_double), c_int]
    G_math_ddot.restype = c_double

# include/grass/defs/gmath.h: 166
if _libs["grass_gmath.8.5"].has("G_math_sdot", "cdecl"):
    G_math_sdot = _libs["grass_gmath.8.5"].get("G_math_sdot", "cdecl")
    G_math_sdot.argtypes = [POINTER(c_float), POINTER(c_float), c_int]
    G_math_sdot.restype = c_float

# include/grass/defs/gmath.h: 167
if _libs["grass_gmath.8.5"].has("G_math_sdsdot", "cdecl"):
    G_math_sdsdot = _libs["grass_gmath.8.5"].get("G_math_sdsdot", "cdecl")
    G_math_sdsdot.argtypes = [POINTER(c_float), POINTER(c_float), c_float, c_int]
    G_math_sdsdot.restype = c_float

# include/grass/defs/gmath.h: 168
if _libs["grass_gmath.8.5"].has("G_math_dnrm2", "cdecl"):
    G_math_dnrm2 = _libs["grass_gmath.8.5"].get("G_math_dnrm2", "cdecl")
    G_math_dnrm2.argtypes = [POINTER(c_double), c_int]
    G_math_dnrm2.restype = c_double

# include/grass/defs/gmath.h: 169
if _libs["grass_gmath.8.5"].has("G_math_dasum", "cdecl"):
    G_math_dasum = _libs["grass_gmath.8.5"].get("G_math_dasum", "cdecl")
    G_math_dasum.argtypes = [POINTER(c_double), c_int]
    G_math_dasum.restype = c_double

# include/grass/defs/gmath.h: 170
if _libs["grass_gmath.8.5"].has("G_math_idamax", "cdecl"):
    G_math_idamax = _libs["grass_gmath.8.5"].get("G_math_idamax", "cdecl")
    G_math_idamax.argtypes = [POINTER(c_double), c_int]
    G_math_idamax.restype = c_double

# include/grass/defs/gmath.h: 171
if _libs["grass_gmath.8.5"].has("G_math_snrm2", "cdecl"):
    G_math_snrm2 = _libs["grass_gmath.8.5"].get("G_math_snrm2", "cdecl")
    G_math_snrm2.argtypes = [POINTER(c_float), c_int]
    G_math_snrm2.restype = c_float

# include/grass/defs/gmath.h: 172
if _libs["grass_gmath.8.5"].has("G_math_sasum", "cdecl"):
    G_math_sasum = _libs["grass_gmath.8.5"].get("G_math_sasum", "cdecl")
    G_math_sasum.argtypes = [POINTER(c_float), c_int]
    G_math_sasum.restype = c_float

# include/grass/defs/gmath.h: 173
if _libs["grass_gmath.8.5"].has("G_math_isamax", "cdecl"):
    G_math_isamax = _libs["grass_gmath.8.5"].get("G_math_isamax", "cdecl")
    G_math_isamax.argtypes = [POINTER(c_float), c_int]
    G_math_isamax.restype = c_float

# include/grass/defs/gmath.h: 174
if _libs["grass_gmath.8.5"].has("G_math_dscal", "cdecl"):
    G_math_dscal = _libs["grass_gmath.8.5"].get("G_math_dscal", "cdecl")
    G_math_dscal.argtypes = [POINTER(c_double), c_double, c_int]
    G_math_dscal.restype = None

# include/grass/defs/gmath.h: 175
if _libs["grass_gmath.8.5"].has("G_math_sscal", "cdecl"):
    G_math_sscal = _libs["grass_gmath.8.5"].get("G_math_sscal", "cdecl")
    G_math_sscal.argtypes = [POINTER(c_float), c_float, c_int]
    G_math_sscal.restype = None

# include/grass/defs/gmath.h: 176
if _libs["grass_gmath.8.5"].has("G_math_dcopy", "cdecl"):
    G_math_dcopy = _libs["grass_gmath.8.5"].get("G_math_dcopy", "cdecl")
    G_math_dcopy.argtypes = [POINTER(c_double), POINTER(c_double), c_int]
    G_math_dcopy.restype = None

# include/grass/defs/gmath.h: 177
if _libs["grass_gmath.8.5"].has("G_math_scopy", "cdecl"):
    G_math_scopy = _libs["grass_gmath.8.5"].get("G_math_scopy", "cdecl")
    G_math_scopy.argtypes = [POINTER(c_float), POINTER(c_float), c_int]
    G_math_scopy.restype = None

# include/grass/defs/gmath.h: 178
if _libs["grass_gmath.8.5"].has("G_math_daxpy", "cdecl"):
    G_math_daxpy = _libs["grass_gmath.8.5"].get("G_math_daxpy", "cdecl")
    G_math_daxpy.argtypes = [POINTER(c_double), POINTER(c_double), c_double, c_int]
    G_math_daxpy.restype = None

# include/grass/defs/gmath.h: 179
if _libs["grass_gmath.8.5"].has("G_math_saxpy", "cdecl"):
    G_math_saxpy = _libs["grass_gmath.8.5"].get("G_math_saxpy", "cdecl")
    G_math_saxpy.argtypes = [POINTER(c_float), POINTER(c_float), c_float, c_int]
    G_math_saxpy.restype = None

# include/grass/defs/gmath.h: 182
if _libs["grass_gmath.8.5"].has("G_math_d_Ax", "cdecl"):
    G_math_d_Ax = _libs["grass_gmath.8.5"].get("G_math_d_Ax", "cdecl")
    G_math_d_Ax.argtypes = [POINTER(POINTER(c_double)), POINTER(c_double), POINTER(c_double), c_int, c_int]
    G_math_d_Ax.restype = None

# include/grass/defs/gmath.h: 183
if _libs["grass_gmath.8.5"].has("G_math_f_Ax", "cdecl"):
    G_math_f_Ax = _libs["grass_gmath.8.5"].get("G_math_f_Ax", "cdecl")
    G_math_f_Ax.argtypes = [POINTER(POINTER(c_float)), POINTER(c_float), POINTER(c_float), c_int, c_int]
    G_math_f_Ax.restype = None

# include/grass/defs/gmath.h: 184
if _libs["grass_gmath.8.5"].has("G_math_d_x_dyad_y", "cdecl"):
    G_math_d_x_dyad_y = _libs["grass_gmath.8.5"].get("G_math_d_x_dyad_y", "cdecl")
    G_math_d_x_dyad_y.argtypes = [POINTER(c_double), POINTER(c_double), POINTER(POINTER(c_double)), c_int, c_int]
    G_math_d_x_dyad_y.restype = None

# include/grass/defs/gmath.h: 185
if _libs["grass_gmath.8.5"].has("G_math_f_x_dyad_y", "cdecl"):
    G_math_f_x_dyad_y = _libs["grass_gmath.8.5"].get("G_math_f_x_dyad_y", "cdecl")
    G_math_f_x_dyad_y.argtypes = [POINTER(c_float), POINTER(c_float), POINTER(POINTER(c_float)), c_int, c_int]
    G_math_f_x_dyad_y.restype = None

# include/grass/defs/gmath.h: 186
if _libs["grass_gmath.8.5"].has("G_math_d_aAx_by", "cdecl"):
    G_math_d_aAx_by = _libs["grass_gmath.8.5"].get("G_math_d_aAx_by", "cdecl")
    G_math_d_aAx_by.argtypes = [POINTER(POINTER(c_double)), POINTER(c_double), POINTER(c_double), c_double, c_double, POINTER(c_double), c_int, c_int]
    G_math_d_aAx_by.restype = None

# include/grass/defs/gmath.h: 188
if _libs["grass_gmath.8.5"].has("G_math_f_aAx_by", "cdecl"):
    G_math_f_aAx_by = _libs["grass_gmath.8.5"].get("G_math_f_aAx_by", "cdecl")
    G_math_f_aAx_by.argtypes = [POINTER(POINTER(c_float)), POINTER(c_float), POINTER(c_float), c_float, c_float, POINTER(c_float), c_int, c_int]
    G_math_f_aAx_by.restype = None

# include/grass/defs/gmath.h: 190
if _libs["grass_gmath.8.5"].has("G_math_d_A_T", "cdecl"):
    G_math_d_A_T = _libs["grass_gmath.8.5"].get("G_math_d_A_T", "cdecl")
    G_math_d_A_T.argtypes = [POINTER(POINTER(c_double)), c_int]
    G_math_d_A_T.restype = c_int

# include/grass/defs/gmath.h: 191
if _libs["grass_gmath.8.5"].has("G_math_f_A_T", "cdecl"):
    G_math_f_A_T = _libs["grass_gmath.8.5"].get("G_math_f_A_T", "cdecl")
    G_math_f_A_T.argtypes = [POINTER(POINTER(c_float)), c_int]
    G_math_f_A_T.restype = c_int

# include/grass/defs/gmath.h: 194
if _libs["grass_gmath.8.5"].has("G_math_d_aA_B", "cdecl"):
    G_math_d_aA_B = _libs["grass_gmath.8.5"].get("G_math_d_aA_B", "cdecl")
    G_math_d_aA_B.argtypes = [POINTER(POINTER(c_double)), POINTER(POINTER(c_double)), c_double, POINTER(POINTER(c_double)), c_int, c_int]
    G_math_d_aA_B.restype = None

# include/grass/defs/gmath.h: 195
if _libs["grass_gmath.8.5"].has("G_math_f_aA_B", "cdecl"):
    G_math_f_aA_B = _libs["grass_gmath.8.5"].get("G_math_f_aA_B", "cdecl")
    G_math_f_aA_B.argtypes = [POINTER(POINTER(c_float)), POINTER(POINTER(c_float)), c_float, POINTER(POINTER(c_float)), c_int, c_int]
    G_math_f_aA_B.restype = None

# include/grass/defs/gmath.h: 196
if _libs["grass_gmath.8.5"].has("G_math_d_AB", "cdecl"):
    G_math_d_AB = _libs["grass_gmath.8.5"].get("G_math_d_AB", "cdecl")
    G_math_d_AB.argtypes = [POINTER(POINTER(c_double)), POINTER(POINTER(c_double)), POINTER(POINTER(c_double)), c_int, c_int, c_int]
    G_math_d_AB.restype = None

# include/grass/defs/gmath.h: 197
if _libs["grass_gmath.8.5"].has("G_math_f_AB", "cdecl"):
    G_math_f_AB = _libs["grass_gmath.8.5"].get("G_math_f_AB", "cdecl")
    G_math_f_AB.argtypes = [POINTER(POINTER(c_float)), POINTER(POINTER(c_float)), POINTER(POINTER(c_float)), c_int, c_int, c_int]
    G_math_f_AB.restype = None

# include/grass/gmath.h: 36
try:
    G_MATH_SOLVER_DIRECT_GAUSS = 'gauss'
except:
    pass

# include/grass/gmath.h: 37
try:
    G_MATH_SOLVER_DIRECT_LU = 'lu'
except:
    pass

# include/grass/gmath.h: 38
try:
    G_MATH_SOLVER_DIRECT_CHOLESKY = 'cholesky'
except:
    pass

# include/grass/gmath.h: 39
try:
    G_MATH_SOLVER_ITERATIVE_JACOBI = 'jacobi'
except:
    pass

# include/grass/gmath.h: 40
try:
    G_MATH_SOLVER_ITERATIVE_SOR = 'sor'
except:
    pass

# include/grass/gmath.h: 41
try:
    G_MATH_SOLVER_ITERATIVE_CG = 'cg'
except:
    pass

# include/grass/gmath.h: 42
try:
    G_MATH_SOLVER_ITERATIVE_PCG = 'pcg'
except:
    pass

# include/grass/gmath.h: 43
try:
    G_MATH_SOLVER_ITERATIVE_BICGSTAB = 'bicgstab'
except:
    pass

# include/grass/gmath.h: 46
try:
    G_MATH_DIAGONAL_PRECONDITION = 1
except:
    pass

# include/grass/gmath.h: 47
try:
    G_MATH_ROWSCALE_ABSSUMNORM_PRECONDITION = 2
except:
    pass

# include/grass/gmath.h: 48
try:
    G_MATH_ROWSCALE_EUKLIDNORM_PRECONDITION = 3
except:
    pass

# include/grass/gmath.h: 49
try:
    G_MATH_ROWSCALE_MAXNORM_PRECONDITION = 4
except:
    pass

# No inserted files

# No prefix-stripping

